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

Answers were Sorted based on User's Feedback



hey friends, Firstly I pick the records from the database into the DataGridView, Then I want..

Answer / muzi

If you know sql, use UPDATE query..:-)

if dont

then

UPDATE [TableName] SET Field1 = @param1, Field2 = @param2,
Field3 = @param3 WHERE [ID] = @paramID

Is This Answer Correct ?    2 Yes 2 No

hey friends, Firstly I pick the records from the database into the DataGridView, Then I want..

Answer / veena

yes. we can update the data if we write a update command in program

Is This Answer Correct ?    0 Yes 0 No

hey friends, Firstly I pick the records from the database into the DataGridView, Then I want..

Answer / saravanan

it is very simple..write insert delete update querey in
datagrid events

Is This Answer Correct ?    0 Yes 1 No

hey friends, Firstly I pick the records from the database into the DataGridView, Then I want..

Answer / 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

More VB.NET Interview Questions

What are the differences between c# and visual basic.net?

0 Answers  


What is the DIfference between Friend and Protected Friend?

6 Answers   CTS, Sykes Enterprises, TCS,


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

0 Answers  


give me code for selecting itemcode and correspondin vendor details wll displays in the gridview?

1 Answers  


i had attended to infosys interview on 17th april 2010...on .net..3+ experience .. to my knowledge i did well in technical and they asked me to wait for next process ..so i waited for 15 min ..later one person came and said give 7-10 days time for intimation of next process do they keep technical and hr on different day ...or i loose the interview ..am confused yaar what accuatly would be happend

2 Answers  






What is branching logic control in VB.NET?

0 Answers  


What is the use of assembly?

0 Answers  


What is the Difference between Web User Control and Web Custom Control?

6 Answers   Benchmark,


What is the main use of a namespace?

0 Answers  


When do you use virutal keyword?

0 Answers  


Explain about garbage collection?

0 Answers  


Can you please explain the difference between authentication and authorization?

0 Answers  


Categories