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

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.

Related

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 read and write to stylesheet in asp.net mvc? [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 7 years ago.
Improve this question
I want to let my users edit css files.
so I need to load (Read) one of my stylesheets to a textarea and then save (write) it into same stylesheet,
how i can do it?
It's just a file containing plain text. Simply load its contents and then save it back.. Simple File methods should be ok, maybe implement some kind of a text highlighter to allow nicer editing.

How to find the path of a file using asp.net [closed]

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 am creating a website in which I need to find out the path of the downloaded files.For instance if there is an image Image1.jpeg, downloaded and saved somewhere in the system.Is there a way through which we can find out the path of that image?
If you mean: how to retrieve an uploaded image, the answer is: not possible. An uploaded image (or just any file) consists of a name an a list of bytes. You have to save it yourself.
If you are asking about downloaded files on the client, well, they are on the client, so outside of your control.

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

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);

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