I have a datagridview bound to a datatable. One of the columns in the Datasource is a BLOB. Its a BLOB in the database and I am retrieving all the records from the DB to the Datatable, then binding it to the DGV.
here’s a check I am to make. For the Blob columns(Documents pdfs,docs rpt txt), if there is a value other than DBNull then a button should be disabled. If other than DBNull, a buttton should be highlighted and available to download
1) How would I add a button to this DGV which is being bound to a Datatable.
2) Where and in which event should I check the value of BLOb field
Thank you
Sun
on your button click you will need to use this code:
This will be the code to enable or disable the button