I am reading excel and saving output in dt.
I want to pass all the values in dt comma-separated string to execute sql query
i am using below approach
DirectoryList=(from row in directoryNumberDt.AsEnumerable select Convert.ToString(row.Item(“Telephone Number”))).ToList
It was working fine but now iam getting issue like below:
Can some one help me to reslove this issue.New Microsoft Excel Worksheet.xlsx (11.0 KB)