Click here to Skip to main content
15,905,686 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Regarding listbox and combobox Pin
AKSSMV7-May-09 5:49
AKSSMV7-May-09 5:49 
GeneralRe: Regarding listbox and combobox Pin
led mike7-May-09 6:03
led mike7-May-09 6:03 
GeneralRe: Regarding listbox and combobox Pin
AKSSMV7-May-09 6:16
AKSSMV7-May-09 6:16 
GeneralRe: Regarding listbox and combobox Pin
Luc Pattyn7-May-09 6:36
sitebuilderLuc Pattyn7-May-09 6:36 
GeneralRe: Regarding listbox and combobox Pin
AKSSMV7-May-09 6:43
AKSSMV7-May-09 6:43 
GeneralRe: Regarding listbox and combobox Pin
led mike7-May-09 6:47
led mike7-May-09 6:47 
GeneralRe: Regarding listbox and combobox Pin
AKSSMV7-May-09 6:52
AKSSMV7-May-09 6:52 
GeneralRe: Regarding listbox and combobox Pin
xpto0521-May-09 17:35
xpto0521-May-09 17:35 
Hi,
Your problem is that on the subcategory you need one more field

you need

Categories
ID
Category

SubCategories
ID
Category

SubCategory

You should use the ER Model always that it is possible and that requires a unique identifier per table... for me this is the easiest way to do it!!!

Your queries should be some like
For the Categories
SELECT * FROM Categories

For the subcategories
SELECT * FROM SubCategories WHERE Category = 'YOUR CATEGORY ID'
This way you retrive all the sub categories for that specific Category...

with no offense but Sometimes i dont understand what kind of work is this people doing to so this basic questions! i believe that you should buy a book and understant the whole concept about databases before trying to do this kind of job
QuestionHow to automatically click Ok button in MessageBox? Pin
Raja.s7-May-09 3:32
Raja.s7-May-09 3:32 
AnswerRe: How to automatically click Ok button in MessageBox? [modified] Pin
Luc Pattyn7-May-09 4:03
sitebuilderLuc Pattyn7-May-09 4:03 
GeneralRe: How to automatically click Ok button in MessageBox? Pin
Ian McCaul7-May-09 5:15
Ian McCaul7-May-09 5:15 
Questioncan a viewlist help containt infomation? Pin
neodeaths5-May-09 3:58
neodeaths5-May-09 3:58 
AnswerRe: can a viewlist help containt infomation? Pin
led mike5-May-09 4:23
led mike5-May-09 4:23 
AnswerRe: can a viewlist help containt infomation? Pin
Mycroft Holmes5-May-09 20:16
professionalMycroft Holmes5-May-09 20:16 
QuestionHow windows installer creates copy of msi with new msi file name? Pin
SoumyaSri5-May-09 2:28
SoumyaSri5-May-09 2:28 
AnswerRe: How windows installer creates copy of msi with new msi file name? Pin
Dave Kreskowiak5-May-09 3:44
mveDave Kreskowiak5-May-09 3:44 
GeneralRe: How windows installer creates copy of msi with new msi file name? Pin
SoumyaSri5-May-09 22:35
SoumyaSri5-May-09 22:35 
GeneralRe: How windows installer creates copy of msi with new msi file name? Pin
Dave Kreskowiak6-May-09 2:14
mveDave Kreskowiak6-May-09 2:14 
JokeRe: How windows installer creates copy of msi with new msi file name? Pin
Baeltazor21-May-09 18:49
Baeltazor21-May-09 18:49 
QuestionEmbeding windows controls to webforms Pin
Ahamed Azeem4-May-09 21:09
Ahamed Azeem4-May-09 21:09 
AnswerRe: Embeding windows controls to webforms Pin
Dave Kreskowiak5-May-09 3:41
mveDave Kreskowiak5-May-09 3:41 
QuestionRebarWindow change child window posittion inside the reband control Pin
benjamin234-May-09 14:31
benjamin234-May-09 14:31 
QuestionWord automation report, chart, images Pin
flyingbaobao2-May-09 20:07
flyingbaobao2-May-09 20:07 
AnswerRe: Word automation report, chart, images Pin
Mycroft Holmes2-May-09 20:47
professionalMycroft Holmes2-May-09 20:47 
GeneralRe: Word automation report, chart, images Pin
flyingbaobao3-May-09 4:03
flyingbaobao3-May-09 4:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.