i found the solution. if you are using datagrid , and you want to show multiple records in one row. you may no need to use , repeater , or dataset , datatable , simple do one thing.
<div id="grdTest">
//////// grid view Here /////
</div>
and add this to your CSS
#grdstyle br ,tr
{
display:inline;
}
its fully resolved my issue , may this trick will be also helping for you
talhaoman
Member
1 Points
20 Posts
How to get rid of Asp.net Grid ROWS layout.
May 07, 2012 02:32 PM|LINK
How to get rid of ASp.Net Grid Rows layout
(<table><tr><td>Row1</td><tr></table>)
(<table><tr><td>Row2</td><tr></table>)
(<table><tr><td>Row3</td><tr></table>)
If want this layout (row1, row2, row3) .
Like in Asp.Net Datalist there is an option "RepeatLayout="flow" " i want to use this layout in asp.gridview
ASP.NetGridView
sriramabi
Contributor
4351 Points
1277 Posts
Re: How to get rid of Asp.net Grid ROWS layout.
May 07, 2012 02:40 PM|LINK
Hai
use datatable....
ref pls
http://www.dotnetperls.com/datatable
http://msdn.microsoft.com/en-us/library/z16c79x4.aspx
http://www.dotnetspider.com/resources/19418-DataTable-C.aspx
talhaoman
Member
1 Points
20 Posts
Re: How to get rid of Asp.net Grid ROWS layout.
May 07, 2012 03:16 PM|LINK
Thanks for you reply isn't there any method to change grid tablular layout to the flow layout ?
talhaoman
Member
1 Points
20 Posts
Re: How to get rid of Asp.net Grid ROWS layout.
May 07, 2012 03:26 PM|LINK
i found the solution. if you are using datagrid , and you want to show multiple records in one row. you may no need to use , repeater , or dataset , datatable , simple do one thing.
<div id="grdTest">
//////// grid view Here /////
</div>
and add this to your CSS
#grdstyle br ,tr
{
display:inline;
}
its fully resolved my issue , may this trick will be also helping for you