473,320 Members | 2,054 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Grid

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
Nov 20 '05 #1
4 2700
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/WinFor...c44c.asp#q480q

How to do it is described here with a DateTimePicker sample
http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps a little bit?

Cor

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

Nov 20 '05 #2
thanks

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
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/WinFor...c44c.asp#q480q

How to do it is described here with a DateTimePicker sample
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwindowsformsdatagridcolumnstyleclasstop ic.asp
I hope this helps a little bit?

Cor

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


Nov 20 '05 #3
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

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
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/WinFor...c44c.asp#q480q

How to do it is described here with a DateTimePicker sample
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwindowsformsdatagridcolumnstyleclasstop ic.asp
I hope this helps a little bit?

Cor

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


Nov 20 '05 #4
I found the answer, thanks

"Afshin" <af****@negareh.com> wrote in message
news:#4**************@TK2MSFTNGP12.phx.gbl...
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

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
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/WinFor...c44c.asp#q480q

How to do it is described here with a DateTimePicker sample

http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfsystemwindowsformsdatagridcolumnstyleclasstop ic.asp

I hope this helps a little bit?

Cor

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



Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Piet | last post by:
Hello, I have written a small program which dynamically displays data from a data structure in a wx.grid. The grid reacts as expected when the data structure is enlarged: a new row is added and...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
3
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover...
0
by: BH | last post by:
Hi, I am trying to build my own IHM with two treeCtrl and 1 grid, based on the wx.aui demos. My problem is with the Grid. It dosen't have scrollbars. I tried many methods (fit) but it always...
6
by: Romulo NF | last post by:
Greetings again to everyone, Im back to show this grid componenet i´ve developed. With this grid you can show the data like a normal table, remove the rows that you need, add rows, import data,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.