Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# version of VFP With ?
Message
From
03/04/2003 12:34:12
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00772760
Message ID:
00773651
Views:
11
Plus, it seems that you need to do this a little easier ... that's way too much stuff to have to type just to databind each textbox.

Isn't there some kind of DataBinding eventhandler in MM's TextBox base class? (Is this a WebForm or a WinForm?)

~~Bonnie


>>With Intellisence, you don't need it. :)
>
>With my typing I DO ;)
>
>I am taking empty fileds and populating them via:
>MmTextBox2.BindingSource = "SecurityCl1";
>MmTextBox2.BindingSourceMember = "em_first";
>MmTextBox2.Text = (dsEmployee.Tables["employee"].Rows[0]["em_first"].ToString());
>MmTextBox2.DataBind() ;
>
>I have to do this for 15+ boxes. I'd love :
>with MmTextBox2
>.BindingSource = "SecurityCl1";
>.BindingSourceMember = "em_first";
>.Text = (dsEmployee.Tables["employee"].Rows[0]["em_first"].ToString());
>.DataBind() ;
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform