ADO.NETFor discussion about ADO.NET. Topics such as question regarding the System.Data namespace are appropriate. Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ADO.NET section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I have made a form based on the defaultview of a dataset. All the controls are binded to that default view The reason for doing this was that I needed to navigate through the records, and I needed an easy way to filter for search purposes. Works perfectly.
The next step is, when I make changes in the fields of the form, that the underlying datasource is updated. But now I found out that you can only use the dataset itself in the update method of the data adapter. But the changes are in de default view (I guess) and not in de dataset. So now I must find a way to bring these modifications from the view to the dataset. How do I do that? Or is there another way?
Helen:
More information is needed. For example, what is meant by default view....GridView, DetailsView, or FormView? The GridView, for example alllows editing by using the Boundfield and Datafield Controls to name a few. What datasource did you use? Are you using ASP.NET 2.0?
__________________
Disclaimer: The above comments are solely the opinion of one person and not to be construed as a directive or an incentive to commit fraudulent acts.