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
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Aman GuptaRank #193 · 12.4K reputationPosted Mar 30, 2021, 10:12 PM EDT