S
stumorgan
I have a couple questions regarding the DataGridView object...
1) What is the underlying data type that the DataGridView uses if you
are using it unbound and do for instance dgv.Columns.Add(). Is there
any way to access that data type directly, since the DataSource field
is null when the DataGridView is unbound?
2) Is there any way to add a row which does not have as many columns
as the rest of the grid? Basically I have about 10 columns of data
but every so often I want to put an "event" row in the table to show
where an event happened. I pretty much just want that event row to
have 2 columns, one to say the time the event happened and another
with the description of the event. Is this possible in the
DataGridView object, or if not then is it possible in any other native
C# object that I can display in a DataGridView type fashion?
Thanks in advance,
Stu
1) What is the underlying data type that the DataGridView uses if you
are using it unbound and do for instance dgv.Columns.Add(). Is there
any way to access that data type directly, since the DataSource field
is null when the DataGridView is unbound?
2) Is there any way to add a row which does not have as many columns
as the rest of the grid? Basically I have about 10 columns of data
but every so often I want to put an "event" row in the table to show
where an event happened. I pretty much just want that event row to
have 2 columns, one to say the time the event happened and another
with the description of the event. Is this possible in the
DataGridView object, or if not then is it possible in any other native
C# object that I can display in a DataGridView type fashion?
Thanks in advance,
Stu