// I have an aging report called dsAgingReport, with a table called dtBrackets dsAgingReport odsAgingReport = new dsAgingReport(); odsAgingReport.dtBrackets.AdddtBracketsRow( 1, 30, 1, "< 30 days"); odsAgingReport.dtBrackets.AdddtBracketsRow(31, 60, 2, "31-60 days");I can do this, because Visual Studio 2005 automatically creates methods when I define a strongly-typed DataTable. Note the method is called called AddDtBracketsRow: VS2005 builds the method automatically, and establishes the parameters based on the columns in the DataTable.
dsAgingReport odsAgingReport = new dsAgingReport(); dsAgingReport.dtBracketsRow oNewRow = odsAgingReport.dtBrackets.NewdtBracketsRow(); oNewRow.StartDay = 1; oNewRow.Endday = 30; oNewRow.BracketLabel = " < 30 days "; oNewRow.BracketNumber = 1; odsAgingReport.dtBrackets.Rows.Add(oNewRow);Hope that helps...