PC Review


Reply
Thread Tools Rate Thread

Databound UserControl

 
 
Lespaul36
Guest
Posts: n/a
 
      9th Mar 2005
I want to make a databound user control, but I was wondering if there are
some classes that I can implement in order to populate the control, or is
the only way do loop through the database?


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      9th Mar 2005
Lespaul,

I assume you ask this for windowforms and not for webforms

The datagrid, the combobox, the listbox, the textbox, the label, the
checkbox, the datetimepicker and some more are all databound (probably I
forget a lot).

The first 3 by a datasource, the others (single value ones) by databinding.
The datasoure is mostly and the easiest a datatable, however there can be
more used (Ilist and Icollection implementing arrays and collections)..

There is real to much to write that in a newsgroup message.Have a look in
the documentation for that or on MSDN.

I hope this helps to get a start?

Cor


 
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
bind controls on a usercontrol to bindingsource from anotherform/usercontrol jogisarge Microsoft C# .NET 0 18th Dec 2008 08:10 AM
UserControl with databound repeater drops values on postback Paul Microsoft ASP .NET 0 1st Sep 2006 05:42 AM
web usercontrol + delegates or specialised usercontrol base class info@record-play.com Microsoft ASP .NET 0 23rd Jun 2006 10:41 AM
DataBound UserControl and CurrencyManager =?Utf-8?B?SmF5IFBvbmR5?= Microsoft Dot NET Framework Forms 0 1st Mar 2005 05:05 AM
DataBound UserControl Always Modifies DataRow Upon Focus POPone Microsoft ADO .NET 4 10th Oct 2004 12:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:09 PM.