473,396 Members | 1,775 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.

Linking to SQlServer and displaying those items in listbox.

I've a table named student in my database.In it there are 7 columns .Now, in my form, when I click my table name, the name of columns should be displayed in
one listbox ie in listbox1. Again, when I click one column name in listbox1,the corresponding attributes of that column should be displayed in listbox2. If the column selected is of varchar type, then the items populated in listbox should be in single quotes. If the column selected is of integer type, then the items populated in listbox should be as such.Please help me.
Jun 24 '08 #1
2 1168
cloud255
427 Expert 256MB
Which language are you using?

and what are the possible types in the database? only int and varchar or are there more possibilities?
Jun 24 '08 #2
DrBunchman
979 Expert 512MB
Have you written any code for this at all? Please show us what you have so far.

Dr B
Jun 24 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Fieldmedic | last post by:
I'm attempting to get an arraylist to display in a Listbox (listbox2). The arraylist is created from selections in a different listbox (listbox1). The 1st listbox has a selection mode of...
0
by: Bill Brinkworth | last post by:
it's would be simple in Access, but seems to be harder in VB. I want to enter part of a word and search an access table, and display all instances of words containing those letters in a box (say a...
6
by: davegb | last post by:
I've searched here and in the help screens, but I can't find the answer to a very simple question. How do I create a specific link between 2 records in 2 different tables? I know how to use the...
6
by: Valerian John | last post by:
I have a ListBox webcontrol on an aspx page. Items are added to the ListBox using client-side code. However, when the page is posted back the items are missing/not available. (It is like the...
1
by: the friendly display name | last post by:
Hello, I need to dynamicaly populate a second listbox, based on the value, that the user has chosen in the first listbox. A good example of what i mean, is this site: ...
1
by: Ddraig | last post by:
Howdy, I've got a little project going and I am trying to figure out a good way to do this. But since I'm still learning I'm probably missing a few obvious steps. Also not sure if I have my...
2
by: cabellm | last post by:
Hi, I am creating a web feedback form that has a both a checkbox and listbox on it that are both databound to a database. I have been researching all day and have found multiple answers for...
2
by: Srimadhi | last post by:
Displaying selected items at the top of the listbox Hi, I am having two listboxes - one with ids and second with the related names. When user selects an item in one listbox, the corresponding...
4
by: Ron | last post by:
How do I display delimited text on multiple lines in a listbox? For example in my textbox I have this: Joe Doe,123 Street,Mytown and In a listbox then I want to display: Joe Doe 123 Street...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.