Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Annie #1
Datagrid template column and Boolean table field?
Hello guys,
I have a template column that is bound to a database field with True and
False value. So it displays True or False as per item.
The code is as:
<tr>
<td align="left"><b>Colour Screen</b></td>
<td><%# DataBinder.Eval(Container.DataItem, "ModelColour") %></td>
</tr>
However, i don't want to show True or False maybe display it as Yes or No or
anything customized.
How can i do it with above code?
TIA
Annie Guest
-
How to set different label value in datagrid template column?
Hi all, I have a datagrid with a stock label "lblStock". Here's is what i what to do : 1. If the quantity value retrieved from database is = 0... -
Formatting datagrid column to show boolean as Yes/no instead of truefalse
Is there a way to change the formatting expression of a column in the property builder of the datagrid to make boolean values appear as yes/no... -
datagrid question: template column
how to capture button click event (created under template column) ? should i used javascript? could you give me sample program? and is it possible... -
Bound Column or Template Column (w dAdapater?) in DataGrid
I am able to get the data using DataAdapter and the DataReader. I am more inclined to use DataAdapter because I want to update the data on the SQL... -
DataGrid / Template Column
I have a DataGrid with a template column (displaying a checkbox). The rows of the datagrid are being populated from a db table. Currently, only one...



Reply With Quote

