"Liz" <ec******@cornwall.gov.uk> wrote in message
news:02****************************@phx.gbl...
Can any one tell me how I express the following VB.NET
code in C#????
1.
Private Sub _productsData_ListChanged( _
ByVal sender As Object, _
ByVal e As System.ComponentModel.ListChangedEventArgs) _
Handles _productsData.ListChanged
. . .
2.
DataView1.Item(_productsData.Count - 1) ("OrderID") = _
_order.orderID
Liz
In 'InitializeComponent' add
this.dataView1.ListChanged += new
System.ComponentModel.ListChangedEventHandler(this .dataView1_ListChanged);
then create new method
private void dataView1_ListChanged(object sender,
System.ComponentModel.ListChangedEventArgs e)
{
}