Click here to Skip to main content
15,890,741 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: MVC Model Binding Pin
MadDashCoder20-Jul-16 7:12
MadDashCoder20-Jul-16 7:12 
GeneralRe: MVC Model Binding Pin
F-ES Sitecore20-Jul-16 22:10
professionalF-ES Sitecore20-Jul-16 22:10 
AnswerRe: MVC Model Binding Pin
jkirkerx3-Aug-16 8:01
professionaljkirkerx3-Aug-16 8:01 
QuestionMessage Closed Pin
18-Jul-16 14:50
MadDashCoder18-Jul-16 14:50 
AnswerRe: Switching From Textbox To Dropdownlistbox Pin
Richard Deeming19-Jul-16 2:04
mveRichard Deeming19-Jul-16 2:04 
Questionasp.net Pin
Member 1263882918-Jul-16 5:41
Member 1263882918-Jul-16 5:41 
QuestionRe: asp.net Pin
ZurdoDev18-Jul-16 5:58
professionalZurdoDev18-Jul-16 5:58 
AnswerRe: asp.net Pin
jkirkerx3-Aug-16 8:11
professionaljkirkerx3-Aug-16 8:11 
When your image uploads, it's usually uploaded as a base64 string that represents bytes.
You can just save the Base64 string in the database column, or convert the string to a byte.array, and save the image as bytes in the database. With bytes, you can write the byte array to the disk drive as an image. So get use to converting the data. Another cool thing about storing as bytes is that you can pump those bytes into a function to resize the images, tweak it and send it back out as bytes.

Remember in your database design, to include the filename, the url of where you would want to store the image for the browser to fetch, and the type, jpeg, png.

I have post from 3 months ago that talks about this.

QuestionSetup for a web application Pin
Member 1027267614-Jul-16 3:11
professionalMember 1027267614-Jul-16 3:11 
AnswerRe: Setup for a web application Pin
koolprasad200314-Jul-16 18:30
professionalkoolprasad200314-Jul-16 18:30 
AnswerRe: Setup for a web application Pin
John C Rayan18-Jul-16 2:03
professionalJohn C Rayan18-Jul-16 2:03 
QuestionWhat's new in ASP.NET? Pin
Piya2713-Jul-16 19:08
Piya2713-Jul-16 19:08 
AnswerRe: What's new in ASP.NET? Pin
Richard MacCutchan13-Jul-16 21:52
mveRichard MacCutchan13-Jul-16 21:52 
AnswerRe: What's new in ASP.NET? Pin
ZurdoDev14-Jul-16 5:11
professionalZurdoDev14-Jul-16 5:11 
AnswerRe: What's new in ASP.NET? Pin
koolprasad200314-Jul-16 18:25
professionalkoolprasad200314-Jul-16 18:25 
AnswerRe: What's new in ASP.NET? Pin
John C Rayan18-Jul-16 2:05
professionalJohn C Rayan18-Jul-16 2:05 
AnswerRe: What's new in ASP.NET? Pin
petter201231-Aug-16 14:12
petter201231-Aug-16 14:12 
Questionwhat datasource control to use on a web from 2010 Pin
dcof12-Jul-16 11:58
dcof12-Jul-16 11:58 
AnswerRe: what datasource control to use on a web from 2010 Pin
petter201231-Aug-16 14:22
petter201231-Aug-16 14:22 
QuestionNeed help Regarding ADFS SSO implementation in Asp .net via SAML 2.0 Pin
Member 1263115512-Jul-16 4:09
Member 1263115512-Jul-16 4:09 
AnswerRe: Need help Regarding ADFS SSO implementation in Asp .net via SAML 2.0 Pin
Richard MacCutchan12-Jul-16 5:29
mveRichard MacCutchan12-Jul-16 5:29 
QuestionI need to add a Add New Button to the right of the heading. Pin
JBHowl12-Jul-16 3:18
JBHowl12-Jul-16 3:18 
AnswerRe: I need to add a Add New Button to the right of the heading. Pin
jkirkerx15-Jul-16 11:31
professionaljkirkerx15-Jul-16 11:31 
QuestionMVC 4 into ASP.net core conversion difficulties Pin
Member 1058746111-Jul-16 22:57
Member 1058746111-Jul-16 22:57 
AnswerRe: MVC 4 into ASP.net core conversion difficulties Pin
jkirkerx15-Jul-16 11:22
professionaljkirkerx15-Jul-16 11:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.