From: Fritjolf on 8 Mar 2010 02:19 Hi. I want to start developing .net 3.5 applications using WinForms. I'm quite new to VS and C#, but not to programming... The questions are: 1. How do I access the data? What are the best practices? Do I use a Dataset, do I use Linq to sql to read the data and then stuff the data into objects? or is it done another way? 2. How do I bind the fields on the forms to persistent database fields from the source? And if you databind the fields to persistent database fields, can you detect changes in the fields the same millisecond it's done så you can enable/disable ie. a save button... ? In other words, can you monitor the dataset state? I would REALLY appreciate an extensive reply and most certainly links to tutorials or other documentation. I've been googling for days. I can't find a "best practices" tutorial. I can't find much at all when it comes to reading data and winforms. Only short tutorials reading a value or two in the simplest way. I want to know how to build a professional robust way of reading and presenting data in a WinForms application. Replies will be greatly appreciated!!! Thanx in advance, Fritjolf
From: PvdG42 on 13 Mar 2010 10:30 "Fritjolf" <Morten.Jacobsen(a)edb.com> wrote in message news:41c5197a-7440-40ab-8a80-abd53fad5326(a)g19g2000yqe.googlegroups.com... > Hi. > > I want to start developing .net 3.5 applications using WinForms. > I'm quite new to VS and C#, but not to programming... > > The questions are: > 1. > How do I access the data? What are the best practices? Do I use a > Dataset, do I use Linq to sql to read the data and then stuff the data > into objects? or is it done another way? > > 2. > How do I bind the fields on the forms to persistent database fields > from the source? And if you databind the fields to persistent database > fields, can you detect changes in the fields the same millisecond it's > done s� you can enable/disable ie. a save button... ? In other words, > can you monitor the dataset state? > > I would REALLY appreciate an extensive reply and most certainly links > to tutorials or other documentation. I've been googling for days. I > can't find a "best practices" tutorial. I can't find much at all when > it comes to reading data and winforms. Only short tutorials reading a > value or two in the simplest way. > > I want to know how to build a professional robust way of reading and > presenting data in a WinForms application. > > Replies will be greatly appreciated!!! > > Thanx in advance, > > Fritjolf Have you tried searching MSDN for something like "data access best practices"?? I just did and came up with numerous interesting-looking articles like: http://msdn.microsoft.com/en-us/library/ms971481.aspx Just one of many examples.
|
Pages: 1 Prev: How do you add/remove Windows 7 components? Next: Syntax error when running SQL Insert query |