2
Answers

How to customize datagridview column and event on column

Ask a question
Andy Wij

Andy Wij

12y
2.1k
1
Hello all, I've a datagridview bind with a datatable on runtime..
Let say the datatable contain column like this,

Request_No, Item_Code, Qty, Qty_In, Remark..

If I bind the datatable to datagrid then on datagrid will appears 5 columns.

My question is can I make some column disappears and how can I put some code when column1 on keypress event?

Thanks.

Answers (2)