- string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
- string contenttype = FileUpload1.PostedFile.ContentType;
- using (Stream fs = FileUpload1.PostedFile.InputStream)
- {
- using (BinaryReader br = new BinaryReader(fs))
- {
- byte[] bytes = br.ReadBytes((Int32)fs.Length);
- }
- }
- }
How to replace Fileupload to Image.imageurl
how to replace Image1.ImageUrl to Fileupload1 in below code.

Sachin SinghPosted Mar 10, 2021, 3:55 PM
Rijwan AnsariPosted Mar 10, 2021, 3:39 PM
Bhavesh VankarPosted Mar 10, 2021, 11:37 AM