Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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:26am
Comments
Sumit_Kumar_Sinha at 17-Oct-12 6:31am
   
Can u explain question clearly....
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
0 Sergey Alexandrovich Kryukov 696
1 OriginalGriff 478
2 Tadit Dash 400
3 sanket saxena 337
4 Peter Leow 228
0 Sergey Alexandrovich Kryukov 11,890
1 OriginalGriff 7,335
2 Peter Leow 5,003
3 Abhinav S 3,943
4 Maciej Los 3,575


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