protected void DataBind() { // put all your databinding code here, it only needs to be executed one time textBoxVersion.DataBindings.Add("Text", soinf.somastds.soversion, "version"); }Once your DataSet is loaded, all your bound controls should reflect the proper contents. Since it appears yours isn't quite working correctly, I can only guess at what the problem might be. It could have something to do with mixing your binding syntax. Have a look at my blog post on this subject and see if that might be the cause of your problem:
> MessageBox.Show(soinf.somastds.soversion[0].version); > MessageBox.Show(soinf.somastds.soversion.Rows.Count.ToString()); > textBoxVersion.DataBindings.Clear(); > textBoxVersion.DataBindings.Add("Text", soinf.somastds.soversion, "version"); > MessageBox.Show(textBoxVersion.Text); >>The first messagebox shows"B"