Re: DataGridView Question - VB.NET 2005



I populate it manually

"Brian Tkatch" <Maxwell_Smart@xxxxxxxxxxxxxxx> wrote in message
news:1151610694.610444.92450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Samuel Shulman wrote:
I actually don't bind it

Samuel


"Brian Tkatch" <Maxwell_Smart@xxxxxxxxxxxxxxx> wrote in message
news:1151593790.964053.160700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Samuel Shulman wrote:
Hi

I am starting to use this powerful controls but I am having a little
problem

When I use ListView Control I could inherit the ListViewItem to add
additional members typically for the Row ID in the database some times
of
more than 1 record (if the row contains related data from a number of
tables) then I had all this info attached to each row

How can I achieve anything like that in the DataGridView control?

thank you,
Samuel

Assuming the DataGrid has its DataSource as a DataTable's DefaultView,
you would add another DataColumn to the DataTable and hide it:

DataSet.Tables(table).Columns(column).ColumnMapping() =
MappingType.Hidden


B.


Setting a DataSource on a Windows Form DataGrid does not require a
binding.

B.



.



Relevant Pages

  • Re: Trying to figure out how to link two controls
    ... After you set your combo box datasource, you should check if their are rows, ... > the first is a comboBox the second is a datagrid. ... > from the combobox control what populates the datagrid. ... > to populate its referenced table in the dataset. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: .Net control that works like the MSHFlexgrid control?
    ... You cannot use a datagrid without a datasource, ... dim dt as new datatable ... This is a complete empty datagrid. ... > Is there any controls in .Net that works like the MSH Flexgrid control. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: DataGridView Question - VB.NET 2005
    ... Samuel Shulman wrote: ... How can I achieve anything like that in the DataGridView control? ... Assuming the DataGrid has its DataSource as a DataTable's DefaultView, ...
    (microsoft.public.dotnet.languages.vb)
  • Problem Extending DataGridColumn
    ... I have an ASPX page that contains a DataGrid control. ... DataGrid is bound to a DataSource if not PostBack. ... If I DataBind the DataGrid it only loads those items from the DataSource. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: DataGridView Question - VB.NET 2005
    ... Samuel Shulman wrote: ... When I use ListView Control I could inherit the ListViewItem to add ... How can I achieve anything like that in the DataGridView control? ... Assuming the DataGrid has its DataSource as a DataTable's DefaultView, ...
    (microsoft.public.dotnet.languages.vb)