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

What are the types of generations in garbage collector?

748


What is break mode? What are the options to step through code?

784


Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate

2418


Explain an assembly and its use?

721


What is the use of console application?

799


i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate

2139


What is the role of new keyword?

823


What is the difference between static or dynamic assemblies?

786


What would you do to remove microsoft visual basic name space?

720


What is a literal control?

766


Which is the base class for all the classes in .net framework?

796


what is intermediate language?

799


Name some of the features of C# which are not present in VB.NET?

789


what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.

811


What are the parts of the visual basic control?

735