So I have this mini project i found online that pretty much is create a Trading card browsing software in C#.
I created a database with a table using server explorer in VS Windows Forms called Trading_Cards_DT
that has a table called Trading_Cards
Create Table Trading_Card_Info(
ID int,
fullName varchar(30),
HP int,
Attack int,
Resources int,
TypeCreature varchar(30),
Faction varchar(30),
Color nvarchar(20),
Picture Image
);
This is the columns in the table i want to implement and I also started inserting data into the Table as well but I don't know how to insert images and then retrieve all this data back onto a Windows Form layout.
I want to use a listBox in Forms to display only the name of the character in the list and when selected shows all the data about him not only the Display Member, Value Memeber, and Selected Value.
I used this video: https://www.youtube.com/watch?v=arA-3z49g8U To learn the basics but I also wanna do more but I can't find a source that shows me how to store the image initially in the database and then retrieve it in C#.