public void UpdateTodoList(int theRecordNumber, string theTitle, string theText) { DataSet todoListDataSet = todoModel.GetTodoList(); DataRow row = todoListDataSet.Tables[0].Rows[theRecordNumber]; row["Title"] = theTitle; row["Text"] = theText; todoModel.UpdateXMLDoc(todoListDataSet); }
public void UpdateTodoList(DataSet newTodoListDataSet) { todoModel.UpdateXMLDoc(newTodoListDataSet); }