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