Answer: We can Add an Empty row into DataTable with the help of Rows static method.
DataTable dt_employee = new DataTable();
dt_employee.Columns.Add("Name");
dt_employee.Columns.Add("Address");
dt_employee.Rows.Add(string.Empty, string.Empty);
Asked In: Many Interviews |
Alert Moderator