Image backgroundimage;private void Form1_Load(object sender, EventArgs e){ backgroundimage= Image.FromFile(@"E:\Images\riverphoto.jpeg");}private void dataGridView_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e){ DataGridViewRow row = dataGridView.Rows[e.RowIndex]; row.DefaultCellStyle.BackColor = Color.Transparent;}private void dataGridView1_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e){ e.Graphics.DrawImage(backgroundimage, e.RowBounds);}
mark this answer if it will really help you, Thanks&Regards ketan
Mark This Response as Answer -- Chandu http://www.dotnetfunda.com/images/dnfmvp.gif
Login to post response