I have been trying to find the specific data in column “Name” and extract the corresponding value from UAN No.
For Eg
If Name = Bobb Then it should extract “DC899UA”
I have been trying to use
Assigned the Excel into an datatable = dt
Assign the Specific value to string
str1 = “Bobb”
valueReq = Dt.Select(“[Name]=str1”).ElementAt(0)(“UAN No”).ToString
Please suggest