Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't bind.......
Message
From
28/01/2004 16:44:33
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Can't bind.......
Miscellaneous
Thread ID:
00871582
Message ID:
00871582
Views:
62
I'm trying to set up a very simple test with a bizobj representing a simple States table and a web form with a single textbox control to display the State field of the table. The table simply has 3 fields: StateID, State, and Abbreviation.

I was able to get this to work with a DataGrid just fine, but I was wanting to test the binding to individual controls on a web form. My web form, a subclass of mmBusinessWebPage, has a single textbox control MmTextBox1 with its BindingSource="State" and BindingSourceMember="State".

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".
Next
Reply
Map
View

Click here to load this message in the networking platform