custom web controls databinding

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top