رنگی شدن سطر های دیتاگریدویو
for(int a = 0; a 1.Rows.Count; a++)
{
if (a % 2 == 0)
{
this.dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Aqua;
}
}
+ نوشته شده در شنبه بیست و پنجم شهریور ۱۳۹۶ ساعت 14:40 توسط محسن
|
for(int a = 0; a 1.Rows.Count; a++)
{
if (a % 2 == 0)
{
this.dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Aqua;
}
}
![]() |
BLOGFA.COM |
![]() |