J
jonny
Hi guys,
I am trying to figure out how to get the value that is in the
dropdownlist box on webform1 to my class file where I am actually
writing the sql query.
for example here is my sql query:
Dim sql As String = "SELECT distinct Column2 FROM MySqlTable Where
Column1 = '" & Webform.DropDownList & "'"
The problem is where I have...Webform.DropDownList ....because it does
not recognize the webform or its dropdownlist from within the class
file.
So please tell me how I can get the class file to recognize the
webform and its dropdownlist.
I really appreciate your guys help if anyone out there knows how to do
this.
I am trying to figure out how to get the value that is in the
dropdownlist box on webform1 to my class file where I am actually
writing the sql query.
for example here is my sql query:
Dim sql As String = "SELECT distinct Column2 FROM MySqlTable Where
Column1 = '" & Webform.DropDownList & "'"
The problem is where I have...Webform.DropDownList ....because it does
not recognize the webform or its dropdownlist from within the class
file.
So please tell me how I can get the class file to recognize the
webform and its dropdownlist.
I really appreciate your guys help if anyone out there knows how to do
this.