Grid

  • Thread starter Thread starter Afshin
  • Start date Start date
A

Afshin

In VB.net, it supports a special kind of hierarchical datasets. a
parent-child relationship. for example, in a form we must enter the name or
ID for personnel involved, and we have another table, contains personnel
information's. in VB.net grid, we can go from Personnel table to the
mentioned form, in fact, we can assign the information in a form to a
personnel, but it seems there is no way to list the personnel names(or ID's)
in a combo box (for example) in a grid, which helps the operator to select
the right person from it. In VB.6.0 we were using True DBGrid OCX to handle
it. True DBGrid allowed us to use combo boxes in grids, with hierarchical
recordsets. I don't know the a good solution in VB.net.
Afshin
 
thanks

Cor Ligthert said:
Hi Afshin,

I can give you some code, however here are some complete grids as
components, maybe the best way to start with.

<http://www.knowdotnet.com/articles/kdngrid.html>

<http://dotnet.leadit.be/extendeddatagrid>

The most basic method used for a combobox
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q480q

How to do it is described here with a DateTimePicker sample
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformsdatagridcolumnstyleclasstopic.asp

I hope this helps a little bit?

Cor
 
Following your advise, I used extended Grid control, it works properly, but
I do not know how to use extendeddatacombo and extendeddatagridcontrol, in
order to make a grid column or combo column.
please Help,
Thanks very much,
Afshin
 
Back
Top