Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
please help me
i am new to asp.net
i have a webform that i found and when i was trying to rebuild it it didnt work well
the data grid dont show at all when i debbug
can any one tell me what is wrong in this code

XML
<td colspan="7">
                <asp:GridView ID="grdCruises" runat="server" DataKeyNames="CruisesID"
                    AllowSorting="True" Width ="92%" AutoGenerateColumns="False" AllowPaging="True" PageSize="15"
                    OnSorting="grdCruises_Sorting" OnRowEditing="grdCruises_RowEditing"  OnRowDeleting="grdCruises_RowDeleting"
                    OnPageIndexChanging="grdCruises_PageIndexChanging"
                    onselectedindexchanged="grdCruises_SelectedIndexChanged"
                    BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" >

                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                    <RowStyle BackColor="White" ForeColor="#003399" />
Posted
Comments
Sandeep Mewara 7-May-13 12:46pm    
Is there any data being fetched/attached to grid ?

1 solution

You are missed out complete gridview tag at end...

Please check your code again or post your complete code..

Thanks
 
Share this answer
 
v2

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