this is my code
public IEnumerable<TestUser> Getdata()
{
//return new string[] { "value1", "value2" };
TestUserBl tstusr = new TestUserBl();
DataTable dt = new DataTable();
dt = tstusr.TestUserSel();
return dt.AsEnumerable();
}
getting error
Cannot implicitly convert type 'System.Data.EnumerableRowCollection' to 'System.Collections.Generic.IEnumerable'. An explicit conversion exists (are you missing a cast?)
TestUserSel()method do? - Alexander