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...
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...
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 =...
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...
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...
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...
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...
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 =...
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
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.