-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathViewStatus.aspx
More file actions
21 lines (19 loc) · 1.49 KB
/
ViewStatus.aspx
File metadata and controls
21 lines (19 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<%@ Page Title="" Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true" CodeFile="ViewStatus.aspx.cs" Inherits="ViewStatus" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
Questions Added By You</p>
<p>
</p>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Width="746px">
<Columns>
<asp:BoundField DataField="Question" HeaderText="Question" SortExpression="Question" />
<asp:BoundField DataField="Msg" HeaderText="Status" SortExpression="Msg" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:techcrunchConnectionString %>" SelectCommand="SELECT [Question], [Msg] FROM [Blog] WHERE ([UserID] = @UserID)">
<SelectParameters>
<asp:SessionParameter Name="UserID" SessionField="userid" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<br />
</asp:Content>