swapna

swapna

  • NA
  • 156
  • 15k

data not binding in datatable in .net core 5.0

Mar 30 2021 9:05 AM
public static DataTable tdt()
{
DataTable dtn= new DataTable();
dtn.Columns.Add("col1", typeof(string));
dtn.Columns.Add("col2", typeof(string));
return dtn;
}
above is my dattable in .net core 5.0 but data not binding in my datatable.plz help

Answers (1)