hey friends,
Firstly I pick the records from the database into the
DataGridView, Then I want that If I made any changes to the
records in the GridView & Click on Update Button, Changes
are Reflected into the main Database .Plz do reply back

Answer Posted / guest

If you are working with Sql Server database then provider
specific class named sqlcommandbuilder is available with
your sql server provider.This command will call the update
method of datadapter object ,which will update the contents
of your dataset and the same will be displayed in your
datagrid ,which inturn will reflect the changes in database.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain managed code?

709


How to achieve Polymorphism in VB.Net?

808


Explain convert.tostring and i.tostring method?

706


What is internal keyword in .net framework?

814


What is the difference between compiler and interpreter?

759


Explain the services provided by common language infrastructure.

930


Explain how to send xml file on server using http protocol?

687


What is portable executable?

801


what is common language specification?

720


How many languages are supported by .net?

730


What is the Advantage of vb.net over vb

764


How does vb.net achieve polymorphism?

720


How a base class method is hidden?

813


What is early binding?

697


Did vb6 support multi-threading ?

737