Interviews - C# Corner

vishal sohaliya
How to use a Datatable with C#?
By vishal sohaliya in .NET onApr 27 2019
  • Bidyasagar Mishra
    Aug, 2019 8

    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);

    • 0
  • Jaish Mathews
    Jul, 2019 29

    You can use either built-in ADO.NET objects or for ORM supports you can use Entity Framework.

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS