hi
you can attach textbox to current row in given table in dataset with similar
code
txtMyTextBox.DataBindings.Add(new Binding("Text",
dataSet,"TableName.FieldName"));
OR
txtMyTextBox.DataBindings.Add(new Binding("Text",
dataSet.TableName,"FieldName"));
note dataSet is instance of dataset
hope this helps
--
Galin Iliev [MCSD, MCPD]
Senior Software Developer
www.galcho.com
"Alan T" <al*************@yahoo.com.auwrote in message
news:e2****************@TK2MSFTNGP05.phx.gbl...
>I will create a dataset programmatically, how do I attach it to the
controls like text box?