Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSet as DataSource for the GridView
Message
From
16/09/2008 10:54:12
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01347730
Message ID:
01347926
Views:
7
>>Hi,
>>
>>Isn't refreshing the GridView simply a matter of calling its .DataBind() method? Can you use the FormView events ( .ItemUpdated etc.) to only trigger the .DataBind() when neccessary?
>>
>>Regards,
>>Viv
>
>I don't think it's that simple. DataSet for the GridView has no idea that changes were made in the database. See this discussion
>http://forums.asp.net/p/1320369/2624488.aspx#2624488

I see that the poster there, like you, says that the Dataset used as the datasource for the gridview is stored as a session variable. If that is the case can't you just use the same session reference as the datasource for the FormView ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform