Hi,
I'm having a problem trying to check for existence of a column in my datatable.
In my code i'm trying to check if the column "AmountID" exists in the datatable or not...
If the column is present then its fine, but in case it does NOT exist then i get some error like this...VB Code:
If IsNothing(objDT.Columns("AmountID")) then . . . End If
Exception Details: System.ArgumentException: Column 'AmountID' does not belong to table tblUpdateRates.
Any help will be much appreciated...
thanks in advance


Reply With Quote
