Click here to Skip to main content
16,005,162 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i create one GridView Some data is Added,
for example, my Gridview data

StuId name Address
102 ram chennai
103 ramesh coimbatore
104 santhosh thanjavur


in the same form i create one textbox and delete button,

i type the textbox 102 then i click delete button delete successfully, But

gridview does not deleted in 102, i want how to refresh the page please send any tutorials or related links
Thanks,
Posted

Dear Ravi,
Try this one,
JavaScript
Response.Redirect(Request.RawUrl)

Regards,
Bluesathish
 
Share this answer
 
Comments
Ravi chandran from thanjavur 1-Mar-12 3:12am    
thanks
after press remove btn you must call data from database again
and set them to grid view
 
Share this answer
 
if row is deleted from datasource re-bind the grid.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900