ASP-NET-Samples

Wednesday, August 22, 2012

Convert Image to Byte[]


string imageFile = Path.Combine(Server.MapPath("~/Temp"), "sample.jpg");

byte[] buffer = File.ReadAllBytes(imageFile);


Posted by Prasad
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Post Older Post Home

ASP.NET Sample web links

  • Exporting data to Excel and CSV in ASP.NET MVC application
  • aspsnippets
  • csharp-corner
  • csharpdotnetfreak
  • csharpaspnet articles
  • aspdotnetcodes
  • DOTNET MIXER
  • MVC Samples
  • aspdotnetcodebook
  • Bind Gridview using Jquery
  • Generic Collections - Some Common List(T) Operations using C# 2.0 and VB.NET
  • DateTime Format in GridView ItemTemplate In Asp.net
  • JQuery + Asp.net
  • dailycoding

SQL Samples

  • Sql Date formates
  • Sql Date formates-2

HTML Tutorials

  • html-color-codes
  • Free Icons
  • CSS Gradient Button Generator
  • CSS Gradient Background Maker

JQuery Samples

  • jquerybyexample

Other Useful Links

  • Latest Software Downloads

Pages

  • ASP.NET
  • SQL
  • JQuery
  • CSS
Prasad. Picture Window theme. Powered by Blogger.