Click here to Skip to main content
15,921,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

How to align nested gridview columns like
Main gridview column format?

My Output Display Like:
Main Gridview:
S.no          Name          Address          PhoneNo

Nested Gridview:
(This gridview output is coming in Name column of Main Gridview control)
S.no Name Address PhoneNo


Example:I need following Output:

Main Gridview:
S.no          Name          Address          PhoneNo

Nested Gridview:
S.no          Name          Address          PhoneNo

I want to display nested grid view as well as main grid view same alignment for columns like above format?

Thanks in Advance.
Posted
Updated 11-Feb-14 18:12pm
v2

1 solution

use like this
C#
<tr>
<td colspan="100%">
<asp:gridview id="gvInside" runat="server" >
</asp:gridview>

</td>
</tr>
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900