please answer ,i am new in C# . ( show a image & it name )

Posted by SHAHAB UDDIN under C# on 5/21/2012 | Points: 10 | Views : 2199 | Status : [Member] | Replies : 4
Dear friend ,
How can i do to show a image & it name when i Click a word button in windows form in C# but this name & image wii take in data_base or file ?.
Example :
A = Name : Apple , Image : Apple's image
B= Name : Boll , Image : Boll''s image
Please help me .
Note :
apple & ii's image
boll & ii's image
will stay in database or .exe file
ONLY Button A ,B ,C show in windows form.





Responses

Posted by: SHAHAB UDDIN on: 5/21/2012 [Member] Starter | Points: 25

Up
0
Down
How can i do to show a image & it name when i Click a word button in windows form in C# ?.
Example :
A = Name : Apple , Image : Apple's image
B= Name : Boll , Image : Boll''s image
Please help me .


SHAHAB UDDIN, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SHAHAB UDDIN on: 5/22/2012 [Member] Starter | Points: 25

Up
0
Down

How can i do to show a image & it name when i Click a word button in windows form in C# ?.
Example :
A = Name : Apple , Image : Apple's image
B= Name : Boll , Image : Boll''s image
Please help me .
Note : apple & ii's image
boll & ii's image
will stay in database or .exe file


SHAHAB UDDIN, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SHAHAB UDDIN on: 5/22/2012 [Member] Starter | Points: 25

Up
0
Down
Dear friend ,
How can i do to show a image & it name when i Click a word button in windows form in C# but this name & image wii take in data_base or file ?.
Example :
A = Name : Apple , Image : Apple's image
B= Name : Boll , Image : Boll''s image
Please help me .
Note :
apple & ii's image
boll & ii's image
will stay in database or .exe file
ONLY Button A ,B ,C show in windows form.

SHAHAB UDDIN, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anbuselvanit on: 5/22/2012 [Member] Starter | Points: 25

Up
0
Down
hi!
first you have to create a folder, in which paste the images you have for apple and boll.
In form you have to place a picture or image control.
Then place button name it as A, when you click that button set the image path + image name from data base.
Before all of this create a table with letter and image columns.
In letter column insert A and in image column insert image name with .jpg

ANBUSELVAN A C

SHAHAB UDDIN, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response