Question Retrieve the data rows with already selected items

andrewmanuja

Active member
Joined
May 30, 2019
Messages
43
Programming Experience
Beginner
Hi,

Thank you very much for your valuable feedback.

Actually what I am trying to do at,

Okay, so that is the origin of your CombinedCode variable. Can you explain why you think that this:
Code:

dataGridView1.Columns["CombinedCode"].Equals(CombinedCode)
is to match the dataGridView's column "CombinedCode" value against the datareader's "CombinedCode" value.

However, as you specified, I'll also try to get the required data from the SQL server database end.

Will give an update accordingly.

Thanks again for your help.

Kind regards,

Andrew
 
Top Bottom