Friday, June 29, 2018

insert picture to SQL and display in gridview

Hi,

I hope this is the right subreddit for the question i'm about to ask.

I'm trying to make a webform site where i can manage my schools lockers to see which student who has a locker. The only problem i have is that i have no clue on how i can upload pictures into my SQL server and display it in the gridview.

I don't want the pictures pre added in the sql server and i should be able to delete the picture when the student does'nt have the locker anymore.

I know i'm missing somthing, but i don't know what.

I have tried google and i have no clue on how i can code it. I have pasted my SQL, .aspx, aspx.cs code in pastebin, if you want i can paste it here.

SQL: https://pastebin.com/qQ7P3Rba

aspx.cs: https://pastebin.com/EJiMzRsp

aspx: https://pastebin.com/xMbvuThN

I hope you can help me complete my project! Thanks

insert picture to SQL and display in gridview Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team