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 1: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 388
1 Sascha Lefévre 205
2 Abhinav S 170
3 Richard Deeming 155
4 CHill60 150
0 Sergey Alexandrovich Kryukov 7,141
1 OriginalGriff 6,410
2 Maciej Los 2,832
3 Abhinav S 2,732
4 Peter Leow 2,694


Advertise | Privacy | Mobile
Web03 | 2.8.150414.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