Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Specify which columns to display in datagridview

$
0
0

I have a query that pulls 4 columns and the WHERE condition is on a column I DO NOT want to display in a datagridview.

Data is in a DataTable.

In Designer I have 3 columns established (bound to the columns I want to display) but at run-time, the 4th column is inserted.

How do I tell the datagridview not to insert the 4th column?




Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>