upload cv


hi ev1

i want upload cv in doc format , show in datagirdview

plz ev1 me how can that

there control in vs 2008,vs2010 known file upload.use in datagridview

you might need use method, findcontrol in datagridview find fileupload control.

  if (fileupload1.hasfile)
            {
                string fileext = system.io.path.getextension(fileupload1.filename);

                if (fileext == ".doc")
                {
                    s = mappath("img");
                    s = s + "/" + fileupload1.filename;
                    fileupload1.saveas(s);
                }
                else
                {
                    response.write("invalid upload file format");
                }




Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

SQL Server 2008 - High Memory Usage

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

Problem In Configuring Biztalk 2009 In Creating A ReceivePort.When I Try To Create A Receive POrt I Got This Error