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

Datagridview checkbox with Oracle

$
0
0

Hello all,

I am returning a query from an oracle database which returns 2 varchar columns and 1 char column into a dataset from an oracledataadapter. I'm then populating a DataGridView with the following:

dataGridView1.DataSource = ds.Tables[0];

Where ds is my dataset.

The last column returned is char(1) with either 'T' or 'F'.

As there is no boolean datatype in oracle, i'm struggling to figure out how to get this last column to display as a checkbox in the grid based on the fact i'm not manually adding the columns to the grid.

Can anyone help?

Thanks


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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