开发者

How can i add two buttons to a single datagrid column dynamically?

button code

DataGridV开发者_运维百科iewButtonColumn btn = new DataGridViewButtonColumn();  
dataGridView1.Columns.Add(btn);  

I'm using WinForms App, here this way I add two buttons, but I want these two button should be place in single column only.


You have to create a custom column. Look at here and here for some examples.


You need to create a custom DataGridView column.

Here's an article that can help: http://www.devx.com/codemag/Article/35186

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜