hi abhishek IE script debugging is disabled is my problem can u please tell me how to get rid of this problem.
sumanmks
Posts
-
how can u insert values in the database -
how can u insert values in the databasehi sir, Can i know y there will be a pop up message when i run the project saying that Visual Studio just in-time debugger
-
how can u insert values in the databasehello sir, there is no syntax errors
-
not able to insert the valueshi sir, there r no syntax errors
-
how can u insert values in the databasehi i am very new to asp.net. It may be the simplest problem to u. but for me it is a bit difficult. I have written a code for inserting the values in the SQLEXPRESS in C#.but not able to insert it. Can Any one help me out. the code is as follows: protected void Button1_Click1(object sender, EventArgs e) { SqlConnection myConnection = new SqlConnection(); myConnection.ConnectionString = @"Data Source=localhost\SQLEXPRESS;" + "Initial Catalog=testdata;Integrated Security=SSPI"; try { myConnection.Open(); Label1.Text = "<b>Server Version:</b> " + myConnection.ServerVersion; Label1.Text += "<br /><b>Connection Is:</b> " + myConnection.State.ToString(); string insertSQL; insertSQL = "INSERT INTO jobseekerinfo ("; insertSQL += "firstname, middlename, lastname, "; insertSQL += "dob, address, city, state, zip, mobile, phone, engcollege, "; insertSQL += "enguniversity, engaggergate, pucollege, puuniversity, pumarks,"; insertSQL += "school, scuniversity, scmarks, totalyears, totalmonths,"; insertSQL += "workplace, job, skills"; insertSQL += "VALUES ('"; insertSQL += TextBox1.Text + "', '"; insertSQL += TextBox2.Text + "', '"; insertSQL += TextBox3.Text + "', '"; insertSQL += TextBox29.Text + "', '"; insertSQL += TextBox5.Text + "', '"; insertSQL += TextBox11.Text + "', '"; insertSQL += TextBox12.Text + "', '"; insertSQL += TextBox14.Text + "', '"; insertSQL += TextBox6.Text + "', '"; insertSQL += TextBox15.Text + "', '"; insertSQL += TextBox4.Text + "', '"; insertSQL += TextBox8.Text + "', '"; insertSQL += TextBox9.Text + "', '"; insertSQL += TextBox10.Text + "', '"; insertSQL += TextBox30.Text + "', '"; insertSQL += TextBox31.Text + "', '"; insertSQL += TextBox32.Text + "', '"; insertSQL += TextBox33.Text + "', '"; insertSQL += TextBox34.Text + "', '"; insertSQL += TextBox35.Text + "', '"; insertSQL += TextBox36.Text + "', '"; insertSQL += TextBox18.Text + "', '"; insertSQL += TextBox19.Text + "', '"; insertSQL += TextBox20.Text + "', '"; insertSQL += "')"; SqlCommand cmd = new SqlCommand(insertSQL, myConnection); int added = 0; added = cmd.ExecuteNonQuery(); Label1.Text = added.ToString() + " records inserted."; } finally { myConnection.Close(); Label1.Text += "<br /><b>Connection Is:</b> " + myConnection.State.ToString(); } } Thanks in advance
-
not able to insert the valueshi i am very new to asp.net. It may be the simplest problem to u. but for me it is a bit difficult. I have written a code for inserting the values in the SQLEXPRESS in C#.but not able to insert it. Can Any one help me out. the code is as follows: protected void Button1_Click1(object sender, EventArgs e) { SqlConnection myConnection = new SqlConnection(); myConnection.ConnectionString = @"Data Source=localhost\SQLEXPRESS;" + "Initial Catalog=testdata;Integrated Security=SSPI"; try { myConnection.Open(); Label1.Text = "<b>Server Version:</b> " + myConnection.ServerVersion; Label1.Text += "<br /><b>Connection Is:</b> " + myConnection.State.ToString(); string insertSQL; insertSQL = "INSERT INTO jobseekerinfo ("; insertSQL += "firstname, middlename, lastname, "; insertSQL += "dob, address, city, state, zip, mobile, phone, engcollege, "; insertSQL += "enguniversity, engaggergate, pucollege, puuniversity, pumarks,"; insertSQL += "school, scuniversity, scmarks, totalyears, totalmonths,"; insertSQL += "workplace, job, skills"; insertSQL += "VALUES ('"; insertSQL += TextBox1.Text + "', '"; insertSQL += TextBox2.Text + "', '"; insertSQL += TextBox3.Text + "', '"; insertSQL += TextBox29.Text + "', '"; insertSQL += TextBox5.Text + "', '"; insertSQL += TextBox11.Text + "', '"; insertSQL += TextBox12.Text + "', '"; insertSQL += TextBox14.Text + "', '"; insertSQL += TextBox6.Text + "', '"; insertSQL += TextBox15.Text + "', '"; insertSQL += TextBox4.Text + "', '"; insertSQL += TextBox8.Text + "', '"; insertSQL += TextBox9.Text + "', '"; insertSQL += TextBox10.Text + "', '"; insertSQL += TextBox30.Text + "', '"; insertSQL += TextBox31.Text + "', '"; insertSQL += TextBox32.Text + "', '"; insertSQL += TextBox33.Text + "', '"; insertSQL += TextBox34.Text + "', '"; insertSQL += TextBox35.Text + "', '"; insertSQL += TextBox36.Text + "', '"; insertSQL += TextBox18.Text
-
[Message Deleted]there r no errors and i am able to insert the values for the textbox web control. But not able to do the same for dropdownlist.
-
[Message Deleted]sorry for not begin clear enough.Well i am working on a asp.net platform using visual studio 2008 and i need to store a value which is selected in the dropdownlist web control into a database (MYSQLEXPRESS).i am able to do with text box web control
-
[Message Deleted][Message Deleted]
-
job portal codeshi arun, I am not able to download the starter kits which u hav told there is error flashing as shown "The page you are looking for is unavailable. If you came here from some search engine or external web site then please go to the home page and use navigation menus to locate the page. You can also use site search." i even followed the steps given above but i am getting the same error.please can u help me out. Thanks in advance suman
-
job portalhi arun, Thanks for ur answer can i know where can i learn more abt login controls. i mean which book to refer.pls reply. Thanks in advance. suman
-
job portalthanks shasidhar for the links.
-
job portal codeshi everyone, Can i know from where do i get code for job portals and books will be a good option so pls help me out. I am very new to asp.net like to learn it on my own. pls any one reply
-
job portalcan i know the links r books where i can know more abt the topic
-
job portalhi, I am new to asp.net. I like to how we should write code to check the uniqueness of the user during registration time. please help me out in coding it. Thanks in advance With regards Suman