3
Answers

C#NET2008 Coding using WITH

Lennie Kuah

Lennie Kuah

14y
8.2k
1

Dear Good Guys,
I need your help. Please help me.
I am very confused as how to use the command WITH  with C#NET2008. but in VB.NET this is how I used it:
With me.ListBoxCust
             .ColumnWidth = this.ListBoxCust.Width
             .DisplayMember = "Companyname" 
             .ValueMember  ="CustomerID"
            .DataSource = DS.Tables("Cust");
End With
-------------------------------------------------
How to use it in C#NEt2008?
Answers (3)