2
Answers

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

Ask a question

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)