Hey guys,
This code is on page load. It works fine if I hard code a value in but I need it to read in a querysrting value Im posting from the previous page. It's called "CarCatNo"
I've tried quite a few things but it's giving me the error message .."Conversion from string "CarCatNo" to type 'Integer' is not valid.
The CarCatNo field in the database is already set as Integer.
Any help greatly appreciated.
Thanks
Buff.
-------------------
It uses a web service.
Dim carResults As New CarService.Service
Dim carDataSet As New System.Data.DataSet
carDataSet = carResults.getCarsByCatNo(need to read in querystring here)
carDataSet.WriteXml(Server.MapPath(Nothing) & "/cars/carResults.xml")
Me.carPanel.DocumentSource() = (Server.MapPath(Nothing) & "/cars/carResults.xml")
This code is on page load. It works fine if I hard code a value in but I need it to read in a querysrting value Im posting from the previous page. It's called "CarCatNo"
I've tried quite a few things but it's giving me the error message .."Conversion from string "CarCatNo" to type 'Integer' is not valid.
The CarCatNo field in the database is already set as Integer.
Any help greatly appreciated.
Thanks
Buff.
-------------------
It uses a web service.
Dim carResults As New CarService.Service
Dim carDataSet As New System.Data.DataSet
carDataSet = carResults.getCarsByCatNo(need to read in querystring here)
carDataSet.WriteXml(Server.MapPath(Nothing) & "/cars/carResults.xml")
Me.carPanel.DocumentSource() = (Server.MapPath(Nothing) & "/cars/carResults.xml")