Yuan,
So far so good. However how to I associate the datagridviewcolumn with
datagridview1 in particular. I can see how I can create my three columns,
but I don't see how I can apply them to a particular datagridview.
I hope I'm explaining myself clearly. You were.
The second question is putting the values in row0. would they be
Dim row1 As String = {Me.WATopicID.ToString(),
Me.KeywordSetTextBox.Text,
checked}
Thanks for spending time solving my problems.
dennist685
""ÈÎÔ¶[΢ÈÃ*]"" wrote:
> Hi Dennist,
>
> Welcome for MSDN newsgroup!
>
> For current issue, the DataGridViewCell class is a MustInherit class in
> .NET Framework beta v2.0, so we can not create a new instance for it
> directly. The following document gives us more detail information about it:
> http://msdn2.microsoft.com/library/h6eeb94b(en-us,vs.80).aspx
>
> Based on my understanding, you want to add a checkbox control into the
> current DataGridView, please notify me if I make a misunderstanding. I
> suggest we use the below fragment code to add a column checkbox:
> Dim column As DataGridViewColumn = New DataGridViewCheckBoxColumn()
> column.DataPropertyName = "GoodGuy"
> column.Name = "Good"
> dataGridView1.Columns.Add(column)
>
> I hope the suggestions were helpful. If you have any other concerns, please
> feel free to let me know.. It's my pleasure to be of assistance.
>
> Yuan Ren[MSFT]
>
>
|