Permalink
Browse files

Correcion de formularios, pero con errores de ejecucion

  • Loading branch information...
1 parent 03a7b1b commit 6359e9702b767da53d2d4a5f0d9e23ea5cce73f2 @evorock committed Oct 4, 2012
View
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
- <xs:annotation>
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
- <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <Connections>
- <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="inventarioConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="inventarioConnectionString (Web.config)" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.inventarioConnectionString.ConnectionString" Provider="System.Data.OleDb" />
- <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="proyectoConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="proyectoConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.proyectoConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
- </Connections>
- <Tables />
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DataSet1" msprop:Generator_DataSetName="DataSet1">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded" />
- </xs:complexType>
- </xs:element>
-</xs:schema>
View
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--<autogenerated>
- This code was generated by a tool to store the dataset designer's layout information.
- Changes to this file may cause incorrect behavior and will be lost if
- the code is regenerated.
-</autogenerated>-->
-<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
- <Shapes />
- <Connectors />
-</DiagramLayout>
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--<autogenerated>
+ This code was generated by a tool to store the dataset designer's layout information.
+ Changes to this file may cause incorrect behavior and will be lost if
+ the code is regenerated.
+</autogenerated>-->
+<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="785" ViewPortY="771" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
+ <Shapes>
+ <Shape ID="DesignTable:edificio" ZOrder="7" X="834" Y="795" Height="54" Width="187" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="64" SplitterPosition="24" />
+ <Shape ID="DesignTable:usuarios" ZOrder="6" X="831" Y="900" Height="54" Width="193" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="197" SplitterPosition="24" />
+ <Shape ID="DesignTable:equipos" ZOrder="5" X="1447" Y="992" Height="54" Width="190" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="197" SplitterPosition="24" />
+ <Shape ID="DesignTable:laboratorios" ZOrder="4" X="1452" Y="828" Height="54" Width="215" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="83" SplitterPosition="24" />
+ <Shape ID="DesignTable:mantenimiento" ZOrder="1" X="1114" Y="934" Height="54" Width="234" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="254" SplitterPosition="24" />
+ <Shape ID="DesignTable:mantenimiento_logico" ZOrder="3" X="1092" Y="1028" Height="54" Width="274" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="83" SplitterPosition="24" />
+ <Shape ID="DesignTable:mantenimiento_preventivo" ZOrder="2" X="1111" Y="825" Height="54" Width="300" AdapterExpanded="false" DataTableExpanded="false" OldAdapterHeight="45" OldDataTableHeight="83" SplitterPosition="24" />
+ </Shapes>
+ <Connectors>
+ <Connector ID="DesignRelation:nombre_departamento_1" ZOrder="16" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>962</X>
+ <Y>849</Y>
+ </Point>
+ <Point>
+ <X>962</X>
+ <Y>900</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_departamento_3" ZOrder="15" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>995</X>
+ <Y>849</Y>
+ </Point>
+ <Point>
+ <X>995</X>
+ <Y>1009</Y>
+ </Point>
+ <Point>
+ <X>1447</X>
+ <Y>1009</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_laboratorio_1" ZOrder="14" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1467</X>
+ <Y>882</Y>
+ </Point>
+ <Point>
+ <X>1467</X>
+ <Y>992</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_departamento_2" ZOrder="13" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1021</X>
+ <Y>849</Y>
+ </Point>
+ <Point>
+ <X>1452</X>
+ <Y>849</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_departamento_4" ZOrder="12" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1004</X>
+ <Y>849</Y>
+ </Point>
+ <Point>
+ <X>1004</X>
+ <Y>954</Y>
+ </Point>
+ <Point>
+ <X>1114</X>
+ <Y>954</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_equipo_1" ZOrder="11" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1447</X>
+ <Y>1017</Y>
+ </Point>
+ <Point>
+ <X>1331</X>
+ <Y>1017</Y>
+ </Point>
+ <Point>
+ <X>1331</X>
+ <Y>988</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_laboratorio_2" ZOrder="10" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1469</X>
+ <Y>882</Y>
+ </Point>
+ <Point>
+ <X>1469</X>
+ <Y>965</Y>
+ </Point>
+ <Point>
+ <X>1348</X>
+ <Y>965</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_logico_1" ZOrder="9" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1117</X>
+ <Y>1028</Y>
+ </Point>
+ <Point>
+ <X>1117</X>
+ <Y>988</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ <Connector ID="DesignRelation:nombre_preventivo_1" ZOrder="8" LineWidth="11">
+ <RoutePoints>
+ <Point>
+ <X>1231</X>
+ <Y>879</Y>
+ </Point>
+ <Point>
+ <X>1231</X>
+ <Y>934</Y>
+ </Point>
+ </RoutePoints>
+ </Connector>
+ </Connectors>
+</DiagramLayout>
View
@@ -19,7 +19,7 @@ nombre_departamento varchar(100) primary key
create table usuarios(
id_usuario int identity (1,1) unique,
-nombre varchar(100) primary key,
+nombre varchar(100),
direccion varchar(200),
telefono char(9),
cargo varchar(50) check(cargo in ('jefe','empleado','supervisor','administrador')),
@@ -47,7 +47,7 @@ fabricante varchar(100),
nombre_departamento varchar(100),
nombre_laboratorio varchar(100),
espefificacion_tecnica varchar(100),
-observaciones varchar(300),
+observaciones varchar(800),
estado varchar(50) check (estado in('bueno', 'malo', 'reparacion')),
constraint nombre_departamento_3 foreign key (nombre_departamento) references edificio on delete cascade,
constraint nombre_laboratorio_1 foreign key (nombre_laboratorio) references laboratorios
@@ -56,15 +56,15 @@ constraint nombre_laboratorio_1 foreign key (nombre_laboratorio) references labo
create table mantenimiento_logico
(
id_logico int identity (1,1) unique,
-nombre_logico varchar(100) primary key,
-descripcion_0 varchar(100)
+nombre_logico varchar(200) primary key,
+descripcion_0 varchar(800)
);
create table mantenimiento_preventivo
(
id_preventivo int identity (1,1) unique,
-nombre_preventivo varchar(100) primary key,
-descripcion_0 varchar(100)
+nombre_preventivo varchar(200) primary key,
+descripcion_0 varchar(800)
);
create table mantenimiento
@@ -74,15 +74,15 @@ nombre_departamento varchar(100),
nombre_laboratorio varchar(100),
nombre varchar(100),
nombre_equipo varchar(100),
-nombre_logico varchar(100),
-nombre_preventivo varchar(100),
+nombre_logico varchar(200),
+nombre_preventivo varchar(200),
tipo varchar(50) check ( tipo in('preventivo','logico')),
fecha date,
+hora varchar(100),
estado varchar(50) check (estado in ('abierto','completado','pendiente','Denegado')),
aprobacion varchar(50) check (aprobacion in('pendiente','denegado','aprobado')),
constraint nombre_departamento_4 foreign key (nombre_departamento) references edificio on delete cascade,
constraint nombre_laboratorio_2 foreign key (nombre_laboratorio) references laboratorios,
-constraint nombre_2 foreign key (nombre) references usuarios,
constraint nombre_equipo_1 foreign key (nombre_equipo) references equipos,
constraint nombre_logico_1 foreign key (nombre_logico) references mantenimiento_logico,
constraint nombre_preventivo_1 foreign key (nombre_preventivo) references mantenimiento_preventivo
View
@@ -1,5 +0,0 @@
-
-Partial Class _Default
- Inherits System.Web.UI.Page
-
-End Class
Oops, something went wrong.

0 comments on commit 6359e97

Please sign in to comment.