How to find columns name according to values in SQL ?
Suppose that i have 5 columns in table . In every columns values is store.
Now how can be find 5 value is store in which columns?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priya SinghPosted Sep 15, 2015, 7:15 AM
Upendra Pratap ShahiPosted Sep 15, 2015, 6:55 AM
DataTable DT = new DataTable();
foreach (DataColumn column in DT.Columns)
{
}