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() ;
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement