473,396 Members | 1,734 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,396 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 2703
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.