>Steve,
>
>>This is the only code in the page:
>>
>>protected OakLeaf.MM.Main.Web.UI.WebControls.mmTextBox MmTextBox1;
>>protected States oStates;
>>
>>private void Page_Load(object sender, System.EventArgs e)
>>{
>> this.oStates = (States) this.RegisterBizObj(new States());
>>}
>>
>>Every time I try to run this page, I get "Can't bind MmTextBox1 to State.State".
>
>I see you've got the business object registration code in the page Load handler. Do you have a line of code in the page that retrieves a State? For example:
>
>
this.oStates.GetState("xxxx");
>
>If so, are you sure the DataTable is named "State" and has a DataColumn named "State"? You can check this in the Watch Window.
>
>Regards,
Kevin,
Absolutely right.. my very stupid mistake of not specifying the DataTable name in the bizob GetDataSet call.
Thanks,