-
Notifications
You must be signed in to change notification settings - Fork 0
/
constanciasSMCS.aspx
122 lines (112 loc) · 6.12 KB
/
constanciasSMCS.aspx
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="constanciasSMCS.aspx.cs" Inherits="constanciasSMCS" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Congreso SMCS - Descarga de constancias</title>
<%-- <script type="text/javascript" language="JavaScript">
function abrirVentana(popup) {
open(popup, null, "Height=600, Width=720, Top=50, Left=100, scrollbars=yes, toolbar=no, location=no, directories=no, menubar=no, status=no");
}
</script>
--%>
</head>
<body>
<form id="form1" runat="server">
<div align="center">
<table style="font-family: Verdana; width:500pt;">
<tr>
<td style="width:160px; text-align: center;">
<asp:Image ID="Image1" runat="server"
Height="70px" ImageUrl="~/Images/logo_SMCS.png" /></td>
<td style="width:480px; text-align:center; font-size: 10pt; font-family: Arial; font-weight: bold;">
<asp:Label ID="lblTituloEvento" runat="server" Font-Bold="True"
Font-Names="Verdana" Font-Size="10pt"
Text="Congreso de la Sociedad Mexicana de la Ciencia del Suelo"></asp:Label>
<br />
<br />
<asp:Label ID="lblRegistroEnLinea" runat="server" Font-Bold="False" Font-Names="Verdana"
Font-Size="10pt" Text="Descarga de constancias de participación"></asp:Label>
</td>
<td style="width:160px; text-align: center;">
<asp:Image ID="Image2" runat="server" Height="50px"
ImageUrl="~/images/ciboficial.gif" />
</td>
</tr>
</table>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:SqlDataSource ID="SqlDSsmcs" runat="server"
ConnectionString="<%$ ConnectionStrings:REGWEBConnectionString %>"
SelectCommand="SELECT * FROM [smcs2013constancias] ORDER BY [apellidos]"></asp:SqlDataSource>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<%-- <table style="border:0; width:500pt; font-size: 8pt;">
<tr>
<td colspan="2" style="text-align:left;">
<p style=" font-size:10pt; font-weight:bold; font:Verdana;">
1. Selecciona el registro al cual le vas a subir su constancia.<br />
2. Presiona el boton "Examinar" y busca el archivo en tu equipo.<br />
3. Presiona "Subir contancia" para cargarlo en el servidor, si ya existia un archivo este se sobreescribira.
</p>
</td>
</tr>
<tr>
<td style="text-align:center; width:400pt;">
<asp:Label ID="lblStatusArchivo" runat="server" Font-Names="Verdana"
Font-Size="8pt" Visible="False" Font-Bold="True" ForeColor="Blue"></asp:Label>
</td>
</tr>
<tr>
<td style="text-align: center">
<asp:FileUpload ID="fuConstancia" runat="server" Font-Names="Arial"
Font-Size="9pt" Width="360px" />
<asp:Button ID="btnConstancia" runat="server" Font-Names="Arial" Font-Size="8pt"
Height="20px" Text="Subir constancia" />
</td>
</tr>
</table>
--%>
<asp:Label ID="lblTest" runat="server" Visible="False">lblTest</asp:Label>
<br />
<asp:GridView ID="GVsmcs" runat="server" AutoGenerateColumns="False"
CellPadding="4" DataKeyNames="id" DataSourceID="SqlDSsmcs" ForeColor="#333333"
GridLines="None" Font-Size="8pt" HorizontalAlign="Center"
onselectedindexchanged="GVsmcs_SelectedIndexChanged" AllowSorting="True">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:CommandField ShowSelectButton="True" SelectText="Mostrar" >
<ItemStyle Font-Bold="True" />
</asp:CommandField>
<asp:BoundField DataField="id" HeaderText="id" InsertVisible="False"
ReadOnly="True" SortExpression="id" Visible="False" />
<asp:BoundField DataField="nombres" HeaderText="NOMBRES"
SortExpression="nombres" />
<asp:BoundField DataField="apellidos" HeaderText="APELLIDOS"
SortExpression="apellidos" />
<asp:BoundField DataField="titulo" HeaderText="TITULO DEL TRABAJO"
SortExpression="titulo" />
<asp:BoundField DataField="tipoConstancia" HeaderText="TIPO DE COLABORACION"
SortExpression="tipoConstancia" />
<asp:BoundField DataField="archivoNombre" HeaderText="NOMBRE DE LA CONSTANCIA"
SortExpression="archivoNombre" />
</Columns>
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<%-- <SortedAscendingCellStyle BackColor="#F5F7FB" />--%>
<%-- <SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />--%>
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<div>
</div>
</form>
</body>
</html>