By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,442 Members | 1,327 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,442 IT Pros & Developers. It's quick & easy.

VB.Net: Set Backgroundimage of Datagrid

P: n/a

i just want to set the backgroundimage of a datagrid @ runtime. but when i
use the following code nothing happens, why?

Code: DataGrid1.BackgroundImage = Image.FromFile("C:\temp\test.jpg")

For example setting the backgroundimage of the main form works fine.


Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.