H
Hotrod2000
Has anyone used the following code from SAMS A Programmer's
Introdution to Visual Basic.NET Pg 118 :-
Protected Sub cboCountry_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs)
dsCustomers1.Clear()
Dim con As New Component1
conMe.FillCustomersDataSet(dsCustomers1, cboCountry.Text)
End Sub
As when I've tried to use this I get the error "Name conMe is not
declared" which makes sense as I can't find where it is declared !!!
but I don't know how or where it needs declaring ??
Any help would be appreciated.
Cheers
Introdution to Visual Basic.NET Pg 118 :-
Protected Sub cboCountry_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs)
dsCustomers1.Clear()
Dim con As New Component1
conMe.FillCustomersDataSet(dsCustomers1, cboCountry.Text)
End Sub
As when I've tried to use this I get the error "Name conMe is not
declared" which makes sense as I can't find where it is declared !!!
but I don't know how or where it needs declaring ??
Any help would be appreciated.
Cheers