أريد تغير لون صف واحد في ال داتا جريد فيو او لون خانة واحدة
أريد تغير لون صف واحد في ال DataGridView.
مغلق
من اجل تغير لون صف وليكن Column1 الى الاحمر فرضا
تكون في الاول كائن من الكلاس DataGridViewCellStyle
DataGridViewCellStyle dataGridViewCellStyle1=new DataGridViewCellStyle(); dataGridViewCellStyle1.BackColor = System.Drawing.Color.Red; this.Column1.DefaultCellStyle = dataGridViewCellStyle1;
هذا الموضوع مغلق.