E
Eva
Hi,
I wanted to know how i can enter values into a specific
column of a listview. I have tried the following code but
this seems to enter all my values into the first column!!!
Can anyone please help me out on this??
hers my code so far.....
Private Sub btnSelRoom_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnSelRoom.Click
Dim ChosenDate As Date
ChosenDate = dtpRoomDate.Value.ToShortDateString
Dim ChosenRoom As SqlString
ChosenRoom = CBoxRoomNames.SelectedItem
Dim ChosenLayout As SqlString
ChosenLayout = CBoxLayout.SelectedItem
Dim ChosenSession As SqlString
ChosenSession = CBoxSession.SelectedItem
Dim ChosenGuestNo As String
ChosenGuestNo = txtNoOfGuests.Text
Dim ChosenMeal As String
Dim FullDescription As String
FullDescription = String.Format("{0}, {1}, {2}, {3}, {4}",
ChosenDate, ChosenRoom, ChosenLayout, ChosenSession,
ChosenGuestNo)
LViewSelRooms.Items.Add(FullDescription)
End Sub
Many thx.
And Merry xmas to all )
I wanted to know how i can enter values into a specific
column of a listview. I have tried the following code but
this seems to enter all my values into the first column!!!
Can anyone please help me out on this??
hers my code so far.....
Private Sub btnSelRoom_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnSelRoom.Click
Dim ChosenDate As Date
ChosenDate = dtpRoomDate.Value.ToShortDateString
Dim ChosenRoom As SqlString
ChosenRoom = CBoxRoomNames.SelectedItem
Dim ChosenLayout As SqlString
ChosenLayout = CBoxLayout.SelectedItem
Dim ChosenSession As SqlString
ChosenSession = CBoxSession.SelectedItem
Dim ChosenGuestNo As String
ChosenGuestNo = txtNoOfGuests.Text
Dim ChosenMeal As String
Dim FullDescription As String
FullDescription = String.Format("{0}, {1}, {2}, {3}, {4}",
ChosenDate, ChosenRoom, ChosenLayout, ChosenSession,
ChosenGuestNo)
LViewSelRooms.Items.Add(FullDescription)
End Sub
Many thx.
And Merry xmas to all )