Help me with this code.... please


dtForm.Select(String.Format("{0} =’{1}’", “A”, row(“A”).ToString))(0)
I believe this code just lets u get the row that satisfies certain condition

but if u want to get the column that satisfies certain condition, then what code should i use??


try this.

dtForm.Select(String.Format("{0} =’{1}’", “A”, row(“A”).ToString))(0)(“COLUMN_NAME”)

This will return the value present in the column when it satisfy the condition.