Go to VB net. There was some long drawn out explaination in the last chat about why C# doesnt/cant have that. Althought, It seems like the compiler could change it internally and create the same IL. Weird.
>>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() ;
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only