07-24-2023, 11:36 AM
I've tried creating a `DataTable` and adding rows to it like this:
DataTable dt = new DataTable();
dt.clear();
dt.Columns.Add("Name");
dt.Columns.Add("Marks");
How do I see the structure of `DataTable`?
Now I want to add *ravi* for `Name` and *500* for `Marks`. How can I do this?
DataTable dt = new DataTable();
dt.clear();
dt.Columns.Add("Name");
dt.Columns.Add("Marks");
How do I see the structure of `DataTable`?
Now I want to add *ravi* for `Name` and *500* for `Marks`. How can I do this?