Search

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

Matching Posts

  • Loop through data?

    I want to check the dataset for a value and then use a style to edit how the display looks. In other words for each task that is complete I want to change the text to gray and put a line through it. Can this be done without writing a complex loop independant of a web form?
  • Re: Cookies not working

    Response.Redirect("nextpage.aspx") It should work, but it doesn't.
    Posted to State Management (Forum) by chekmate on 8/18/2008
  • Re: I need help with Cookies

    I tried what you suggested but it didn't work either. To test it again, I wrote this: If Request.Cookies( "EmployeeID" ).Value = 3 Then Response.Write( "Hello" ) It gives me this error.... Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException
    Posted to Getting Started (Forum) by chekmate on 8/17/2008
  • Re: I need help with Cookies

    It's not working with sessions either!! ARGH <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="JeffTest.aspx.vb" Inherits ="Sales_JeffTest" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns ="http://www.w3.org/1999/xhtml" > < head runat ="server"> < title > Jeff Test </ title > <
    Posted to Getting Started (Forum) by chekmate on 8/16/2008
  • I need help with Cookies

    When I view my site I can see the result of Response.Write(Request.Cookies( "EmployeeID" ).Value) which is the number 3, but nothing shows up from the formview. I am at a complete loss here. <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="JeffTest.aspx.vb" Inherits ="Sales_JeffTest" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    Posted to Getting Started (Forum) by chekmate on 8/16/2008
  • Re: Cookie Help

    Now I am able to see the cookie on the page I am writing it, but as soon as I redirect to the next page the cookie seems to disappear. For example, Response.Redirect( "/Admin/Default.aspx?id=" & Request.Cookies( "employeeid" ).Value) takes me to the page with the id set to a number, but once on that page I cannot read the value from the cookie itself
    Posted to Getting Started (Forum) by chekmate on 8/15/2008
  • Cookie Help

    My site was working a week ago, and now suddenly it isn't. I can't get it to read the cookies I am saving. Maybe you can help. This is how I am writing the cookie: Dim cookie As HttpCookie = Request.Cookies( "EmployeeID" ) If Request.Cookies( "EmployeeID" ) Is Nothing Then Response.Cookies( "EmployeeID" ).Value = Request.QueryString( "employeeid" ) Response.Cookies( "EmployeeID" ).Expires = DateTime.Now.AddDays(7) End If And now I can't
    Posted to Getting Started (Forum) by chekmate on 8/15/2008
  • Cookies not working

    Can someone tell me why I am not able to save the cookie as the value of the session? Response.Cookies( "EmployeeID" ).Value = Session( "EmployeeID" ) Response.Cookies( "EmployeeID" ).Expires = DateTime.MaxValue
    Posted to State Management (Forum) by chekmate on 8/14/2008
  • Re: LIKE in SQL to compare dates

    Limno, I took out the gridview and put in a new one and it worked fine. I wish I could send you the one that wasn't working, but I didn't save it. Do you think it could be I had a field, like an ID, that wasn't filled in and yet was required? Or would that produce an error? Anyway, thanks tons.
  • Re: LIKE in SQL to compare dates

    Okay, strange thing. Your query works perfectly when run as a test or by itself, but as soon as it is run in ASP.NET it fails. I have no idea why it wouldn't either. I am not changing anything. Hmm. Thoughts?
Page 1 of 9 (87 items) 1 2 3 4 5 Next > ... Last »