Okee here my problem
When i create a button in the designer , i got options in the properties window for putting a Image in the button and even a ImageAlign
But i want to change the image at runtime
I looked at the button members , but i cant find it

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button_members.aspx

So im stupid or just blind
Hellpppp

Got it !!!!!!!!

For the people who want to know also.

bttonArray(mach).Image = Image.FromFile("c:\gemacon\iconen\Synchronize.ico")
bttonArray(mach).ImageAlign = ContentAlignment.MiddleRight
bttonArray(mach).TextAlign = ContentAlignment.MiddleLeft
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.