Anthony Clarke

Anthony Clarke

  • NA
  • 127
  • 0

Add greater than equal to but less than equal to in string provided

Dec 14 2010 6:57 AM

Hi,
 How can i implement this string
 
if
(Convert.ToInt16(dataGridView1.Rows[p].Cells[7].Value) <= 7) so that i can have
if (convert.ToInt16(dataGridView1.Rows[p].Cells[7].Value) >= 3 but <=7) so it only counts values 4, 5 and 6
Thanks
Anthony

Answers (2)