Download: Internet File Select and Upload Dialog

O.k. its done. I set up a new site on StaticDust.Net where you can download the Internet File Select and Upload Dialog. There are a few things i like to add to the component - so leave your e-mail address on downloading or keep reading my blog to stay up do date and to make sure that you always get the latest version. http://www.staticdust.net/ It would be nice if you send me some feedback and wishes. If your product uses my component send me a mail with some details - i'll list products that use it on the StaticDust.Net product page.

BUGFIX: Internet file select and upload Dialog

I fixed the problem of displaing the icon of a file with uppercas exetnsion and store the information about allowed maxmal/total/minimal pixels for images and filesizes for upload in a session now. I fixed displaing image files that don't fit the defined pixels in the browse window on the internet server.I fixed the message when triing to upload a file that already exists.

HttpApplication Events and the use of Application, Session, User, Request & Response

I just wanted to write this down somewhere to keep it in mind but it may be useful for others to.     protected void Application_Start(Object sender, EventArgs e)    {        //Application        //Request    }    protected void Session_Start(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response    }    protected void Application_BeginRequest(Object sender, EventArgs e)    {        //Application        //Request        //Response*    }        protected void Application_PreSendRequestHeaders(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response    }    protected void Application_AuthenticateRequest(Object sender, EventArgs e)    {        //Application        //Request        //User        //Response*    }    protected void Application_PostRequestHandlerExecute(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response*    }    protected void Application_EndRequest(Object sender, EventArgs e)    {        //Application        //Request        //User        //Response*    }        protected void Session_End(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response    }    protected void Application_Error(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response    }    protected void Global_Error(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response    }        protected void Application_End(Object sender, EventArgs e)    {        //Application        //Request        //User        //Session        //Response    }* Produces output

OleDb + DataSet

<%@ Page language="C#" %><script language="C#" runat="server">  private void Page_Load(object sender, System.EventArgs e)  {    System.Data.OleDb.OleDbConnection _conn =      new System.Data.OleDb.OleDbConnection();    _conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" +      "Data Source=D:\\WebRoot\\data\\data.mdb";    System.Data.OleDb.OleDbCommand _cmd = conn.CreateCommand();    _cmd.CommandType = System.Data.CommandType.Text;    _cmd.CommandText = "SELECT Name FROM Users WHERE ID=1";    System.Data.OleDb.OleDbDataAdapter _adapter =      new System.Data.OleDb.OleDbDataAdapter();    _adapter.SelectCommand = _cmd;    System.Data.DataSet _dataset = new System.Data.DataSet();    _conn.Open();    _adapter.Fill(dataset, "UserTable");    _conn.Close();    if(_dataset.Tables["UserTable"].Rows.Count>0)    {      this.TextBox1.Text =        _dataset.Tables["UserTable"].Rows[0][0].ToString();    }  }</script><html><body><form ID="Form" runat="server"> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></form></body></html>