all groups > asp.net datagrid control > august 2006 > threads for august 22 - 28, 2006
Filter by week: 1 2 3 4 5
Setting color for a single cell in a datagrid.
Posted by UJ at 8/28/2006 1:42:10 PM
How can I set the background color for a single cell dynamically in a
datagrid control? I know how to do the entire row but not the cell.
TIA - Jeff.
... more >>
Render to Excel - line break problem.
Posted by Q. John Chen at 8/27/2006 9:03:12 PM
All,
I posted this in asp.net group some time ago but didn't see any
respone. Just noticed this group.
I used DataGrid RenderControl to Excel. It works great except one
thing:
I have a cell that contain new lines - <BR> it rendered to the Excel as
multiple-rows.
I replaced the <BR> wi... more >>
Accessing data grid column
Posted by John at 8/27/2006 5:00:07 PM
Hi
I have a hidden (visible=false) column on a gridview bound to a sql server
table. I am trying to access the field as;
For Each row As GridViewRow In grdEvents.Rows
If row.RowType = DataControlRowType.DataRow Then
bf = CType(row.Cells(row.Cells.Count - 1).FindControl("event id"),
... more >>
Nested datagrids -- events not handled correctly
Posted by Steve Hershoff at 8/27/2006 3:55:46 PM
Hi everyone,
I've got a strange one here. There are two datagrids on my page, one nested
within the other. I'll refer to them as the topmost and secondary
datagrids.
In the topmost datagrid's OnItemDataBound() method we check for the row in
which it's appropriate to add the secondary d... more >>
ASPNET won't connect to Northwind
Posted by Harlan Messinger at 8/25/2006 7:24:41 PM
I installed the Northwind database in my SQL Server developer version,
added [MyMachine\ASPNET] to the server logins, and in OSQL ran
use Northwind
GO
grant all to [MyMachine\ASPNET]
GO
These executed without error. But my test page is being denied access.
Learning to bind a data... more >>
BoundField.HtmlEncode = false does not work
Posted by Vyacheslav Lanovets at 8/24/2006 12:00:00 AM
I have some HTML-tagged data in the DataSource (which is a DataTable with 1
column).
I added 1 BoundField to my GridView and disabled its HTMLEncode at design
time.
But GridView still does not want to show formatted text. It shows HTML tags
instead :(
What should I do to use GridView to... more >>
|