How i can update GridView in web page when i edit or delete or insert a record in database?
-
Hi all, I have a gridview that when i select a row of gridview a detailview comes that i can edit or delete or insert a record in database. but this changes not be shown in my gridview that time. i should again run my program that these changes be shown in my gridview. How i can update GridView in web page when i edit or delete or insert a record in database with detailview without re run? Thank you,
Hoda
-
Hi all, I have a gridview that when i select a row of gridview a detailview comes that i can edit or delete or insert a record in database. but this changes not be shown in my gridview that time. i should again run my program that these changes be shown in my gridview. How i can update GridView in web page when i edit or delete or insert a record in database with detailview without re run? Thank you,
Hoda
You should bind your data grid to it's data source in prerender, not in page load. Then, it will occur after any event handlers, and you should see the results.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )