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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vb.net a programming language?

534


Explain managed code?

530


What are nested classes?

536


List the types of generations in garbage collector?

525


Explain the difference between value and reference types?

456






What are the shared variables?

552


Explain an assembly and its use?

527


Did vb6 support multi-threading ?

538


Explain how to store decimal data in .net?

711


What is public assembly?

564


What is the class that allows an element to be accessed using unique key?

544


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

529


Can you please explain the difference between c# and vb.net?

539


Explain the use of option explicit?

596


What is the feature anonymous type?

522