| Thread | Last Post | Replies |
|
| Displaying the id/PK in a gridview? | 19 Jul 2007 10:02 GMT | 1 |
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:
|
| Can't get text value of hidden (visible = false) column.. | 18 Jul 2007 11:41 GMT | 4 |
I'm trying to get the value of a cell in my DataGrid_UpdateColumn() event handler. I have a datagrid with 4 columns: 1 - Name, 2 - Description, 3- Button Column (Edit,Update,Cancel), 4- Primary Key Value for row
|
| using buttons in a gridview | 12 Jul 2007 13:45 GMT | 2 |
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 ...
|
| DataFormatString for currency? | 10 Jul 2007 08:04 GMT | 3 |
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.
|