title: Image path is not store in table field as a string from fileupload
body: <p>i have use ascx it contain fileupload control to get the selected image path as a string in data base table filed using linq, and ascx is used in dotnetnuke module page.
  there is code which i have use in my ascx.cs but it not get the image path from fileupload control</p>
  
  <pre><code>        FormViewRow row = FormView1.Row;
          FileUpload FileUpload1 = (FileUpload)row.FindControl("FileUpload1");
  
          string filename = "";
          string path;
          if (FileUpload1.HasFile)
          {
              filename = FileUpload1.PostedFile.FileName;
              path = Server.MapPath("DesktopModules/IndiesStore/Images/")+               
              FileUpload1.FileName;
              string onlyname = path.Substring(path.LastIndexOf("\\") + 1);
  
              IC.Img = "DesktopModules/IndiesStore/Images/" + onlyname;
  
          }
  </code></pre>
  
  <p>there is an any solution of this....?</p>