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

Explain internal keyword in .net framework?

642


how to get dynamic control array position or its index position?

2125


Explain the difference between c# and vb.net?

636


What are the different types of applications supported in .net (or) .net framework?

589


What is the difference between readonly variable and constant variable?

641






How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?

682


Why should you use delegate?

540


What is difference between import system.data.sqlclient,system.data.oledb?

633


What is the exact defination of object?

668


Explain the difference between web.config and machine.config and where it will be ?

577


What do you mean by serialization and deserialization and it's use.

693


What is redim keyword?

656


Explain private assembly?

597


What is the top .net class that everything is derived from?

700


What is the main use of a namespace?

616