User Profile

Collapse

Profile Sidebar

Collapse
nukiee
nukiee
Last Activity: Feb 28 '07, 04:24 PM
Joined: Jan 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nukiee
    started a topic HttpWebResponse - Status Code Check Issue
    in .NET

    HttpWebResponse - Status Code Check Issue

    I wanted to check the status code that comes back as response from the HttpWebResponse . So I used the following code -

    res = (HttpWebRespons e) req.GetResponse ();

    It's working great, but if I wanted to let the server know a date when I visited the server last using "IfModifiedSinc e" variable of the "req" object, the above piece of code throws an exception if the content was not modified since the...
    See more | Go to post

  • nukiee
    replied to DateTime Issue
    in .NET
    But in that case if the time is actually a GMT time and I am parsing it in EST, I will miss interpret the time - isn't that correct?...
    See more | Go to post

    Leave a comment:


  • this.Close will close the form that you are working with.

    If you have already created a thread, I presume that you have given it a variable name -

    System.Threadin g.Thread t1 = new System.Threadin g.Thread(new System.Threadin g.ThreadStart(s ome_function));
    t1.Start();// thread started
    t1.Join();// thread is waiting to be finished

    Now, if you really want to kill it -

    t1.Abort(...
    See more | Go to post

    Leave a comment:


  • nukiee
    started a topic DateTime Issue
    in .NET

    DateTime Issue

    Take a look at the blog - http://feeds.gawker.co m/gizmodo/full

    Look under the <pubDate>. Most of them appears as -

    <pubDate>Wed, 17 Jan 2007 09:18:15 EST</pubDate>

    When parsing this date using - (in .net 1.1)

    DateTime dt = DateTime.Parse( "Wed, 17 Jan 2007 09:18:15 EST");

    It fails. However if I put in "GMT" instead of "EST"...
    See more | Go to post
No activity results to display
Show More
Working...