Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jkl
  • Order by date
  1. jkl

    datagrid custom row colors

    oops. try this: Select Case e.Item.ItemType Case ListItemType.Item or ListItemType.AlternatingItem If e.Item.Cells(1).Text = "-1" Then e.Item.BackColor = System.Drawing.Color.Red End If End Select
  2. jkl

    Cookies in Sessions (Using ASP/VB)

    If you don't specify an expiration date for a cookie, the cookie is treated as an in-session cookie only. Do this to set the expiration date for one month. Public Sub setCookie(title, name, value) Dim cookie As new Web.HttpCookie(title) cookie.Values.Add(name, value)...
  3. jkl

    datagrid custom row colors

    Try something like this... ====================================== Sub dgOrders_ItemCreated(ByVal Sender As Object, ByVal e As DataGridItemEventArgs) Handles dgOrders.ItemCreated Select Case e.Item.ItemType Case ListItemType.Item or ListItemType.AlternatingItem Dim iNum As Integer =...
  4. jkl

    SQL Db connection problems

    instead of "Data Source=Dell2400", try using the IP of the machine, i.e. "Data Source=127.0.0.1"
  5. jkl

    Failed to start monitoring ...

    "Access denied to 'D:\Inetpub\wwwTEST2\registration\' directory. Failed to start monitoring directory changes." I have given full rights to the ASPNET user to the entire Inetpub directory. When I run "Check Server Extensions" there are no errors. I am running a total of...
  6. jkl

    Create my own spider??

    Is it possible to create my own spider, to read in the contents of an HTML page on another site, then regurgitate the contents of that page within my own site??
  7. jkl

    Urgent Oracle/SQL Query help

    Just to add to this. This * 1 workaround does not work, if I use any kind of join in the statement, which I need to do.
  8. jkl

    Urgent Oracle/SQL Query help

    In Ent. Mngr, I have an Oracle server as a Linked Server. When I execute a query such as "SELECT Total_Hours FROM Ora..Employees.TimeSheet"... ALL records in the recordset show as 0.00 If I change the query to "SELECT Total_Hours * 1 FROM Ora..Employees.TimeSheet&quot...
  9. jkl

    Datagrid, EditItem, TextBox JavaScript Focus Problem

    Yes the resultant client-side ID for the control is grdAppointments__ctl3_edtAppointmentDate and not the server-side, pre-compiled id that i gave it of edtAppointmentDate. But I found another way of accomplishing this. Because the clientID attribute is not available until after all server-side...
  10. jkl

    Datagrid, EditItem, TextBox JavaScript Focus Problem

    I have a datagrid with several items. When I click a link to "edit" an item, I want the focus of the page to be on the first textbox for that item, however this is not the case. When I click "edit", the page re-focuses to the top. Here's what I'm using to try to accomplish...
  11. jkl

    Need a check

    i'd say go with the check image. you'll run into font incompatibilities with non-windows users; i.e. poor mac people
  12. jkl

    cookie reading/writing problem

    grrr. still having issues with the expiry date. it'll set once when the pager loads, but if i refresh, the date goes to 1/1/0001 12:00:00 AM here are my functions: Public Sub createUserCookie() If Request.Cookies("userInfo") Is Nothing Then Dim newDate As DateTime =...
  13. jkl

    session variables

    no go on the iframe as this needs to be universally compatible withh all browsers. oh man, don't talk to me about bad design. the entire website structure is crap. when i started working here 2 months ago, i tooko one look at the directory structure and said "hey, would anybody mind if i...
  14. jkl

    session variables

    it's not so much "custom look". here are the features (hospital website): my articles - allows them to log the many articles they want to keep reference of my appointments - add/edit/remove any appointment they have coming up my prescriptions - keeps track of prescriptions and...
  15. jkl

    session variables

    articles are static html pages, that were renamed .asp about a year ago. no db source. both apps are part of the same "website" (i.e. domain & url)
  16. jkl

    session variables

    jack, your idea would work, EXCEPT: 2. they want to offer an "remember me" feature which allows the person to "auto-login" when they come back to the site. so that they can go to any of their custom pages without loggin in. therefore, there is not one gateway into the...
  17. jkl

    session variables

    yeah, the session route is pretty much all but closed. i'm now onto a cookie solution for this. having a fwe issues with the cookie expiry (see other post), but at least i can read the same cookie from different apps and from ASP pages. so right away, i'm miles closer than i was with sessions...
  18. jkl

    cookie reading/writing problem

    ah ha!! figured out the problem. it wasn't in the code to read the cookie. the problem was the cookie was not being written in the first place, so it did not exist. i forgot to add this line to the cookie population stuff. Response.Cookies.Add(newCookie) Now I have another problem. I can't...
  19. jkl

    cookie reading/writing problem

    I'm getting the following error: [NullReferenceException: Object reference not set to an instance of an object.] It's referencing line 70 (indicated with ** below) in my codebehind: Dim newCookie As New HttpCookie("userInfo") newCookie.Expires = "1/1/2002&quot...
  20. jkl

    session variables

    how does the database method work when there's no common identifier that follows the user from application to application across the entire website?

Part and Inventory Search

Back
Top