Click here to Skip to main content
11,721,053 members (81,106 online)
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 500
1 OriginalGriff 334
2 Mika Wendelius 160
3 F-ES Sitecore 140
4 Maciej Los 80
0 Sergey Alexandrovich Kryukov 2,199
1 OriginalGriff 959
2 F-ES Sitecore 640
3 Maciej Los 609
4 Richard MacCutchan 540


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100