for (int i = 0; i <= Grid.Rows.Count; i++)
{
if (if checkbox is checked)
d = m.Mark(Grid.Rows[i].Cells[1].Text, Date.Text, 'P');
else
d = m.Mark(Grid.Rows[i].Cells[1].Text, Date.Text, 'A');
}
What code should I write in (if checkbox is checked) so that I can get the desired result?

New Topic/Question
Reply



MultiQuote






|