Ask a Question related to ASP.NET General, Design and Development.
-
Hrvoje Vrbanc #1
Two rendered rows for each record in DataGrid
Hello all!
I have quite an strange question: I'm using DataGrid to display the results
of a query stored in a DataSet. I use data binding with DataBinder.Eval
statement (like e.g. <%# DataBinder.Eval(Container.DataItem, "ColumnName")
%>).
Now the tricky part: is it possible to render one more table row for each
record that would be span over several columns and contain some further
databound informations? What I want to say is that I don't want all columns
from DataSet to be displayed one beside another but instead, to save the
horizontal space, I want to put the values from on colum below the others.
Example how should it look like:
1. PartNumber1 ProductName1 Price1
ProductDescription1
2. PartNumber2 ProductName2 Price2
ProductDescription2
.....
Many thanks,
Hrvoje
Hrvoje Vrbanc Guest
-
Mathematical formula used in dynamically rendered DataGrid
Hi, I'm trying to find the ASP mathematical formula for the calculation of the width in a dynamically rendered DataGrid with a SQL statement. Is... -
Moving Rows in a datagrid.
Does anyone know of a good example that shows me how I can move rows in a datagrid? For example Click and Drag row 5 and drop it on row 2 to insert... -
writing db record to tables (wrapping and spanning rows)
Hi, I have a dataset where each record contains a persons name and filename of their picture. I want to write a row of five names, then a row... -
Two rows for each record in DataGrid
Hello all, I have posted similar question in another group a while ago (before this group came into existence) but would like to double-check on... -
datagrid: rendered with 'rules="all"' causes trouble in Netscape 7.02
Hello I want to render a datagrid with transparent borders (cellspacing = 1) so the underlying background shines through. Unfortunately,... -
\(Liquid\) Daniel Bass #2
Re: Two rendered rows for each record in DataGrid
Don't use a datagrid, use a Data List, this displays the records in your
database how ever you like, getting the result you want would be easy.
Lemme know if you want help using it.
Dan.
"Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
news:OxUVjUSTDHA.3188@tk2msftngp13.phx.gbl...results> Hello all!
>
> I have quite an strange question: I'm using DataGrid to display thecolumns> of a query stored in a DataSet. I use data binding with DataBinder.Eval
> statement (like e.g. <%# DataBinder.Eval(Container.DataItem, "ColumnName")
> %>).
> Now the tricky part: is it possible to render one more table row for each
> record that would be span over several columns and contain some further
> databound informations? What I want to say is that I don't want all> from DataSet to be displayed one beside another but instead, to save the
> horizontal space, I want to put the values from on colum below the others.
>
> Example how should it look like:
>
> 1. PartNumber1 ProductName1 Price1
> ProductDescription1
> 2. PartNumber2 ProductName2 Price2
> ProductDescription2
> ....
>
> Many thanks,
> Hrvoje
>
>
\(Liquid\) Daniel Bass Guest
-
Hrvoje Vrbanc #3
Re: Two rendered rows for each record in DataGrid
Thank you, I'll rewrite the application but I was hoping DataGrid could be
customized in such a way because I use paging and sorting in that DataGrid.
I was thinking about the programmatically (dynamically) created table that
offers great flexibility in formatting but again paging and sorting looked
troublesome.
Hrvoje
"(Liquid) Daniel Bass" <danielbassNOJUNK@MAILpostmaster.co.uk> wrote in
message news:%23CN5VXSTDHA.1288@tk2msftngp13.phx.gbl..."ColumnName")> Don't use a datagrid, use a Data List, this displays the records in your
> database how ever you like, getting the result you want would be easy.
>
> Lemme know if you want help using it.
>
> Dan.
>
> "Hrvoje Vrbanc" <hrvojev@recro.hr> wrote in message
> news:OxUVjUSTDHA.3188@tk2msftngp13.phx.gbl...> results> > Hello all!
> >
> > I have quite an strange question: I'm using DataGrid to display the> > of a query stored in a DataSet. I use data binding with DataBinder.Eval
> > statement (like e.g. <%# DataBinder.Eval(Container.DataItem,each> > %>).
> > Now the tricky part: is it possible to render one more table row forothers.> columns> > record that would be span over several columns and contain some further
> > databound informations? What I want to say is that I don't want all> > from DataSet to be displayed one beside another but instead, to save the
> > horizontal space, I want to put the values from on colum below the>> >
> > Example how should it look like:
> >
> > 1. PartNumber1 ProductName1 Price1
> > ProductDescription1
> > 2. PartNumber2 ProductName2 Price2
> > ProductDescription2
> > ....
> >
> > Many thanks,
> > Hrvoje
> >
> >
>
Hrvoje Vrbanc Guest



Reply With Quote

