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 SkipVought 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: Lbob
  • Order by date
  1. Lbob

    web.mail + vbcrlf problem!

    Hi On the confirmation of a booking, I'm sending an email using web.mail, however, I've got a bit of a problem with it. I'm returning a block of data from SQL so I'm retruning it as one string with ";" as line separators so when I'm in .net I can process it. I'm then replacing ";" with a...
  2. Lbob

    Dynamic Buttons not firing on Client Server but work in Dev?!

    Hi I've got a datagrid that has dynamic buttons created in some of the cells. When the user clicks them, depending on the value in the cell, they'll either receive a confirmation form or an error message, both of which are forms in div tages so are just being shown & hidden accordingly. This...
  3. Lbob

    Rebinding Datagrid Problems

    Because i'm using it with dates across the top and people along the side, so you can see who's in or out. Lbob
  4. Lbob

    Rebinding Datagrid Problems

    Hi Thanks, I've changed it as you said, but now when I click on my book button which I've created dynamically in the grid, the grid disappears and my confirm screen isn't displayed. Lbob in my itemdatabound this is what I've got... btn = New Button btn.Text = "Book" btn.ID =...
  5. Lbob

    Rebinding Datagrid Problems

    Hi Me again....I've got a datagrid that is essentially a calendar. Within each cell I have a button that allows an event to be booked. When the button is clicked a confirmation screen appears which is a form within a div tag. When the user is happy with the information being booked, it is...
  6. Lbob

    Determine headertext on itemdatabound of datagrid cell

    Thanks I'll give it a go......! Lbob
  7. Lbob

    Determine headertext on itemdatabound of datagrid cell

    Hi I'm dynamically adding buttons in datagrid cells on the itemdatabound function. I'm also trying to determine which column I'm in and pull out the headertext of that column. This is what I've got so far Private Sub dgData_ItemDataBound(ByVal sender As Object, ByVal e As...
  8. Lbob

    Make entire row in datagrid clickable

    Hi I'm using .net 1.1 and want to make an entire row in a datagrid clickable. The datagrid is in a usercontrol that is viewed when the tab is selected, when the user selects a record in the datagrid, I want it to update a few textboxes on another usercontrol that is hidden until the user...
  9. Lbob

    Column number from Itemdatabound help

    Hi I want to alternate the color of the cells by column rather than row, but this depends on the content of the cell. How do I reference the column in the itemdatabound? This is what I've got so far... If e.Item.Cells(i).Text = "Empty" Then 'If column is even then use css Even, else use css...
  10. Lbob

    Help with dynamic controls in datagrid?

    Thanks that works a treat! Lbob
  11. Lbob

    Help with dynamic controls in datagrid?

    Hi I want to add 2 buttons dynamically in the datagrid itemdatabound. I'm using the following code. Private Sub dgData_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles dgData.ItemDataBound If e.Item.ItemType =...
  12. Lbob

    How to retrieve the RGB from a HEX number?

    Hi I'm trying to work out what the RGB of H8000000F is? Is there a way of doing it? Cheers Lbob
  13. Lbob

    ASP + IE problem

    Hi This is probably something really stupid but I can't work out why this is happening.....I've got IIS pws on my pc, I've created a website with an asp page. If I open that asp page in IE it displays the code and not the page itself! I can't figure it out, please help? Lbob
  14. Lbob

    Error: Can't create ADODB.Recordset

    Hi I've got an asp page that has some client side vbscript on that runs a SQL stored procedure. This works fine on 1 pc but I receive the can't create Active X object ADODB.recordset error on another pc and I can't work out why. Any ideas? Cheers Lbob
  15. Lbob

    Dynamic Columns in Temp Table

    I've worked it out..... Here's how to do it DECLARE @LT varchar(100) SET NOCOUNT ON CREATE TABLE #AdminSummary ( UserID int null ) DECLARE cursor_lt CURSOR FOR SELECT lt_name FROM lt WHERE loc_id = @LocID OPEN cursor_lt FETCH...
  16. Lbob

    Dynamic Columns in Temp Table

    What do you mean? The problem is I don't know how many columns there are going to be?
  17. Lbob

    Dynamic Columns in Temp Table

    Ok, is there another way of creating dynamic columns ?
  18. Lbob

    Dynamic Columns in Temp Table

    Hi I'm trying to create a temporary table that's made up of a number of dynamic columns, but I can't get it working. This is what I've got so far DECLARE @LT varchar(100) SET NOCOUNT ON CREATE TABLE #AdminSummary ( UserID int null ) DECLARE cursor_lt CURSOR FOR SELECT lt_name...
  19. Lbob

    Changing the class of an input box dynamically

    Excellent, thanks, worked a treat!
  20. Lbob

    Changing the class of an input box dynamically

    Hi I'm trying to change the class of an input box when a user clicks on a button. So far I've got document.form.elements("Txt").class = "norm" but it doesn't work Any help would be greatly appreciated Cheers Lbob

Part and Inventory Search

Back
Top