hi patricio
if you want a textbox for each record in the dataset then you should use one
of the List controls, such as DataList, GridView or Repeater.
i would use a DataList control based on the info you provided, because you
have more control over the controls rendered for each row. In the
ItemTemplate section of the DataList, insert some aspx code like this:
<asp:TextBox runat="server" Text='<%# Eval("DataBaseFieldName") %>' />
if you're using .Net 1.1, use the DataBinder.Eval(Container.DataItem,
"DataBaseFieldName") function instead of the short form of Eval().
it sounds like you may have manually created all the textboxes on the form.
this probably isn't the best approach if you want a textbox for each row in
the dataset. if this is intentional, please post more information on what
you are doing.
tim
--------------------------
blog:
http://tim.mackey.ie
"Patricio" <pa***********@msn.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Hello all
I have a form that contains several textbox.
I have also a DataSet that contains the Fill function by ID.
How can I assign the DataSet values into my TextBox?
Thanks a lot.