asked on
private DataTable DtAppliantsTypeList(bool primary, bool spouse, int? totalChild)
{
DataTable dt = new DataTable();
dt.Clear();
dt.Columns.Add("Type", typeof(string));
dt.Rows.Add("Primary");
dt.Rows.Add("Spouse");
return dt;
}
private DataTable Data()
{
DataTable dt = new DataTable();
dt.Clear();
dt.Columns.Add("Type", typeof(string));
dt.Columns.Add("Name", typeof(string));
dt.Rows.Add("Primary", "John");
dt.Rows.Add("Spouse", "Mary");
return dt;
}