Hi How to add image button in coding side in literal?
In literal i have a string with that i want to add a image button?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Benjamin KemnerPosted Aug 2, 2011, 1:09 AM
Benjamin KemnerPosted Aug 1, 2011, 3:07 AM
btTest.Image = Image.FromStream(new FileStream(@"D:\Temp\Chrysanthemum.jpg", FileMode.Open));
this.Controls.Add(btTest);
anjumathi kumarPosted Aug 1, 2011, 2:37 AM
Benjamin KemnerPosted Aug 1, 2011, 2:29 AM
Do you have an image url to use in button like "C:\temp\test.jpg" or "http://www.example.com/test.jpg"?