PC Review


Reply
Thread Tools Rate Thread

custom web controls databinding

 
 
Guest
Posts: n/a
 
      4th Jan 2005
Hi,

I posted a message a while ago about programatically
databinding and got a response that did not make sense to
me. Here's a brief description of what I want to do.

If I create a regular aspx page I can use the designer to
create a DataAdapter and generate a typed dataset. I can
then put a datalist on my page, set its datasourse
property to my dataset and put a Textbox inside the
datalist. Under the properties of the TextBox control I
can edit the DataBindings property to assign a value from
my dataset to the Text property of my TextBox.

I'm trying to make a web custom control and create the
situation above programatically. I'm having problems
databinding to the textbox inside my datalist
programatically. Any help would be appreciated

thanks

John
 
Reply With Quote
 
 
 
 
Jeff Louie
Guest
Posts: n/a
 
      4th Jan 2005
John... It has been a long time since I thought about this, but
somewhere
buried in this code may be an insight.

http://www.geocities.com/jeff_louie/...ingclasses.htm

Regards,
Jeff
>I'm trying to make a web custom control and create the

situation above programatically. I'm having problems
databinding to the textbox inside my datalist
programatically. Any help would be appreciated

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
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
Poor Design Time Support for DataBinding in Custom Controls Mark Olbert Microsoft ASP .NET 1 17th Feb 2007 05:50 PM
Databinding to custom properties of a custom class in ASP.NET 2 =?Utf-8?B?SW1hciBTcGFhbmphYXJz?= Microsoft ASP .NET 0 20th Apr 2005 08:34 PM
DataBinding Controls =?Utf-8?B?QmFsdQ==?= Microsoft Dot NET Compact Framework 0 13th Aug 2004 12:17 AM
Tab Controls and Databinding John Prejean Microsoft VB .NET 0 31st May 2004 06:58 PM
DataBinding of Controls in C# Jyoti Mahna Microsoft Dot NET Compact Framework 0 24th Dec 2003 09:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 AM.