OpenFileDialog in web forms

G

Guest

Hi,

I am trying to include the above to allow users to browse files in web
forms. However, it seems a window utility. I am using the web namespaces:

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.OleDb;
using System.IO;

The compiler says:
c:\inetpub\wwwroot\passwordProtectCSharp\adminUserFile.aspx.cs(84): The type
or namespace name 'OpenFileDialog' could not be found (are you missing a
using directive or an assembly reference?)

Any idea? Thanks. -Dale
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top