473,406 Members | 2,293 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,406 software developers and data experts.

Formated Combo Box

BD
I am running VS 2005 writing in C# accessing remote SQL Server 2005
database. I want to develope a custom listing of the relationship
between Customers and Locations (one to many) in a combo box. The
releation is defined in SQL and shows up in the dataset. I have been
using datagridview and works fine albeit confusing. It display every
row completely. I would really like the listing in the combo box to
only show the Customer once with the many Locations after, preferrable
indented from the left like you would if you were typing it out like
an outline for a report. Any help or guidance is greatly appreciated.

May 23 '07 #1
1 1242
Hello BD,

See there http://www.codeproject.com/cs/miscct...and+List+boxes

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

BI am running VS 2005 writing in C# accessing remote SQL Server 2005
Bdatabase. I want to develope a custom listing of the relationship
Bbetween Customers and Locations (one to many) in a combo box. The
Breleation is defined in SQL and shows up in the dataset. I have been
Busing datagridview and works fine albeit confusing. It display every
Brow completely. I would really like the listing in the combo box to
Bonly show the Customer once with the many Locations after,
Bpreferrable indented from the left like you would if you were typing
Bit out like an outline for a report. Any help or guidance is greatly
Bappreciated.
B>
May 23 '07 #2

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

Similar topics

0
by: Alexander Hoffmann | last post by:
Hello, Recently I was debugging a memory leak in my app and finally figured out that I had to manually implement destructors for some classes. While debugging I wrote a method that prints the...
3
by: Don Grover | last post by:
Hi I have to return dates formated in different ways in an asp page from sql server. What function can I use or how can I return dates formated like so I tried DATEPART ie.. but that does not...
0
by: Rolf Kemper | last post by:
Dear Experts, I want to send a formated query result by mail. I'm running SQL Server 2000 1) How can I achieve that the printed length of a field is based on the minimum required length to...
1
by: hswerdfe | last post by:
I was wondering if someone could point me to a tutorial or API Doc that would be useful for manipulating poorly formated html returned through an an XMLHttpRequest Object. like something that...
0
by: Pete Smith | last post by:
Hi, does anybody know a comfortable editor which creates StyleSheets to transform xml to well formated hmtl (e-mails) Thanks in advance for any hint Pete -- Pete Smith
3
by: sb Luis | last post by:
I Use the following code to read from MS Word, but I couldent read Formated Text (RTF). How Can I read formated text from MS Word Doc without using clipboard. thanks. Word.ApplicationClass...
0
southoz
by: southoz | last post by:
Good ay all , I'm fairly new to access(a little over 5 weeks now). Since I'v started I have picked up a lot of useful information from forums such as this and in doing so will share that information...
3
by: lialie | last post by:
Hi, Is there a fine way to read a formated file like: %HEADER title = "Untilted" username = "User" %DATA ....... ....... The formated file may be very popularly, but the module ConfigPaser
0
by: pjnambiar | last post by:
Hello friends anyone have idea of converting a formated PDF file into msaccess or excel file. Formated in the sense the informations within pdf file are tabled with different colums. P.J.NAMBIAR
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.