Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NET
I have gridview..when i insert data in database at same time grid reflected mns data should come in gridview..it reflect bt after refeshing.i want it without refeshing the page...
Posted 17 Oct '12 - 0:26

Comments
Sumit_Kumar_Sinha - 17 Oct '12 - 6:31
Can u explain question clearly....

2 solutions

Hi
 
in your insert button back code, below the "insert code" line why don't you put the method where you load your gridview?
  Permalink  
Call grid bind function after when insert complete.
as like-
 
Insert function()
{
-------
-------
-------
-------
Insert successfully complete
 
Then call your gridbind function
 

}
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 355
1 OriginalGriff 325
2 Arun Vasu 268
3 CPallini 213
4 Tadit Dash 201
0 Sergey Alexandrovich Kryukov 10,005
1 OriginalGriff 7,654
2 CPallini 4,171
3 Rohan Leuva 3,447
4 Maciej Los 2,974


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 17 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid