how to display image filename which is uploaded through fileupload control in asp.net [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have fileupload control to upload image in asp.net.After uploading a file, When i want to see the record I need a image with filename.How i need to get and display in front end.

How about fileUpload1.FileName?
fileUpload1.SaveAs(Server.MapPath("~\\images")+"\\"+fileUpload1.FileName);

Related

How to create this project [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
How can I create an image gallery in which I can add more than one image, display it, and move between images in C# Windows Form App
How can I create an image gallery in which I can add more than one image, display it, and move between images

Uploading Base64 String Image And Inserting The Path To DB C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
I have Base64 String as parameter and I want to upload that image somehow and I need a link something like this (https://www.developer.com/wp-content/uploads/2021/08/StackOverflow-Developer-Survey.png
) in the end. In that way I can insert it to db as string and can call it back when I need it. How can I do this, any ideas?
By the way, if there is any other way to upload it and having a path I can return in the end its also OK for me.

How to open a file using a text path [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to write a code in click event of Open button which should Open File Specified in Textbox.
Is there any code wich can do this Task?
maybe System.Diagnostics.Process.Start(textBox1.Text)

How to import images to my application in C#? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new in C# programming, I just wanted to know how can I import some bitmap images to my form application for future processing and then show it to my image box?
You can add the bitmap image as an embedded resource and access it from code for processing.

Retrieve Image From Program Resources [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to add a image to an image list from a PNG stored in the program resource file. How might I go about doing that at runtime?
Try it like this:
imageList1.Images.Add(Properties.Resources.myImage);

Categories