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
Carl CP
NA
3
5.5k
Adding multiselect to Gridview.
Apr 21 2013 8:00 AM
Please tell me how to add multiselect to the following GridView.
Multiselect here
ID
Start Time
End Time
31
32
33
34
35
36
37
<asp:GridView ID="GridView1" runat="server" AllowSorting="True"
AutoGenerateColumns="False" DataSourceID="EntityDataSource1" OnRowCommand="GridView1_RowCommand1" AllowCustomPaging="True" AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="ExecutionStartTime" HeaderText="StartTime" ReadOnly="True" SortExpression="ExecutionStartTime" />
<asp:BoundField DataField="ExecutionEndTime" HeaderText="EndTime" ReadOnly="True" SortExpression="ExecutionEndTime" />
<asp:BoundField DataField="ExecutionID" HeaderText="ID" ReadOnly="True" SortExpression="ExecutionID" />
<%--<asp:BoundField DataField="ExecutionUID" HeaderText="UID" ReadOnly="True" SortExpression="ExecutionUID" />--%>
<asp:BoundField DataField="ExecutionName" HeaderText="Name" ReadOnly="True" SortExpression="ExecutionName" />
</Columns>
....
</asp:GridView>
<asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=Test_Manager_DatabaseEntities" DefaultContainerName="Test_Manager_DatabaseEntities" EnableFlattening="False" OrderBy="it.[ExecutionStartTime] DESC" EntitySetName="TestExecutions" Select="it.[ExecutionStartTime], it.[ExecutionEndTime], it.[ExecutionID], it.[ExecutionUID], it.[ExecutionName]" EntityTypeFilter="">
</asp:EntityDataSource>
Reply
Answers (
0
)
datagridview doesn't display records - MySQL db
Problem with strings