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

How you can access the values from the Repeater control in ASP.NET?

0 Answers  


What is Http handler?

5 Answers   Accenture,


Explain the life cycle of an ASP .NET page

2 Answers   HCL, Surya Software,


What are the benefits of view state?

0 Answers  


Why do we need a web application session?

0 Answers  


Finally and dispose methods?

1 Answers   Microsoft,


What are validator? Name the validation controls in asp.net? How do you disable them?

0 Answers  


how can u display multi language (i.e english,spanish...) web site?

2 Answers  


What is the difference between dispose() and finalize()?

0 Answers  


What is the difference between pathparam and queryparam?

0 Answers  


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


what to magage the state manament in asp.net with respect to in_prock and out_prock

1 Answers   Aviva,


Categories