Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


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 >>



DevelopmentNow Blog