13,936 Topics

Member Avatar for
Member Avatar for erum

ca any one correct my insert query in database [code] Dim hotel_book As String = "insert into hotelbooking (Userid, hotel_requirement_Types, singleroom, single_no_room,doubleroom,double_no_room) " & _"VALUES (" & userid & ", '" & ckchecked.Text & "' , & singlecheck & , & no_single_room & , & doublecheck & , &no_double_room & …

Member Avatar for kvprajapati
0
94
Member Avatar for MARKAND911
0
70
Member Avatar for gillivt

I have a form (testform.html)as follows: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>test</title> </head> <body> <form id="form1" method="post" action="datareturn.aspx" > <input type="text" id="FoxyData" name="FoxyData" /> <input id="Submit" type="submit" value="submit" name="submit" /> </form> </body> </html> [/CODE] When I enter data into the form field and …

Member Avatar for gillivt
0
265
Member Avatar for SurveyTool

I'm making a survey tool. Each respondent will be asked to answer questions on (for example) cakes. The number and types of cake will be different for each respondent. The format of the survey will be saved in a file called [I]survey.xml[/I]. So the survey may be like the following: …

Member Avatar for SurveyTool
0
156
Member Avatar for dmatos

Hello All I'm working with a gridview control, and i chose to code it my self instead of using the wizard microsoft provides. So i have two questions: 1- Can i use stored procedures to work with parameters so i can send some additional data to the database? 2- Can …

0
46
Member Avatar for CroCrew

Hello all, Thanks for looking at my post and thank to anyone that provides me with the help I am looking for. This is what I am trying to do. From the parent page have a few links that would do a postback and based on the link chosen a …

Member Avatar for shine_jose
0
126
Member Avatar for AMetnik

[CODE] private void displayWith1Criteria(string column, string value) { Console.WriteLine("entering _1_ display method"); dbcontent = new DBtestEntities(); var studienummerQuery = from members in dbcontent.Medlemmer.Include("Retninger") where column == value orderby members.Fornavn select new { Studienr = members.Studienummer, Fornavn = members.Fornavn, Efternavn = members.Efternavn, Email = members.Email, Studiested = members.Studiested, Betaling = members.BetalingsType, …

Member Avatar for AMetnik
0
246
Member Avatar for shiyamalapandi

hi this is shiyamala .i have full project in asp.net.i bought this project by another .how shall i run this.please give the steps

Member Avatar for kvprajapati
0
34
Member Avatar for Trinominal

Hi, For .NET developers who uses unit tests to test their code, are you suffering from regression (i.e., unit tests which fails on a regular basis)? If so, how do you face these issues? Regular debug sessions to find the problem each time a test is being failed? Some other, …

0
98
Member Avatar for AMetnik

[CODE] var studienummerQuery = from members in dbcontent.Medlemmer.Include("Retninger") orderby members.Fornavn select members; foreach(var a in studienummerQuery) { Console.WriteLine(a); } [/CODE] Thats my code, wonder why it doesnt work.. My tables are: Medlemmer Retninger

Member Avatar for AMetnik
0
136
Member Avatar for mca.narender

Hi, I am developing a window application that uses webservice for database transcation. On other system its work file and debug successfully, i am able to step in webservice function. One thing that i want tell you this web service i deploy on visual studio's local webserver for testing. Only …

0
63
Member Avatar for mr.devel

hi for all i have two stored procedure to retrive data from data base one before one week and the other before two week [CODE]ALTER PROCEDURE beforeweek AS select * from files where [date] < dateadd(wk,-1,getdate()) [/CODE] and the other [CODE]ALTER PROCEDURE beforeweek AS select * from files where [date] …

0
68
Member Avatar for wade2462

I want to be able to have a Textblock set to a certain width and height so it can contain two lines of 36pt font. I have accomplished this with word wrap, but it can still overflow. Is there anyway to make the font size shrink when there is an …

0
109
Member Avatar for remya1000

i'm using VB \ ASP.NET. i'm trying to display some values in Gridview. but i don't know how many columns i need to display. at run time only i will come to know how many columns i need to display. it depends up on the values from Database. so i'm …

0
71
Member Avatar for SBA-CDeCinko

I have a ScriptManager tag in my master template. This causes no issue for visitors who have Javascript disabled. As soon as I add EnableHistory="true" to support the saving of history points, Javascript disabled visitors get an error. How can I support both types of users?

0
61
Member Avatar for erum

i have textbox in repeater and i want to validate it to accept numbers only i have code like this [CODE]<asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr> <th>id</th> <th align=left>Room Categories</th> <th>single</th> <th>Double</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td width="5%"> <asp:Label ID="Label3" runat="server" Text= '<%# Container.DataItem("packageid")%>' /></td> <td> <asp:CheckBox ID="chk_packages" …

Member Avatar for croker10
0
180
Member Avatar for kanuri1

hi frnds,,,, here i want to access the data base and showing in the grid view without help of datasourse it will shows the error, the error is "The IListSource does not contain any data sources"" here my coding is as follows..... Protected Sub Page_Load(ByVal sender As Object, ByVal e …

Member Avatar for jbisono
0
88
Member Avatar for kanuri1

how to clear a textbox when enter incorrect than correctdata in integer format then at a time to disply validation in asp.net by using vb.net

Member Avatar for crishjeny
0
59
Member Avatar for bharanidharanit

Hello sir, I am using 2 dropdownlist on my page. Those 2 are bounded to AccessDataSource. Initially dropdownlist2 is hidden. Wen i select some values on dropdownlist1, the other must be visible. Thankyou

Member Avatar for crishjeny
0
74
Member Avatar for mIssy_ricco

Hi all. i've been wanting to create a validation that user has to key in for e.g: 10/2009. i want it to have the number and the '/' char. i tried "^\d+$" which is only for numbers. ".*[/].*" which is only for '/' "^[0-9a-zA-Z]+$" which doesnt seem to work. can …

Member Avatar for crishjeny
0
101
Member Avatar for kanuri1

hi frnds i had got a problem, i want to increase the serial number automatically when page is loaded and it will be inserted into the database at every time when the page is loaded ....... here my coding in page load event is given below,,,,, [code] Protected Sub Page_Load(ByVal …

Member Avatar for crishjeny
0
296
Member Avatar for unknowndevil41

Hi friends i want to create an login window. It should be loaded when an login button is clicked. What i want to do is when my login window open background of the website should get blured. In other ways i want to create a window same as daniweb.com when …

Member Avatar for crishjeny
0
74
Member Avatar for kanuri1

hi frnds, i had got a problem,,,,,,, when iam retriving the data from database uising an condition it will shows the data appropriately... if the conditional value not in the database it will doesnot show any error....... here iam acessing the data from database using serial number condition,,,,, if the …

Member Avatar for crishjeny
0
103
Member Avatar for kanuri1

hi how i can give session expairy time (about 5 min) in vb.net in pageload event,, pls give me code,,,

Member Avatar for crishjeny
0
103
Member Avatar for Naters_uk

I am using aspx.vb to create a login page. I would like to create a remember me cookie using a checkbox that will help to remember user ID but will also allow it to be destroy if a different user ID wants to log in with the same computer, but …

Member Avatar for crishjeny
0
959
Member Avatar for mshravs

i have a problem in showing the data in the other page which is saved from one page and should be shown in the other page after immediately saving it. can anyone tell how do it through form collection here is the code [CODE] Protected Sub Page_Load(ByVal sender As Object, …

Member Avatar for crishjeny
0
86
Member Avatar for kdcorp87

[CODE] OleDbDataAdapter o = new OleDbDataAdapter("select * from tblExam1", conn); DataSet ds = new DataSet(); o.Fill(ds, "tblExam1"); DataRow r = ds.Tables["tblExam1"].NewRow(); r["exam1ID"]=324; r["patID"] = patid; r["ypsos"] = 32; ds.Tables["tblExam1"].Rows.Add(r); ds.AcceptChanges(); [/CODE] no error message. execute code normally, but row did not inserted in db what i m missing? its access …

Member Avatar for crishjeny
0
120
Member Avatar for Pari13

Dear All, Have good day, I am trying to attatch file like yahoomail attatchement ,it means displaying name of file and Remove link after Button_click event fire. [CODE] protected void Page_Load(object sender, EventArgs e) { LinkButton1.Visible = false; label2.Visible = false; } [/CODE] [CODE] if (FileUpload1.HasFile) try { FileUpload1.SaveAs("e:\\parimal\\" + …

Member Avatar for crishjeny
0
473
Member Avatar for boonfoo

Actually i am trying to find the author of the article in this link. [url]http://authors.aspalliance.com/articles/dynamicbuttons.aspx[/url] But i failed as the provided email address is invalid. So i hope here can find the solution for it. Here it goes from the article exempted source code show on below -------------------------------- [code] Sub …

Member Avatar for crishjeny
0
239
Member Avatar for vvashishta

Hi all.. I need to make my dropdownlist disabled (none can change value or it should be read only)..which property should I use as readonly for dropdownlist is not working for me.. PHMO..

Member Avatar for crishjeny
0
2K
Member Avatar for kanuri1

hi iam giving a value in text box as " 2010 - 1 " insted of 2010-1 it shows error, please give me the code to avoid blank spaces within a string as given above, iam using asp.net with vb.net please help me.......

Member Avatar for crishjeny
0
294
Member Avatar for priyanka_2687

hi all.........:) actually im new to .net.. can we have routing in asp.net 3.5???? if yes, how?

Member Avatar for crishjeny
0
325
Member Avatar for kanuri1

hi i wants to create an dll file for removing blankspaces in a given string.......... here iam writing the code but it was not working..... please give me the correct code.... here iam using asp.net with vb.net [CODE]Namespace fillblank Public Class Class1 Private Sub blankspces() Dim a Dim done a …

Member Avatar for crishjeny
-1
263
Member Avatar for Sarama2030

hi guys!! been thinking about learning some server-side scripting in ASP. is there any use in investing in asp when with the emergence of asp.net? to paraphrase it what is the future of asp at microsoft, will it be there a little bit longer or is a dying horse!! one …

Member Avatar for Sarama2030
0
181
Member Avatar for heartking2004

i'm new to asp.net but i already finsih one real time project in vb.net with mdi form. But in asp.net , i dono how to use with mdichild form. In asp.net, i want to create one object for mdichild form and i want to use this object anywhere in my …

0
47
Member Avatar for JMC31337

its just a prank.. but shows the recatngle arrays and falling pixels in a 25 x 25 region snapshot of yur current screen after 10seconds... then creates a form and further cascades the pixels.. any key press will end it.. but its autostart will wait another 10 seconds and cascade …

Member Avatar for JMC31337
0
121
Member Avatar for stowaway

Im *trying* to design a webpage for my work (a haulage company). I want our drivers to be able to plot out their trip (same way you can do on Google maps) and then for people to be able to log in and say they are in a certain post …

0
44
Member Avatar for kieky

hi all.. i need your help.. do u know how to display image according to extension of file with C#? ex : .doc -> image microsoft word, .pdf -> Image PDF, etc thanks before...

0
65
Member Avatar for Dajer

Hi friends. I have a GridView which has linkbutton column.I Want to change the Text of this linkbutton when user click on it.But when I change the text of clicked linkbutton cell,It will be convert to the label!!!!!!!!! What's wrong?what should I do? THX.

Member Avatar for Dajer
0
91
Member Avatar for opspl_programme

Hi Everyone ! I have 2 DropDownList controls inside an UpdatePanel. The first is a dropdown for [B]Country[/B] while the second is for [B]State[/B]. I have set the properties of Country as AutoPostBack="True", OnSelectedIndexChanged ="PopulateState". Selecting a different Country fires the [I][U]PopulateState[/U][/I] function causing the the State to populate itself …

Member Avatar for Freon22
0
2K
Member Avatar for readbanana

I am trying to upload images to the ftp. I need to have it in a compressed folder called by a specific name and then upload that folder to a specific directory. Each time I try, I get an error The remote server returned an error: (550) File unavailable This …

0
76
Member Avatar for shanmugaraj.ind

What is the connection string to write for importing mixed data from excel sheet to data grid My problem is, I have rows like 1 2 3 4 5 6 7 8 9 a b c d in excel sheet.But when I imported these rows only 1-9 imported succesfully but …

0
88
Member Avatar for selicon.valley

i m developing website in asp.net n page name is 1.aspx i want to show records in table form but my requirement is that it should be hyperlink username when ever visitor clicks on that.next page will come n the username passed to another page <td><%#Container.DataItem("[COLOR="DarkRed"]user_name[/COLOR]")%> </td>

Member Avatar for peachy0685
0
138
Member Avatar for AngelicOne

I have a pair of questions.. I am quite new to this gridview in asp.net using C#.. I have used the following code to bind the sql database table from my gridview. [CODE]SqlDataAdapter da = new SqlDataAdapter("select customerid, customername from table",con); ds.Clear(); da.Fill(ds); gridview.datasource=ds; gridview.databind();[/CODE] And set the autogenerate columns …

Member Avatar for crishjeny
0
2K
Member Avatar for simi pillai

Server Error in '/PrecompiledWeb4' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_caknetlg'. Make sure that it is …

Member Avatar for crishjeny
-1
326
Member Avatar for MichaelWClark

Hello I am building a web page and decided that this time around I would make many user web controls as to have a very modular and customizable site with ease.. Anyways it was going off without a hitch until today I designed a new control. Its a panel with …

Member Avatar for crishjeny
0
85
Member Avatar for ChPravin

Hello All, I have a Collapsible Panel Extender inside a datalist.I have a hyperlink inside the panel within the datalist. I want to have a modal popup on clicking the hyperlink inside the panel and I want the modal pop up to be populated with the data from the navigate …

Member Avatar for crishjeny
0
637
Member Avatar for himanjim

I'm really having hard time importing ASPNETDB.mdf to remote server running sqlserver 2005.. I'm using sql server express edition (along with visual web developer 2008) I use the same string [code=asp.net]<add name="aspnetusers" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/code] No connection can be established.... Then I changed that to [code=asp.net] <add …

Member Avatar for crishjeny
0
428
Member Avatar for Jesi523

I need some help. I have a website where people can create a class or event with times and places for the class or event. Once this instance is created they are supplied a link for people to sign up and a passcode for them to use to modify the …

Member Avatar for crishjeny
0
128
Member Avatar for Wehttam

Hello all, Just wanted to pop in and introduce myself! I'm slowly getting back into ASP.NET coding (after almost 6 years), along with MSSQL, and hopefully moving on to using C# and others. I'm looking forward to learning from you all, and hopefully, sometime in the future, helping others!

Member Avatar for AndreRet
0
26

The End.