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
How can we make sure that Web API returns JSON data only?
What are the validation controls available in ASP.NET?
Explain the components of web form in asp.net
What is the significance of finalize method in .net?
Explain the difference between value type and reference type?
How does the cookies work in asp.net?
Why do we need asp.net?
What is the purpose of url encoding?
Define managed code and managed data in .net?
Why do we use datasource in asp.net?
What is page fragment caching?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
What are the uses of reflection?
What is the procedure to create the environment for asp.net? : asp.net mvc
What is a query string in a url?