Save image to database using asp net

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 80

  • @jezzyfizzo
    @jezzyfizzo 9 лет назад +5

    Thank you sir, this video was perfect!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 лет назад +2

      +Ryan Christie Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      Dot Net & SQL Server training videos for web developers
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      You can order DVDs for offline viewing using the link below
      www.pragimtech.com/Order.aspx
      Code Samples & Slides are on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use our channel
      ruclips.net/video/y780MwhY70s/видео.html
      To receive email alerts, when new videos are uploaded, please subscribe to our channel
      ruclips.net/user/kudvenkat
      Please click that THUMBS UP button below the video, if you like the videos
      Thanks a million for sharing these resources with your friends
      Best
      Venkat

  • @osamaissa363
    @osamaissa363 3 года назад

    Dude you're AWESOME! Your videos are always perfectly explained and I always get what I need from them. Keep up the good work.

  • @Eve985
    @Eve985 7 лет назад

    short and precise, with all the necessary information in it. thank you so much !

  • @optimistms
    @optimistms 2 года назад

    Very nice tutorial. It gave me a lot of confidence to move ahead

  • @Suecia2020
    @Suecia2020 9 лет назад +1

    God bless you ! from Venezuela.

  • @johnsakala6871
    @johnsakala6871 8 лет назад

    I can't thank you enough Sir, thanks a lot & may God bless you!

  • @Mlegendaryone
    @Mlegendaryone 6 лет назад

    Thanks , i have learnt a lot from your tutorials.

  • @alpharomeo5123
    @alpharomeo5123 6 лет назад

    Bro you are A professional!

  • @muhammadrehbarsheikh8498
    @muhammadrehbarsheikh8498 9 лет назад +1

    thank you very much venkat sir, & god bless you !
    love u sir...

  • @conejosoad
    @conejosoad 2 года назад

    Thanks, your explanation was good!

  • @orlandoromo8270
    @orlandoromo8270 7 лет назад

    Thank you sir, that is that what I need to finish my school project

  • @ghayurhaider7303
    @ghayurhaider7303 8 лет назад

    Very helpful Video. I appreciate your work. Thankyou

  • @Dacelirb
    @Dacelirb 6 лет назад

    GRACIAS POR TANTOOOOO
    Era lo que buscaba :)

  • @guycamu8873
    @guycamu8873 6 лет назад +1

    Hi Kudvenkat I followed the series (169, 170 and 171) of insert image in database render the images on image label as well as in grid view
    you did an outstanding job. By any chance have you did a similar video about how to edit/update the same varbinary images
    from the database? Again thanks for your help

  • @unimapsportscomplex86
    @unimapsportscomplex86 7 лет назад

    very clear explanation. Thanks alot!

  • @binoyroy2141
    @binoyroy2141 9 лет назад +3

    Sir, I am a great fan of you. All of your tutorials are very nice and easy to learn. Sir can you please upload full series video tutorial of 3- tier architecture in asp,net .....Thanks

  • @shahzadhafeez9424
    @shahzadhafeez9424 6 лет назад

    really amazing job well done and thank you very much

  • @TheYTviewer6
    @TheYTviewer6 9 лет назад +1

    Thanks alot sir! I have learned so much from you. Just one question, why use "Path.GetFileName" when u can just use "postedFile.Name" as the fileName?

  • @bhaveshbarshniya5179
    @bhaveshbarshniya5179 6 лет назад +1

    sir im getting exception error in below line
    string cs = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString;
    what should i do connection string is wrong i think

    • @dtab3635
      @dtab3635 5 лет назад

      Yes connection string is wrong because your database name is probably different so just change "DBCS" with "Your database name"

  • @ambadasgandal6835
    @ambadasgandal6835 6 лет назад

    sir will you please tell me that which Microsoft SQL server management studio should download for windows 8 OS and visual studio 10

  • @grin4329
    @grin4329 7 лет назад +2

    thank you kind sir you just saved my ass from failing college

  • @davidespada01
    @davidespada01 9 лет назад +1

    thank you sir..
    so are we coming back to forms ? and dose the jquery tutorial finished "it was grate i dont know what left coz you covered all the nice stuff there " ? what about the mvc ?
    Thanks again your amazing sir

  • @norza001zamak2
    @norza001zamak2 8 лет назад +1

    this is my error canyou help me
    "Implicit conversion from data type varchar to varbinary(max) is not allowed. Use the CONVERT function to run this query."}

  • @user-jq1oi6ur2x
    @user-jq1oi6ur2x 6 лет назад

    This doesn't work for me. When I check the bytes parameter, its length is massive, but when I put it in the database it only saves as 0xFF, with a length of one (select len(photo)). Is this compatible with SQL Express?

  • @neerajupadhyay1509
    @neerajupadhyay1509 8 лет назад

    Dear sir i have this problem can you pls help me
    I have a pblm in image uploading that it is showing an error that "Error converting data type nvarchar to int" and showing on cmd.executenonquery();

  • @raheelshahzad8721
    @raheelshahzad8721 8 лет назад

    Sir tell me which place image are uploaded (physically) and real time project is correct??

  • @Lhsbysareena
    @Lhsbysareena 2 года назад

    Sir can we save a pic in a folder through fileupload and store the path into the table na.

  • @chenchi6623
    @chenchi6623 7 лет назад

    Very helpful, thanks...

  • @nasirahmed4618
    @nasirahmed4618 9 лет назад +1

    Hello sir,
    Can you please upload a video on how to play video files in asp.net webforms application.
    I have tried many ways.
    But always loved the way what u teach.
    So please can u upload a video on this topic.

  • @predicasiones1
    @predicasiones1 8 лет назад

    i am getting an error when creating store procedure: An explicit value for the identity column in table 'operadores' can only be specified when a column list is used and IDENTITY_INSERT is ON.

  • @GG_Booboo
    @GG_Booboo 4 года назад

    Thanks for the great explanation! Would this still work with storing image to filestreams in MSSQL?

  • @troybryantIII
    @troybryantIII 9 лет назад +2

    would you do one on PDF's / Word documents that would be great. Either way thank for for the videos you do

  • @norza001zamak2
    @norza001zamak2 8 лет назад

    bro please help 1 Line in your code i try to convert this 1 line but cannot
    byte[] bytes = binaryReader.ReadBytes((int)stream.Length); = C#
    my convert to VB = Dim bytes As Byte = binaryReader.ReadBytes((Int()stream.Length)

  • @ShiatsuPT
    @ShiatsuPT 6 лет назад

    I can't thank you enough

  • @zaheeralam1868
    @zaheeralam1868 7 лет назад

    sir please tell me link to upload videos with large size ??

  • @malborodiscus
    @malborodiscus 8 лет назад

    Hi Sir I am having the same problem in uploading the image. I am getting the following error "Error converting data type nvarchar to int and it appears when cmd.executenonquery();
    Please can you advise me. Many Thanks for your Tutorials

  • @ovuokeaghwotu2389
    @ovuokeaghwotu2389 7 лет назад

    Great tutorial Kudvenkat ! Thank you so much. I have a question - How can you make the image display on the same page? I want users to upload images of their signature and view it beside the hyperlink when they click. What about replacing the image with another to update their signature?

    • @TechEreb
      @TechEreb 3 года назад

      Hey :) You could use the hyperlink.NavigateURL (effectively the same as Response.Redirect) to redirect to the same page, adding the Id. Which you could have both the upload photo functionality and read functionality in the same page. By using asp:Panels, you could even hide the upload panel on the same page if there's an ID in the URL and display the image.

    • @TechEreb
      @TechEreb 3 года назад

      Just seen, this is 4 years ago 🤣 My response probably isn't needed now.

    • @ovuokeaghwotu2389
      @ovuokeaghwotu2389 3 года назад

      @@TechEreb Thank you anyways! I use the MEAN and MEVN stack now. I hope you're well.

    • @TechEreb
      @TechEreb 3 года назад

      @@ovuokeaghwotu2389 I am good, thank you! I hope you're well also :) You're onto a lot more complex stuff by the sounds of it ^^

  • @teklehaimanotatikilt1435
    @teklehaimanotatikilt1435 6 лет назад

    teacher i am facing problem in that how to store and retrice image from database using hibernate please guide me

  • @amadorgabriel_
    @amadorgabriel_ 4 года назад

    Perfeição divina, agradeço

  • @Lhsbysareena
    @Lhsbysareena 2 года назад

    Sir my new id not getting updated. Remains 0

  • @SAIDHUMOUD
    @SAIDHUMOUD 6 лет назад

    Think you, how can I display varbinary into gridview as image please.

  • @lloydtatendachimanga1424
    @lloydtatendachimanga1424 4 года назад

    worked for me thanks

  • @sovitmaharjan6177
    @sovitmaharjan6177 5 лет назад

    is there a video on editing data - updating old image with new image

  • @raydeleon7806
    @raydeleon7806 6 лет назад

    do you have any tutorial for base64?

  • @ahmedfasweeh8473
    @ahmedfasweeh8473 6 лет назад

    Good stuff

  • @hemashreel
    @hemashreel 6 лет назад

    Column name or number of supplied values does not match table definition. i m getting this error

  • @techanidea9205
    @techanidea9205 7 лет назад

    sir. how to open my save files in asp.net in proper way...
    please sir rply .

  • @mohitpathak8284
    @mohitpathak8284 9 лет назад

    I have a pblm in image uploading that it is showing an error that "Error converting data type nvarchar to int" and showing on cmd.executenonquery();...................................can anyone help me pls

    • @mohitpathak8284
      @mohitpathak8284 8 лет назад

      hey anyone found the solution for this particular pblm

    • @mohitpathak8284
      @mohitpathak8284 8 лет назад

      if found pls reply me i will very thankful to you

    • @norza001zamak2
      @norza001zamak2 8 лет назад

      "Implicit conversion from data type varchar to varbinary(max) is not allowed. Use the CONVERT function to run this query."} im have problem tooo

  • @esethun
    @esethun 8 лет назад

    how would you do this with a datetime column

  • @Lhsbysareena
    @Lhsbysareena 2 года назад

    I want to take the newid value to a variable and store it in a different table

  • @nitindj611
    @nitindj611 9 лет назад +1

    Thank you sir :-)

  • @shubhamkumardash7729
    @shubhamkumardash7729 8 лет назад

    hello sir ,
    how can i store DOB to Database from web page ?

  • @adhamabdalla8533
    @adhamabdalla8533 7 лет назад

    hey sir ,i need the code of the choose file button plzz!

  • @pratheekshakaranth5537
    @pratheekshakaranth5537 6 лет назад

    thank you :)

  • @nareshkumarsingh4594
    @nareshkumarsingh4594 5 лет назад

    jo image file Select kiye hai usko kisi imagebox me show to karwaiye sir..

  • @ganapathynaikar1075
    @ganapathynaikar1075 5 лет назад

    Sir same type of problem in java to to do

  • @nsikeleloaddy3693
    @nsikeleloaddy3693 7 лет назад

    Hi thanks for your code, can you be able to upload a demo of image upload in angularjs?

  • @raqibulAlam-su3jo
    @raqibulAlam-su3jo 9 лет назад +1

    thank you sir..

  • @RahulKumar-vj9dg
    @RahulKumar-vj9dg 4 года назад

    string filename = FileUpload1.PostedFile.FileName; this is not working to me

  • @sandeepmishra218
    @sandeepmishra218 6 лет назад

    how to save image through web cam into SQL server database using c# ?

  • @anushreedhote9251
    @anushreedhote9251 4 года назад

    how to read video file from database ?

  • @poesy3123
    @poesy3123 8 лет назад

    Sir Please Kindly upload How to play VIDEO and AUDIO in asp.net-C#. Please Sir It will be very useful for all.Thank You.

  • @ALLCAPS
    @ALLCAPS 4 года назад

    you might be the smartest MVC person in the world lol

  • @madanapalikishore7384
    @madanapalikishore7384 7 лет назад

    sir please teach the same example[Save Image into database] in Asp.net MVC with Jquery ...

  • @faridhuseynli265
    @faridhuseynli265 5 лет назад

    You save me!

  • @mohammadanamshahab814
    @mohammadanamshahab814 9 лет назад +2

    Really Sir I Appreciate It That You're Doing A Very Great Job....But Not More Great Than Allaah.... And Yeah He's Great Because He Made Such Great Humans Like You.... May He Gives You Hidaayah And Comfort In The World And In The Hereafter.... Sir I'm Having A Problem While Installing Server 2012 On My Windows 10 Because On Windows 10 Its Giving An Error While Installing .NET Framework 3.5.... Please Help Me For This.... I'll Be Highly Obliged....

  • @navjotsingh2457
    @navjotsingh2457 3 года назад

    tysm

  • @norza001zamak2
    @norza001zamak2 8 лет назад

    you have vb code thank sir ..

  • @JaiSreeRam82-Srikrishna
    @JaiSreeRam82-Srikrishna 6 лет назад

    string cs = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString;
    i got this error .