Microsoft
Software
Hardware
Network
Question : Datagridview values passing to Reportviewer in a winform application vb.net
I am using a data grid bound to my customers table in sql.
When i select a single record in the datagridview and send the id to my report viewer it runs ok.
If i select multiple rows I do not get any results returned even though i have a IN clause on my SQL statement
Further investigation shows that the value I am trying to pass is enclosed in quotation marks. e.g "Value1,value2" instead of what i want "Value1","value2" etc...
I have tried various split(string) without any luck.
Any help appreciated
Martin
Answer : Datagridview values passing to Reportviewer in a winform application vb.net
Why don't you fill the Dataset of the report directly with the Query and the string that you get from the selected rows, refresh the dataset then and pull the report later?
Random Solutions
Deleting records from an Oracle database using SQL based on timestamps using SAS SQL passthrough
regular expression
Why won't Exchange Transport service start in Exchange 2007 on our SBS 2008 server ?
Network keyword
Difference between using file sharing under a Home Network and a Work Network????
IIS 6 to IIS7
Coldfusion - SQL syntax
Ex2010 - Move Mailbox Failed - Corrupt Messages
helpdesk interview for bank
SPContext.Current is returning null in the "SPItemEventReceiver" event handler.