Answers for "create columsn and rows with c#"

C#
4

C# create DataTable

DataTable dt = new DataTable(); 
dt.Clear();
dt.Columns.Add("Name");
dt.Columns.Add("Marks");

DataRow _ravi = dt.NewRow();
_ravi["Name"] = "ravi";
_ravi["Marks"] = "500";
dt.Rows.Add(_ravi);
Posted by: Guest on August-20-2020

Code answers related to "create columsn and rows with c#"

C# Answers by Framework

Browse Popular Code Answers by Language