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


all groups > asp.net datagrid control > july 2007

exporting to excel
Posted by Vince13 at 7/27/2007 9:34:42 PM
I am attempting to export a DataGrid to Excel. I have tried code from this link: http://www.codeproject.com/office/export.asp?df=100&forumid=155463&exp=0&select=1703842 and it seemed like nothing happened. I also tried the code here: http://www.c-sharpcorner.com/UploadFile/DipalChoks...more >>

DropDownList that is always available or a set of radio buttons.
Posted by Mufasa at 7/27/2007 4:45:13 PM
I want to be able to have the user select a value from a drop down list without having to put each record in an update mode. I'd like to have it that all of the records show up with a drop down list with the value they previously selected and they can just go down the list and then press updat...more >>

Datagrid Style Question
Posted by Bill Rossi at 7/26/2007 3:41:07 PM
I would like to have the line between certain columns in my datagrid darker or a different color than the other lines between columns. Does anyone know how to accomplish this? Thanks in advance. Bill Rossi ...more >>

Displaying the id/PK in a gridview?
Posted by eagle at 7/18/2007 7:15:38 AM
So how does everyone hide the primary key in a gridview with a datasource to a table, let's say. If you don't display it, then you can't update the records. Users don't want to see this field, particularly if it's a guid. Example: Select ID, ProductName from tblProducts is the datasource ...more >>

using buttons in a gridview
Posted by eagle at 7/9/2007 12:21:33 PM
In the following article, it says to have a button ina gridview, you need to capture the ItemCommand event. Well, there is no ItemCommand event in the gridview. So I use the RowCommand. The Article says to use the e.item.itemindex to determine the row that was selected, well the RowCommand...more >>

DataFormatString for currency?
Posted by Kat at 7/8/2007 10:08:46 PM
I have tried to set a gridview column to have a dataformatstring of {0:c2}, {0:c},{0:d2, {0:d}, none of which work, my values are still displaying as 19.0000. I want it to be 19.00 like any normal currency. Thank you for your help. ...more >>



DevelopmentNow Blog