Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is validation in asp.net?

1141


What does aspcompat="true" mean?

1074


What is event in asp.net?

1064


What are the different properties of server control that exists?

1215


What is caching? Explain.

1049


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?

1930


How to use a Master Database in Asp.net?

1115


Can you use c# without .net?

1022


What is the base class from which web forms are inherited?

1058


What are the server control tags in asp.net.?

1103


How can we provide the WebParts control functionality to a server control?

1054


Fetch one page value to another page without using state-managment ?

949


Explain diff between dataset and datareader?

1035


1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????

21294


What is the difference between the asp and asp.net?

1038