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...

Way of updating a table other than stored procedure and
hard coded query?

Answer Posted / javed khan

The SqlDataAdapter enables us to fill a DataSet and Update changes back to the data base.We don't have to worry about opening and closing the SqlConnection, writing update command because the SqlDataAdapter does it automatically. A SqlCommandBuilder populates insert, update, and delete commands based on the SqlDataAdapter's select statement. Use the Fill method of the SqlDataAdapter to fill a DataSet with data. Call the SqlDataAdapter's Update method to push changes back to a data base.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add DateTime Control in normal DataGrid Server Control?

1108


What is difference between cookies and cache?

1055


What is difference between ispostback and autopostback in asp net?

1058


What is the caspol.exe tool used for?

1023


How do you design a website with multilingual support in ASP.NET ?

999


Where you store Connection string in "Web.Config" file in ASP.NET?

1071


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

1193


Explain the Order of events in an asp.net page?

1029


What is state management in .net?

1081


Which object encapsulates state or data of a user?

1077


Is asp.net mvc still used? : Asp.Net MVC

987


What are the new navigation controls in asp.net 2.0?

1011


Can I have a unique key as foreign key?

967


How is it possible for .NET to support many languages?

734


What is in a session cookie?

981