Click here to Skip to main content
15,917,618 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: ListView Pin
CodingYoshi6-Feb-07 14:36
CodingYoshi6-Feb-07 14:36 
Thanks TwoFaced,

Here is what's happening:

The user enters a name through a textbox for example Breakfast and then selects a bunch of food items from a listview with checkboxes. Then the user can press save and make another record, for example, for lunch and so on. Each customer can have many meals, and each meal has many items. when the user clicks save I push the record into an arraylist and when the user presses finish I send the records from the arraylist to the database and the form closes.

In the parent form there is listview so when user clicks on Breakfast then I have to get all the selected items and find those items in ListViewB and check them accordingly.

I managed to do it by looping through the Arraylist, and comparing each items string to each item's string in ListViewB, if match then I check them.
However, I don't think this a good approach, right?

I hope this makes things clear.

Yoshimitsu
GeneralRe: ListView Pin
TwoFaced6-Feb-07 16:34
TwoFaced6-Feb-07 16:34 
Questiondelay ? Pin
Narfix6-Feb-07 4:26
professionalNarfix6-Feb-07 4:26 
QuestionHow can i make an installable file...? Pin
fmlove6-Feb-07 4:10
fmlove6-Feb-07 4:10 
AnswerRe: How can i make an installable file...? Pin
Taylor Kobani6-Feb-07 5:21
Taylor Kobani6-Feb-07 5:21 
AnswerRe: How can i make an installable file...? Pin
FeRtoll6-Feb-07 6:21
FeRtoll6-Feb-07 6:21 
GeneralRe: How can i make an installable file...? Pin
fmlove6-Feb-07 22:46
fmlove6-Feb-07 22:46 
GeneralRe: How can i make an installable file...? Pin
FeRtoll7-Feb-07 2:53
FeRtoll7-Feb-07 2:53 
QuestionHow can i make an installable file...? Pin
fmlove6-Feb-07 4:10
fmlove6-Feb-07 4:10 
AnswerRe: How can i make an installable file...? Pin
Kschuler6-Feb-07 10:12
Kschuler6-Feb-07 10:12 
QuestionXML Pin
samerh6-Feb-07 3:57
samerh6-Feb-07 3:57 
AnswerRe: XML Pin
Christian Graus6-Feb-07 9:43
protectorChristian Graus6-Feb-07 9:43 
QuestionScreensaver to play first... Pin
Dave McCool6-Feb-07 3:50
Dave McCool6-Feb-07 3:50 
AnswerRe: Screensaver to play first... Pin
Taylor Kobani6-Feb-07 5:29
Taylor Kobani6-Feb-07 5:29 
QuestionProblems with my Watch Window in debugging mode Pin
ONeil Tomlinson6-Feb-07 2:13
ONeil Tomlinson6-Feb-07 2:13 
Questioni want to create conaction Between web cam and PictureBox Pin
Ahmed El-Badry6-Feb-07 0:52
Ahmed El-Badry6-Feb-07 0:52 
AnswerRe: i want to create conaction Between web cam and PictureBox Pin
Christian Graus6-Feb-07 0:59
protectorChristian Graus6-Feb-07 0:59 
Questioni want to add Button and imge in DataGrid VS.net2003 Pin
Ahmed El-Badry6-Feb-07 0:45
Ahmed El-Badry6-Feb-07 0:45 
AnswerRe: i want to add Button and imge in DataGrid VS.net2003 Pin
Taylor Kobani6-Feb-07 5:32
Taylor Kobani6-Feb-07 5:32 
GeneralRe: i want to add Button and imge in DataGrid VS.net2003 Pin
Ahmed El-Badry6-Feb-07 23:38
Ahmed El-Badry6-Feb-07 23:38 
Questiontyped datasets and parent/child relationships Pin
steve_rm6-Feb-07 0:27
steve_rm6-Feb-07 0:27 
AnswerRe: typed datasets and parent/child relationships Pin
Andi Fandrich6-Feb-07 2:50
professionalAndi Fandrich6-Feb-07 2:50 
QuestionRe: typed datasets and parent/child relationships Pin
steve_rm6-Feb-07 4:30
steve_rm6-Feb-07 4:30 
AnswerRe: typed datasets and parent/child relationships Pin
Andi Fandrich6-Feb-07 5:20
professionalAndi Fandrich6-Feb-07 5:20 
QuestionRe: typed datasets and parent/child relationships Pin
steve_rm6-Feb-07 7:36
steve_rm6-Feb-07 7:36 

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.