Search

You searched for the word(s): userid:777459

Matching Posts

  • Re: problem in file creation time

    This strange date ~year 1600 appears if file is not exist/found. Try to map your path by Server.MapPath. Better to use System.IO.FileInfo to see what's wrong.
    Posted to Getting Started (Forum) by dsalko on 4/3/2008
  • Re: width of dropdownlist and item

    If you take a look at drop down list in Firefox or Safari - you'll see that dropdown part will be extended to fit items text. But in IE 6 this is impossible :( You can look for custom drop down list solutions.
    Posted to Web Forms (Forum) by dsalko on 3/18/2008
  • Re: Drop Down List Help!

    Try to use AutoPostback=true and DDL method DataBind. Databind should update the values.
    Posted to Web Forms (Forum) by dsalko on 3/18/2008
  • Re: System.Net.Mail and SpamAssasin

    Thanks, PWick. But it looks like a bit different problem. As you can see there are one big problem with base_64 transfer-encoding, and I think that I need to use something else as transfer-encoding for my message. Yet, not sure. Your help is greatly appreciated.
    Posted to Web Forms (Forum) by dsalko on 3/14/2008
  • Re: System.Net.Mail and SpamAssasin

    Thanks, but I saw this answer before, it does not make any sense for me. I'm not using any special encodings... No matter, plain and/or html present.
    Posted to Web Forms (Forum) by dsalko on 3/14/2008
  • System.Net.Mail and SpamAssasin

    Hi. I'm using System.Net.Mail in asp.net 2.0 (i.e .net 2.0) to send email messages, but these emails marked as SPAM, specially by SpamAssasin. Look at the headers, please: X-ME-Bayesian: 0.000000 X-Spam-Status: Yes, score=5.9 X-Spam-Score: 59 X-Spam-Bar: +++++ X-Spam-Report: Spam detection software, running on the system "s8.uahoster.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or
    Posted to Web Forms (Forum) by dsalko on 3/14/2008
    Filed under: Net.Mail
  • Re: create folder dynamically and uploading files??

    Hi. Instead of if (!System.IO.Directory.Exists(uploadPath)) System.IO.Directory.CreateDirectory(uploadPath1); You should check twice: if (!System.IO.Directory.Exists(uploadPath)) System.IO.Directory.CreateDirectory(uploadPath); if (!System.IO.Directory.Exists(uploadPath1)) System.IO.Directory.CreateDirectory(uploadPath1); If there are no date directory - create it. If there are no IBM/MS directory - create it. Hope this helps.
    Posted to Web Forms (Forum) by dsalko on 3/4/2008
  • Re: Changing design of drop down list

    [quote user="norchnou"] That is the most expensive dropdown list ever made [/quote] You always can write such control from scratch. Many web developers do this way. A bit of javascript knowledge, a bit of css... simple wrap into custom control.
    Posted to Web Forms (Forum) by dsalko on 3/3/2008
  • Re: i need help creating folder dynamically and uploading files on it using c#?

    <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Button1_Click(object sender, EventArgs e) { if(FileUpload1.HasFile) try { string basePath = Server.MapPath("~/Images"); string folderName = DateTime.Now.ToString("yyyyMMdd"); // To get unique folder name string uploadPath = System.IO.Path
    Posted to Web Forms (Forum) by dsalko on 3/2/2008
  • Re: i need help creating folder dynamically and uploading files on it using c#?

    Hi. Some suggestions. string basePath = Server.MapPath("~/Images"); string folderName = DateTime.Now.ToString("yyyyMMdd"); // To get unique folder name string uploadPath = System.IO.Path.Combine( basePath, folderName); System.IO.Directory.CreateDirectory( uploadPath ); // To create directory I hope you can find System.IO.Directory.Exists and check directory for existance and manage file uploading. Hope this helps. I think the task is pretty easy.
    Posted to Web Forms (Forum) by dsalko on 3/2/2008
Page 1 of 2 (13 items) 1 2 Next >