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

I'm unable to open a .hlp file using vb.net application.

1 Answers  


hello friends.. when i deployment my project in the client machine that is successful but whenever i try to run my project using .exe file then it gives me error "<filename>.exe is not a valid win32 application." what i do somebody halp me pls

1 Answers  


Explain the difference between thread and process?

0 Answers  


Explain the difference between vb 6 and vb.net?

0 Answers  


what is the advantage of option strict on?

0 Answers  






What is the difference between readonly variable and constant variable?

0 Answers  


What are the parts of the visual basic control?

0 Answers  


Explain the use of option explicit?

0 Answers  


Explain about branching logic control in vb.net?

0 Answers  


What languages does the .net framework support?

0 Answers  


What are the shared variables?

0 Answers  


Name some of the features present in vb 2005?

0 Answers  


Categories