Hi

Author: jkr_032 | Posted on: 12/14/2008 9:38:30 PM | Views : 298

Thank you....

ya your right...uploading image path is not working in server...i got "bject reference not set to an instant of an object" error... this is my image save and image path uploaded code...

code = txtcode.Text;

title = txttitle.Text;

//img = FUimg.PostedFile.FileName.ToString();

desc = txtdesc.Text;

 

if ((FUimg.PostedFile.ContentLength > 0) && (FUimg.PostedFile.FileName != ""))

{

 string ApplicationMapPath = Server.MapPath(@"~/MyPictures/");

 System.Security.Permissions.FileIOPermission fiop = new System.Security.Permissions.FileIOPermission ...

Go to the complete details ...