Hi,
I'm using the following method to find the itemcode in a table.
Here ITEM_CODE is the primary key and ITEM_CODE contains 9 digits and 13 digit.
Sometime the contains retunring false even though the Item is ther in the dataset.
Could anyone help me please to solve this issue ?
I'm using the following method to find the itemcode in a table.
Code:
dim ds as new dataset dim mvItem as object Dim tmpCol(1) As DataColumn tmpCol(0) = dsPDT.Tables(0).Columns(0) dsPDT.Tables(0).PrimaryKey = tmpCol mvItem = dsBoss.Tables(0).Rows(i)(0).ToString If dsPDT.Tables(0).Rows.Contains(mvItem) = False Then do something else do something endif ITEM_CODE NOT NULL VARCHAR2(13) ITEM_SCAN_CODE VARCHAR2(20) ITEM_SUPL_CODE VARCHAR2(5)
Sometime the contains retunring false even though the Item is ther in the dataset.
Could anyone help me please to solve this issue ?
Comment