|
-
Jul 28th, 2005, 05:14 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Prevent Page from Refreshing
Hi,
i have a datatable which i populate with table data in the pageload event
i only want this to populate once, so i have it inside an IF Not IsPostBack
but if i click on a button on the form it refreshes the page and the data is lost.
how can i prevent this from happening.
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|