TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Safeer Safeer
NA
201
38.2k
grid view error
Aug 22 2013 5:37 AM
here it is the code in grid
</ul>
<asp:GridView ID="gvdivision" runat="server" AutoGenerateColumns="False"
DataKeyNames="divisionId" DataSourceID="SqlDataSource1"
OnDataBinding="gvdivision_DataBinding"
onselectedindexchanged="gvdivision_SelectedIndexChanged1">
<Columns>
<asp:BoundField DataField="divisionId" HeaderText="divisionId"
InsertVisible="False" ReadOnly="True" SortExpression="divisionId"
Visible="False" />
<asp:TemplateField HeaderText="Class Name">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("className") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Division Name">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("divisionName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField ButtonType="Button" HeaderText="Edit"
ShowCancelButton="False" ShowEditButton="True" ShowHeader="True">
<FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:CommandField>
<asp:CommandField ButtonType="Button" HeaderText="Select" ShowHeader="True"
ShowSelectButton="True" />
Reply
Answers (
3
)
exception error
why we are using entity framework in web projects