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

What is sdlc process?

0 Answers  


Explain what is event bubbling?

0 Answers  


I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate report/export data in excel. After hosting the site i am not getting any error or such exported excel file. but using the source code from my system it works fine. Could any one tell me why it is happening and what is its solution.

2 Answers  


Explain the different types of assemblies?

0 Answers  


step to create a strong name?

1 Answers  






What is voluum?

0 Answers  


What is asp.net and ado net?

0 Answers  


When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

4 Answers   Syntax Softtech, TCS,


What is WebService ?

8 Answers   Tanla Solutions, Yahoo,


Explain the different types of directives in .net?

0 Answers  


How do you turn off cookies for one page in your site?

2 Answers   IBS,


Explain how dot net compiled code will become platform independent?

0 Answers  


Categories