Good day guys! Right now I am creating an Simple/Basic Inventory System that just needs to record the Computer in an office and its peripherals. I just started studying C# here in my work and also I have a basic/entry level knowledge in VB6. I just wanna know if you could give me tips on how to create my system and right now I only have one table on my database. It is named PCComp for PC Components and the fields are the following: InventoryID, Inventory Type(this is the Monitor, Mouse, Keyboard, etc. and I am using a combo box for this one in the system), Item Brand, Item Name, Serial Number, Date Purchased, Dealer/Seller, Quantity, Warranty, Buyer. Hoping you could give me tips so I can fininsh this as soon as possible. Thanks!
NewbInProg
0
Newbie Poster
Recommended Answers
Jump to PostHi, NewbinProg, welcome at Daniweb.
As for your problem, I guess you should have some knowledge of ADO.NET and the
Jump to PostYou need to use the
OnSelectedIndexChanged
event. This will allow you to grab the current selection from the combo box as it changes.You would then put this value into your data container so that when you "Submit" your component to the database, it will contain the correct value.
All 5 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
NewbInProg
0
Newbie Poster
Ketsuekiame
860
Master Poster
Featured Poster
liamA
0
Newbie Poster
ShadyG
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.