Hi everyone, Is there a way to bind a control (TextBox) to an untyped
public DataSet on a WinForm and have its columns appear in the designer
under "databindings"? For example, in pseudo-code:
public DataSet myDataSet = null; // could be exposed as a property
(...)
Form_Load(...)
myDataSet = AnotherClass.GetDataSet(primaryKey);
// All databindings are set in the designer
myDataSetBindingSource.DataSource = myDataSet; // Example
I'd be willing to describe the schema in "myDataSetBindingSource" or in
a drag-and-drop DataSet, etc, but I think setting the bindings in code
isn't the way it's done- I'm not stuck on using the GUI ;), just want a
standard to follow. Also, when I bind to an object or typed dataset,
where the schema is already exposed, everything works great. Thanks for
any suggestions!