-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuestion.aspx
More file actions
46 lines (36 loc) · 2.07 KB
/
Question.aspx
File metadata and controls
46 lines (36 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<%@ Page Title="" Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true" CodeFile="Question.aspx.cs" Inherits="Question" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="container-fluid">
<% if (r.HasRows){ %>
<% while(r.Read()){%>
<div class="jumbotron">
<h4><%= r.GetString(3)%></h4>
</div>
<asp:Label Text="Code Provided :" runat="server" />
<br />
<div class="well">
<h4><%= r.GetString(4)%></h4>
</div>
Posted By : <%= r.GetString(0)%>
Posted On : <%= r.GetDateTime(8)%><br />
<% } %>
<% }%>
</div>
<hr />
<div class="container">
<h1><span class="fa fa-comments fa-fw"></span>Comments</h1>
<% if (rs.HasRows){ %>
<% while (rs.Read()){%>
<div class="well">
<div>
<h3 style="margin:0"><%= rs.GetString(0) %></h3>
<small><%= rs.GetDateTime(5) %></small>
</div>
<div>
<p><%= rs.GetString(2) %></p>
</div>
</div>
<% } %>
<% } %>
</div>
</asp:Content>