In my web application (made with DynamicData 4.0) I want to add the ability to insert files (.doc, .xls, .png, .jpg ...) into database table (SQL SERVER Image).
That is relation one to many. What would be the best way to do that?
Let's say, that I have table FRIENDS and table FILES.
I tried the way, that I added column FRIEND_ID into FILES table and made relation to this to tables.
Then I want to use DbImage field template, which I would extend, so that it will support other files, not just images.
For files, that are not images I will show some default thumbnails (doc, xls ...).
Problem with relation that I have is, that I have to insert files with selecting FILES table and then select FRIEND.
I would like to insert Files to FRIEND from FRIEND table.
Any idea? I hope I didn't complicate to much.
Short description of what I want is: I want to add 1 or more files to friend on same page.
Thanks in advance.
View Complete Post