Assigning Items From List Box to a Button...

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2008
Posts: 23
Reputation: gopi17 is an unknown quantity at this point 
Solved Threads: 0
gopi17 gopi17 is offline Offline
Newbie Poster

Assigning Items From List Box to a Button...

 
0
  #1
Sep 24th, 2008
hello guys, i need help assigning details in a listbox to a button, therefore changing the buttons color....any idea...i manage to do something here....
  1. PListBox1.Items.Add("Customer Name" & ControlChars.Tab & _
  2. "Booking Date" & ControlChars.Tab & _
  3. ControlChars.Tab & "Booking Time")
  4.  
  5. PListBox1.Items.Add(Bcusname1.Text & ControlChars.Tab & _
  6. ControlChars.Tab & ControlChars.Tab & Bdate1.Value & ControlChars.Tab & _
  7. ControlChars.Tab & Btime1.Value)
  8. If PListBox1.Items.Count > 0 And status1 = "Available" Then
  9. If tableno = 1 Then
  10. MsgBox("You Have A Table " & Bcusname1.Text & " ,Your table Number is 1,please Take Your Seat...")
  11. PListBox1.Items.Clear()
  12. End If

how do i assign it to 30 buttons(accepts new data only if the status1 is available)??....thank you in advance for your help...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC