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

We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

0 Answers  


Less than one page, how many windows will you be able to maintain?

0 Answers   Atos Origin,


what is difference between User Control,Custom Contro1,Web server control and template controls

1 Answers  


what is .net

15 Answers   Net Solution,


What are merge modules?

0 Answers  


in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview

5 Answers   TCS,


Can I stream live content/events?

0 Answers  


What is a viewstate?

0 Answers  


Where is session cookies stored?

0 Answers  


What is enableviewstate in asp net?

0 Answers  


What is intrinsic objects in asp.net?

0 Answers  


Explain what is the procedure to create the environment for asp.net? : asp.net mvc

0 Answers  


Categories