PC Review


Reply
Thread Tools Rate Thread

Building My Own DataSource Control

 
 
Alex Stevens
Guest
Posts: n/a
 
      22nd Jan 2004
hi All,

I'm hoping to build my own datasource control, and hoped that someone would
point me in the right direction to start.

I have already created a class, which accepts a form, a tablename, a
connection and a collection of field object (which contain information about
which field binds to which form control).

I build all this in code, and then the class gets a dataset, binds the
controls to it, and allows modifiaction and updates etc. then saves them
back to the database.

However, I'd like to build a control, which would automate all of this, by
getting the fields at design time, and allowing the user to bind the fields
and then the user could simply change the connection string at run-time to
point to the correct database when deployed.

I am trying to kind of replicate the method by which you build bound forms
in access.

Any pointers to articles, or advice is greatly appreciated.

Thanks

Alex


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dataset or datasource control? Jason James Microsoft ASP .NET 3 1st May 2006 08:31 PM
Dataset or datasource control? Jason James Microsoft ADO .NET 0 1st May 2006 02:24 PM
Building the datasource for DropDownList Corobori Microsoft ASP .NET 3 20th Feb 2005 02:32 PM
Building My Own DataSource Control Alex Stevens Microsoft Dot NET Framework Forms 0 22nd Jan 2004 11:23 AM
Custom DataSource control for DataGrid Web Control Matt Osborne Microsoft C# .NET 0 29th Jul 2003 01:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:49 AM.