Code for updating the database by entering the data into
textboxes in
aspx form?

Answers were Sorted based on User's Feedback



Code for updating the database by entering the data into textboxes in aspx form? ..

Answer / tejkrishna

textbox_textchange event
{
da.update();
}

Is This Answer Correct ?    12 Yes 9 No

Code for updating the database by entering the data into textboxes in aspx form? ..

Answer / manish acharya

Connection con = GetConnection();
String query = update <table> set <column> = 'txtUpdate1.Text';
int i=con.updatequery(query);
if(i!=0)
{
Response.Write("Updation Successful");
}
con.close();

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

If I update session state, should I lock it, too? Are concurrent accesses by multiple requests executing on multiple threads a concern with session state?

1 Answers  


2. Why did you choose this career?

2 Answers   Schwartz Oil, Swatz Oils,


what is diffgram ?

3 Answers  


Explain about Application and Session Events ?

0 Answers  


How will you do Redo and Undo in a TextControl?

0 Answers  






Explain the difference between debug.write and trace.write?

0 Answers  


What is localhost in asp.net?

0 Answers  


Explain what the contents of cookie?

0 Answers  


What is the maximum number of classes that can be contained in one dll file?

0 Answers  


Project Architecture (3tier, n-tier)

1 Answers   Syntel,


What does mean by a neutral culture?

0 Answers   MindCracker,


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

0 Answers   Siebel,


Categories