How Do I Show images on Asp.Net Website with Linq Query? -


I can add images to my website without any problems. With my code below..I am using linq and asp.net c # ....

  ImageDatabaseDataContext imdb = New ImageDatabaseDataContext (); Doshiyalar DS; Katilymi Katie; Secure Zero btnEkle_Click (Object Sender, EventArgs E) {If (FileUpload1.FileContent! = Faucet) {String dosyaAdi = Guid.NewGuid (). ToString (); Byte [] icerik = FileUpload1.FileBytes; String dosyaTipi = FileUpload1.Posted file Content type; Try {ds = new dosyalar (); Katie = New Katichi (); Kt.AdSoyad = txtAdSoyad.Text; Kt.BolgeMudurlugu = txtBolgeMudurlugu.Text; Kt.Gorevi = txtGorev.Text; Kt.NoktaAd = txtNoktaAd.Text; Kt.NoktaTuru = txtNoktaTuru.Text; Imdb.Katilimcis.InsertOnSubmit (kt); Imdb.SubmitChanges (); Int idsi = kt.KID; Ds.DosyaAD = dosyaAdi; Ds.DosyaICERIK = icerik; Ds.DosyaTIP = dosyaTipi; Ds.KID = IDE; Imdb.Dosyalars.InsertOnSubmit (DS); Imdb.SubmitChanges (); } Catch (Exception pre) {lblHataci.Text = ex.Message; }}}  

This is my question..how do I show my images that I was saving on SQL Server? With linux queries on asp.Net website?

Thank you for your reply ...

The solution can be used until you receive the contents of the image from the database until the question. It does not depend on any linq-to-sql.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -