Re: how to give value to parameter in a query of dataset in C#.net2005?
the query is for FillByCNPending is:SELECT ServiceID, ServiceDeliveredDate, CustomerName, FROM [Freedom Scooter Service Reminder]WHERE (CustomerName = '@CNAME')AND (ServiceDeliveredDate IS NULL)my code is:this.TableAdapterCusV.FillByCNPending(this.dataSetCusV.Freedom_Scooter_Service_Reminder,comboBoxCusName.SelectedValue.ToString());when i run the app, it throws error:No overload for method 'FillByCNPending' take '2' argumentsplz help
I use .net2005
the query is for FillByCNPending is:SELECT ServiceID, ServiceDeliveredDate, CustomerName, FROM [Freedom Scooter Service Reminder]WHERE (CustomerName = '@CNAME')AND (ServiceDeliveredDate IS NULL)my code is:this.TableAdapterCusV.FillByCNPending(this.dataSetCusV.Freedom_Scooter_Service_Reminder,comboBoxCusName.SelectedValue.ToString());when i run the app, it throws error:No overload for method 'FillByCNPending' take '2' argumentsplz help
I use .net2005