How do insert a user control i have created into a datagrid cell.
Basically i am trying to create a column of my user controls. This is
what i have tried so far.
int i = 0;
while (i < dsSignIn1.Tables["Contacts"].Rows.Count)
{
SignatureControl.SignatureControl sig1 =
new SignatureControl.SignatureControl();
Point p1 = new Point(dgSignIn.GetCellBounds(i,3).X,dgSignIn.GetCe llBounds(i,3).Y);//,dgSignIn.GetCellBounds(i,0).Y);
MessageBox.Show(this,p1.ToString());
sig1.Location = p1;
this.Controls.Add(sig1);
i++;
}
I get the cooulmn of the user controls but they show up on the form
behind the datagrid.
How can i get them on the datagrid?