Click here to Skip to main content
15,888,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello,i need some help the problem is i have data base that have 50 records for cars and
i want to insert license (image) for every one of them (that's not the problem i did that but here is it ) i want to insert a differnt years of license image into same record using dropdown list (ex: when i use drop down list years will appear and every one of them will be a licensed image inside them for the selected can that i already selected


----note: i don't want to give me full answer just if u understand the question tell me some tips or where should i start search.



Thank u for help :)

What I have tried:

Iam using sql datasource with databind so i don't if that will help me (Iam new in asp.net try to learn new things)
Posted
Updated 13-Mar-17 22:30pm
Comments
Karthik_Mahalingam 14-Mar-17 4:23am    
you mean multiselect drop down with image?

1 solution

Here is the idea.

1. First of all, you should have a table named something like "Licenses" with Columns (CarId, YearOfLicense, Image).
2. When a Year is selected, you take the value and then run a insert query in this table against the CarId selected with the Image.
 
Share this answer
 
Comments
Member 13044689 14-Mar-17 5:10am    
thank u my friend, my problem was like i stuck in room with no door to leave and i have open window in front of me and i only think that the only thing can get out of this is this door so, thank u my friend
Nice lines. Most welcome buddy. :) Stay connected, check my profile for details.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900