Hi santosh,
Inherit from the DataGridViewComboBoxColumn is the easiest way , try something like this :
Code Snippet
UserControls
public class ExComboBoxColumn : DataGridViewComboBoxColumn
{
private string description;
public string Description
{
get { return description; }
set { description = value; }
}
public override object Clone()
{
ExComboBoxColumn col = (ExComboBoxColumn)base.Clone();
col.Description = this.Description;
return col;
}
}
this article on MSDN. This article provides you how to host Controls in Windows Forms DataGridView Cells.
You can use google to search for other answers
|