//Create a new DataTable with columns DataTable dataTable = new DataTable("Employees"); dataTable.Columns.Add(new DataColumn("EmployeeID", typeof(int))); dataTable.Columns.Add(new DataColumn("EmployeeName", typeof(string))); //Create a new DataRow and add it to the DataTable DataRow dataRow = dataTable.NewRow(); dataRow["EmployeeID"] = 1; dataRow["EmployeeName"] = "John Doe"; dataTable.Rows.Add(dataRow); //Begin editing session for the DataRow dataRow.BeginEdit(); dataRow["EmployeeName"] = "Jane Doe"; //Commit changes to underlying data source dataRow.EndEdit();In this example, we create a new DataTable with two columns and a DataRow with EmployeeID and EmployeeName values. We then begin an editing session for this DataRow using the BeginEdit method and change the EmployeeName value to "Jane Doe". Finally, we commit the changes to the underlying data source using the EndEdit method. Package library: System.Data.