Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
jmawebco #1
Datagrid Formatting
I am trying to find out if it is possible to format a datagrid to
display results in teh following manner;
Job: 5453 South Ridge Lane Contract: CINERGY 2005
Claim # Date of Loss Claimant
20052254 09/23/2005 Edward Johnson
Basically data for a job is selected using a stored procedure and I
want to disply it as shown above by using the datagrid witn
TemplateColumns and ItemTemplate.
Is this possible? If anyone know if this can be done or how to do it I
would very much appreciate some assistance.
Thanks,
jmawebco
jmawebco Guest
-
datagrid text formatting
Using a webserviceConnector, dataSet, and dataGrid i've pulled in data from a CFC that queries my database... finally after a few hours of studying... -
Formatting a datagrid
Hi, I am working on my first web app that uses a datagrid. I can't seem to find good examples of formatting the grid the way you can in a Windows... -
Formatting a datagrid in a web form
Hi All :-) I'm trying to format a VB.Net datagrid for a Web form in the code behind. Do I have to create a custom style like you do for the... -
formatting the data in a datagrid
Hello, I wish to format the data in one of the columns of a datagrid so that it does not display more than 3 decimal places. I have a datagrid... -
Print asp:datagrid with formatting
Hi I need to Print asp:datagrid with formatting, which will avoid my writing of crystal reports and can directly print with click of a button. ... -
Patrick.O.Ige #2
Re: Datagrid Formatting
jmawebco,
You should be able to use a DataList for that
Patrick
"jmawebco" <jaime.cruz@infrasourceinc.com> wrote in message
news:1132169995.881105.100690@g14g2000cwa.googlegr oups.com...> I am trying to find out if it is possible to format a datagrid to
> display results in teh following manner;
>
> Job: 5453 South Ridge Lane Contract: CINERGY 2005
> Claim # Date of Loss Claimant
> 20052254 09/23/2005 Edward Johnson
>
> Basically data for a job is selected using a stored procedure and I
> want to disply it as shown above by using the datagrid witn
> TemplateColumns and ItemTemplate.
>
> Is this possible? If anyone know if this can be done or how to do it I
> would very much appreciate some assistance.
>
> Thanks,
>
> jmawebco
>
Patrick.O.Ige Guest
-
Brian Hammil #3
Re: Datagrid Formatting
For the date to be formatted correctly you have to set the htmlEncode to
false:
<asp:BoundField DataField="DateOfBirth" DataFormatString="{0:MM/dd/yyyy}"
HtmlEncode="false"/>
Hope this helps
Patrick.O.Ige wrote:-->jmawebco,
> You should be able to use a DataList for that
>Patrick
>>[quoted text clipped - 13 lines]>> I am trying to find out if it is possible to format a datagrid to
>> display results in teh following manner;>>
>> jmawebco
Brian Hammil
"Peace for Life.....Natrual Spring...."
After the several shots of Tequila it
sounded profound!
Brian Hammil Guest
-
Brian Hammil #4
Re: Datagrid Formatting
Whoops right solution for the wrong post, sorry.
Brian Hammil wrote:-->For the date to be formatted correctly you have to set the htmlEncode to
>false:
>
><asp:BoundField DataField="DateOfBirth" DataFormatString="{0:MM/dd/yyyy}"
>HtmlEncode="false"/>
>
>Hope this helps
>>[quoted text clipped - 5 lines]>>jmawebco,
>> You should be able to use a DataList for that>>>>
>>> jmawebco
Brian Hammil
"Peace for Life.....Natrual Spring...."
After the several shots of Tequila it
sounded profound!
Brian Hammil Guest



Reply With Quote

