i need to extract a value from a datatable. in the datatable there are two values ID and AdmissionNumber . i have the admission number but i need to get the id number from the table. how would i be able to search the datatable and extract the ID number?
i need it in some sort of loop because it will eventually be pulling multiple id's out depending on user input. is a shame you cant use SQL with datatables... SELECT ID FROM datatable WHERE AdmissionNumber == 'variable'
hopefully that will give you the idea of what i need.
thanks,
Piercy
i need it in some sort of loop because it will eventually be pulling multiple id's out depending on user input. is a shame you cant use SQL with datatables... SELECT ID FROM datatable WHERE AdmissionNumber == 'variable'
hopefully that will give you the idea of what i need.
thanks,
Piercy
Comment