whenever i delete, insert or update my datasource, gridview does not refresh. However, when i manually refresh my page, then it does. How to make it such a way that it refreshes by it's own whenever I insert,delete or update anything from my datasource.
P.s: DataBind() method is not working
Shantanu88d
0
Light Poster
Recommended Answers
Jump to Postmaske sure you are updating the datasource of the gridview before you databind.
gridview1.databind = myds
Jump to Postwhen you update your dataSource then before binding your datagrid to it make sure
its datasource is null and also delete already placed columns and rows from datagrid
All 9 Replies
ninjaimp
8
Junior Poster
abelLazm
183
Postaholic
pinkygirl
-3
Junior Poster in Training
Shantanu88d
0
Light Poster
pinkygirl
-3
Junior Poster in Training
amol.manwatkar
0
Newbie Poster
kanuriyesu
0
Newbie Poster
kimems
0
Newbie Poster
naimerkallis
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.