VladimirKim
Programmer
Hi,
I have this code:
Public HISetID As Integer
public RTID as Integer
Private Sub frmHotelInventoryManager_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
cmbHotelInventorySet.ValueMember = "HotInvSetID"
cmbHotelInventorySet.DisplayMember = "HotInvSetDesc"
Me.cmbHotelInventorySet.DataSource = GetHotelInventorySets(RTID).Tables(0)
End Sub
Now, I would like to add a new item that says "ALL" and the value for that item should be 0, since the values in the table in the datasource start from 1. How would I do that? thanks in advance.
I have this code:
Public HISetID As Integer
public RTID as Integer
Private Sub frmHotelInventoryManager_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
cmbHotelInventorySet.ValueMember = "HotInvSetID"
cmbHotelInventorySet.DisplayMember = "HotInvSetDesc"
Me.cmbHotelInventorySet.DataSource = GetHotelInventorySets(RTID).Tables(0)
End Sub
Now, I would like to add a new item that says "ALL" and the value for that item should be 0, since the values in the table in the datasource start from 1. How would I do that? thanks in advance.