Code for updating the database by entering the data into
textboxes in
aspx form?
Answer Posted / 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 View All Answers
What is validation in asp.net?
What does aspcompat="true" mean?
What is event in asp.net?
What are the different properties of server control that exists?
What is caching? Explain.
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
How to use a Master Database in Asp.net?
Can you use c# without .net?
What is the base class from which web forms are inherited?
What are the server control tags in asp.net.?
How can we provide the WebParts control functionality to a server control?
Fetch one page value to another page without using state-managment ?
Explain diff between dataset and datareader?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
What is the difference between the asp and asp.net?