Разработка автоматизированной системы оценки кредитоспособности физических лиц (АС "CreditAnalysis")
Проектирование автоматизированной информационной системы по оценке кредитоспособности клиента Банка для принятия решения по выдаче кредита. Разработка интерфейса и алгоритма работы программы. Составление сметы затрат на создание программного изделия.
Рубрика | Программирование, компьютеры и кибернетика |
Вид | дипломная работа |
Язык | русский |
Дата добавления | 26.07.2014 |
Размер файла | 2,3 M |
Отправить свою хорошую работу в базу знаний просто. Используйте форму, расположенную ниже
Студенты, аспиранты, молодые ученые, использующие базу знаний в своей учебе и работе, будут вам очень благодарны.
3. О.Н. Евсеева, А. Б. Шамшев. Работа с базами данных на языке C#. Технология ADO.NET: учебное пособие, Ульяновск: УлГТУ, 2009. - 170 с.ISBN 978-5-9795-0475-9
4. Г. Бучек, ASP.NET - Учебный курс. - СПб.: Питер, 2002 г. - 512 с. - ил. ISBN 966-552-124-1.
5. Грубер М. -- «Понимание SQL», Москва, 1993г., 291 стр.
6. Интернет источники:
http://msdn.microsoft.com
http://css.manual.ru
Приложение
1. Листинг основных модулей программы
1.1 Разметка веб-страниц
Для разметки всех страниц макета сайта использовался шаблон родительской ASP страницы Default.aspx.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!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 runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>UniversityBank</title>
<link href="~/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style1
{
color: #C0C0C0;
}
.style7
{
font-size: medium;
text-align: left;
font-weight: bold;
}
.style8
{
width: 280px;
height: 42px;
}
.style9
{
height: 42px;
}
.style10
{
width: 280px;
}
.style11
{
width: 801px;
}
.style12
{
width: 280px;
height: 137px;
}
.style13
{
height: 137px;
}
</style>
</head>
<body leftMargin="0" topMargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5" colspan="2" background="images/bg_1.jpg"><img src="images/spacer.gif" width="1" height="5"></td>
</tr>
<tr>
<td width="248" height="62"><img src="images/men_1.jpg" width="248" height="62"></td>
<td background="images/bg_2.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12"><img src="images/spacer.gif" width="12" height="1"></td>
<td width="34"><img src="images/logo.jpg" width="34" height="62"></td>
<td width="10"><img src="images/spacer.gif" width="10" height="1"></td>
<td class="logo">UniversityBank</td>
</tr>
</table></td>
</tr>
<tr>
<td height="45" rowspan="2"><img src="images/men_2.jpg" width="248" height="45"></td>
<td height="39" background="images/bg_3.jpg"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" colspan="16"><img src="images/spacer.gif" width="1" height="1"><div id="pr" style="position:absolute; width:500px; height:300px; z-index:1; left: -10000px; top: -10000px"><a href="http://anvision.com" title="software outsourcing, offshore outsourcing, it outsourcing"><h1>software outsourcing, offshore outsourcing, it outsourcing</h1></a><a href="http://jobsearch4.com" title="job search"><h1>job search</h1></a><a href="http://just-dating.net" title="online dating service"><h1>online dating service</h1></a><a href="http://realestatehawk.net" title="real estate listings"><h1>real estate listings</h1></a><a href="http://anvisionwebdesign.com" title="web design company, web design services"><h1>web design company, web design services</h1></a><a href="http://web-page-design.info" title="web page design"><h1>web page design</h1></a><a href="http://anvisionwebhosting.com/" title="web hosting provider, web hosting company"><h1>web hosting provider, web hosting company</h1></a><a href="http://anvisionwebtemplates.com" title="free web templates"><h1>free web templates</h1></a></div></td>
</tr>
<tr>
<td width="22"><img src="images/spacer.gif" width="22" height="1"></td>
<td><a href="index.htm" class="menu">ГЛАВНАЯ СТРАНИЦА</a></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td width="9" height="38"><img src="images/e_1.jpg" width="9" height="38"></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td><a href="about.htm" class="menu">О НАС</a></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td width="9" height="38"><img src="images/e_1.jpg" width="9" height="38"></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td><a href="partners.htm" class="menu">НАШИ ПАРТНЁРЫ</a></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td width="9" height="38"><img src="images/e_1.jpg" width="9" height="38"></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td><a href="contact.htm" class="menu">КОНТАКТЫ</a></td>
<td width="13"><img src="images/spacer.gif" width="13" height="1"></td>
<td width="9" height="38"><img src="images/e_1.jpg" width="9" height="38"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="5"><img src="images/spacer.gif" width="1" height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="248" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/men_3.jpg" width="248" height="110"></td>
</tr>
<tr>
<td height="2"><img src="images/spacer.gif" width="1" height="2"></td>
</tr>
<tr>
<td background="images/e_3.jpg" width="248" height="89" align="center"><a href="default.aspx">Онлайн заявка на получение кредита</a></td>
</tr>
</table></td>
<td height="100%" valign="top">
<form id="form1" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22" height="40" background="images/bg_4.jpg"><img src="images/spacer.gif" width="22" height="40"></td>
<td background="images/bg_4.jpg"><h1>Онлайн заявка на получение кредита </h1></td>
</tr>
<tr >
<td height="1" colspan="2" background="images/e_2.jpg"><img src="images/spacer.gif" width="4" height="1"></td>
</tr>
<tr>
<td height="22"><img src="images/spacer.gif" width="1" height="22"></td>
<td></td>
</tr>
<tr>
<td></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="4"><img src="images/spacer.gif" width="4" height="1"></td>
<td valign="top"><p>Заполните, пожалуйста, форму ниже</p>
<p> </p>
</td>
<td width="26"><img src="images/spacer.gif" width="26" height="1"></td>
</tr>
</table></td>
</tr>
<table>
<div>
</div>
<p class="style7">
Основная информация</p>
<tr>
<td align="right" class="style10">Регион*:</td>
<td>
<asp:DropDownList ID="DropDownList5" runat="server"
DataSourceID="SqlDataSource1" DataTextField="RegionNM" DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label3" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString34 %>"
SelectCommand="SELECT * FROM [Region]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="right" class="style10">Тип занятости*:</td>
<td>
<asp:DropDownList ID="DropDownList7" runat="server"
DataSourceID="SqlDataSource2" DataTextField="WorkformNM" DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label4" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString35 %>"
SelectCommand="SELECT * FROM [Workform]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="right" class="style10">Фамилия*:</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" Width="234px"></asp:TextBox>
<asp:Label ID="Label2" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Имя*:</td>
<td>
<asp:TextBox ID="TextBox3" runat="server"
Width="234px"></asp:TextBox>
<asp:Label ID="Label5" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Отчество*:</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"
Width="234px"></asp:TextBox>
<asp:Label ID="Label6" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Дата рождения*:</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server"
>
<asp:ListItem></asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem></asp:ListItem>
<asp:ListItem Value="1">Январь</asp:ListItem>
<asp:ListItem Value="2">Февраль</asp:ListItem>
<asp:ListItem Value="3">Март</asp:ListItem>
<asp:ListItem Value="4">Апрель</asp:ListItem>
<asp:ListItem Value="5">Май</asp:ListItem>
<asp:ListItem Value="6">Июнь</asp:ListItem>
<asp:ListItem Value="7">Июль</asp:ListItem>
<asp:ListItem Value="8">Август</asp:ListItem>
<asp:ListItem Value="9">Сентябрь</asp:ListItem>
<asp:ListItem Value="10">Октябрь</asp:ListItem>
<asp:ListItem Value="11">Ноябрь</asp:ListItem>
<asp:ListItem Value="12">Декабрь</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server"
DataSourceID="SqlDataSource6" DataTextField="AyearNM" DataValueField="ID"
>
</asp:DropDownList>
<asp:Label ID="Label7" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource6" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString36 %>"
SelectCommand="SELECT * FROM [Ayear]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="right" class="style10">Гражданство*:</td>
<td>
<asp:DropDownList ID="DropDownList6" runat="server"
DataSourceID="SqlDataSource3" DataTextField="FvcountryNM" DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label8" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource3" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString37 %>"
SelectCommand="SELECT * FROM [Fvcountry]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="right" class="style10">Телефон по месту проживания:</td>
<td>
(<asp:TextBox
ID="TextBox5" runat="server" Width="64px"></asp:TextBox>
)
<asp:TextBox ID="TextBox6" runat="server" Width="180px" ></asp:TextBox>
</td>
<td>
<span class="style1">(Например: (495) 123-45-67)
</span>
</td>
</tr>
<tr>
<td align="right" class="style10">Номер мобильного телефона*:</td>
<td>
(<asp:TextBox
ID="TextBox7" runat="server" Width="64px"></asp:TextBox>
)
<asp:TextBox ID="TextBox8" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>
<span class="style1">(Например: (916) 123-45-67)
<asp:Label ID="Label10" runat="server" style="color: #CC0000"></asp:Label>
</span>
</td>
</tr>
<tr>
<td align="right" class="style10">E-mail*:</td>
<td>
<asp:TextBox ID="TextBox9" runat="server"
Width="238px"></asp:TextBox>
<asp:Label ID="Label11" runat="server" style="color: #CC0000"></asp:Label>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="TextBox9" ErrorMessage="Введите корректное значение!"
style="color: #FF0000"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
</td>
<td>
</td>
</tr>
<tr>
<td align="right" class="style10">Сумма кредита*:</td>
<td>
<asp:TextBox ID="TextBox10" runat="server"
Width="238px"></asp:TextBox> руб.<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ControlToValidate="TextBox10" ErrorMessage="Введите корректное значение!"
style="color: #FF0000"
ValidationExpression="\d*"></asp:RegularExpressionValidator>
</td>
<td>
<span class="style1">(Например: 100000) <asp:Label ID="Label12" runat="server" style="color: #CC0000"></asp:Label>
</span>
</td>
</tr>
<tr>
<td align="right" class="style10">Срок кредита*:</td>
<td>
<asp:TextBox ID="TextBox11" runat="server" ></asp:TextBox>
месяцев
<asp:Label ID="Label13" runat="server" style="color: #CC0000"></asp:Label>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server"
ControlToValidate="TextBox11" ErrorMessage="Введите корректное значение!"
style="color: #FF0000"
ValidationExpression="\d*"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td align="right" class="style10">Пол*:</td>
<td> <asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="240px" DataSourceID="SqlDataSource4" DataTextField="GenderNM"
DataValueField="ID" RepeatDirection="Horizontal">
</asp:RadioButtonList>
<asp:SqlDataSource ID="SqlDataSource4" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString38 %>"
SelectCommand="SELECT * FROM [Gender]"></asp:SqlDataSource>
<asp:Label ID="Label41" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10"><b>Паспорт*:</b></td>
<td>Серия:
<asp:TextBox
ID="TextBox12" runat="server" Width="64px"></asp:TextBox> №<asp:TextBox ID="TextBox13" runat="server" ></asp:TextBox>
</td>
<td>
<span class="style1">(Например: Серия 4601 № 123456)
<asp:Label ID="Label15" runat="server" style="color: #CC0000"></asp:Label>
</span>
</td>
</tr>
<tr>
<td align="right" class="style10">Дата выдачи*:</td>
<td>
<asp:DropDownList ID="DropDownList8" runat="server" >
<asp:ListItem></asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList9" runat="server">
<asp:ListItem></asp:ListItem>
<asp:ListItem Value="1">Январь</asp:ListItem>
<asp:ListItem Value="2">Февраль</asp:ListItem>
<asp:ListItem Value="3">Март</asp:ListItem>
<asp:ListItem Value="4">Апрель</asp:ListItem>
<asp:ListItem Value="5">Май</asp:ListItem>
<asp:ListItem Value="6">Июнь</asp:ListItem>
<asp:ListItem Value="7">Июль</asp:ListItem>
<asp:ListItem Value="8">Август</asp:ListItem>
<asp:ListItem Value="9">Сентябрь</asp:ListItem>
<asp:ListItem Value="10">Октябрь</asp:ListItem>
<asp:ListItem Value="11">Ноябрь</asp:ListItem>
<asp:ListItem Value="12">Декабрь</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList10" runat="server"
DataSourceID="SqlDataSource6" DataTextField="AyearNM" DataValueField="ID" >
</asp:DropDownList>
<asp:Label ID="Label16" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Где и кем выдан*:</td>
<td>
<asp:TextBox ID="TextBox14" runat="server" Width="292px"></asp:TextBox>
<asp:Label ID="Label17" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
</table>
<p class="style7">
Адрес фактического проживания</p>
<table>
<tr>
<td align="right" class="style10">Индекс:</td>
<td>
<asp:TextBox ID="TextBox15" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="style10">Область, район:</td>
<td>
<asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="style10">Город/населённый пункт*:</td>
<td>
<asp:TextBox ID="TextBox17" runat="server"
Width="308px"></asp:TextBox>
<asp:Label ID="Label18" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Адрес*:</td>
<td>
<asp:TextBox ID="TextBox18" runat="server"
Width="380px"></asp:TextBox>
<asp:Label ID="Label19" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Укажите срок факт. проживания по адресу проживания*:</td>
<td>
<asp:DropDownList ID="DropDownList17" runat="server"
DataSourceID="SqlDataSource12" DataTextField="CyearNM" DataValueField="ID"
style="margin-left: 0px">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource12" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString47 %>"
SelectCommand="SELECT * FROM [Cyear]"></asp:SqlDataSource>
лет
<asp:DropDownList ID="DropDownList18" runat="server"
DataSourceID="SqlDataSource13" DataTextField="CmonthNM"
DataValueField="ID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource13" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString48 %>"
SelectCommand="SELECT * FROM [Cmonth]"></asp:SqlDataSource>
месяцев
<asp:Label ID="Label20" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Недвижимость по адресу факт. проживания является*:</td>
<td>
<asp:DropDownList ID="DropDownList11" runat="server"
DataSourceID="SqlDataSource5" DataTextField="FtypeNM" DataValueField="ID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource5" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString49 %>"
SelectCommand="SELECT * FROM [Ftype]"></asp:SqlDataSource>
<asp:Label ID="Label21" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
</table>
<p class="style7">
Адрес регистрации</p>
<table>
<tr><td align="right" class="style10" title="Да">Совпадает с адресом фактического проживания?**</td>
<td>
<asp:CheckBox ID="CheckBox1" runat="server"
oncheckedchanged="CheckBox1_CheckedChanged" />
</td>
</tr>
<tr>
<td align="right" class="style10">Индекс:</td>
<td>
<asp:TextBox ID="TextBox21" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="style10">Область, район:</td>
<td>
<asp:TextBox ID="TextBox22" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="style10">Город/населённый пункт*:</td>
<td>
<asp:TextBox ID="TextBox23" runat="server"
Width="250px"></asp:TextBox>
<asp:Label ID="Label22" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Адрес*:</td>
<td>
<asp:TextBox ID="TextBox24" runat="server"
Width="300px"></asp:TextBox>
<asp:Label ID="Label23" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style8">Телефон по месту регистрации:</td>
<td class="style9">
(<asp:TextBox
ID="TextBox1" runat="server" Width="64px"></asp:TextBox>
)
<asp:TextBox ID="TextBox25" runat="server" Width="180px" ></asp:TextBox>
</td>
<td class="style9">
<span class="style1">(Например: (495) 123-45-67)
</span>
</td>
</tr>
</table>
<p>
** Если адреса совпадают, то заполнение соответствующих полей необязательно.</p>
<table>
<tr> <td align="right" class="style10">Укажите Ваше семейное положение*:</td>
<td>
<asp:DropDownList ID="DropDownList12" runat="server"
DataSourceID="SqlDataSource7" DataTextField="FamposNM" DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label24" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource7" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString42 %>"
SelectCommand="SELECT * FROM [Fampos]"></asp:SqlDataSource>
</td>
</tr>
<tr><td align="right" class="style10">Укажите Ваше образование*:</td>
<td>
<asp:DropDownList ID="DropDownList13" runat="server"
DataSourceID="SqlDataSource8" DataTextField="EducationNM" DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label25" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource8" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString43 %>"
SelectCommand="SELECT * FROM [Education]"></asp:SqlDataSource>
</td>
</tr>
<tr><td align="right" class="style10">Сколько у Вас несовершеннолетних детей?*</td>
<td>
<asp:DropDownList ID="DropDownList14" runat="server"
DataSourceID="SqlDataSource9" DataTextField="ChildrenNM" DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label26" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource9" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString44 %>"
SelectCommand="SELECT * FROM [Children]"></asp:SqlDataSource>
</td>
</tr>
</table>
<p class="style7">
Информация о трудоустройстве</p>
<table>
<tr><td align="right" class="style10">Вид деятельности компании*:</td>
<td class="style11">
<asp:DropDownList ID="DropDownList15" runat="server"
DataSourceID="SqlDataSource10" DataTextField="ComptypeNM"
DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label29" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource10" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString45 %>"
SelectCommand="SELECT * FROM [Comptype]"></asp:SqlDataSource>
</td>
</tr>
<tr><td align="right" class="style10">Официальное наименование компании*:</td>
<td class="style11">
<asp:TextBox ID="TextBox30" runat="server" Width="300px"></asp:TextBox>
<asp:Label ID="Label30" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr><td align="right" class="style10">ИНН компании*:</td>
<td class="style11">
<asp:TextBox ID="TextBox31" runat="server" Width="160px"></asp:TextBox>
<asp:Label ID="Label31" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr><td align="right" class="style10">ОГРН компании*:</td>
<td class="style11">
<asp:TextBox ID="TextBox32" runat="server" Width="160px"></asp:TextBox>
</td>
</tr>
<tr><td align="right" class="style10">Должность*:</td>
<td class="style11">
<asp:TextBox ID="TextBox33" runat="server" Width="300px"></asp:TextBox>
<asp:Label ID="Label32" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr><td align="right" class="style10">Рабочий телефон*:</td>
<td class="style11">
(<asp:TextBox
ID="TextBox34" runat="server" Width="64px"></asp:TextBox>
)
<asp:TextBox ID="TextBox35" runat="server" Width="180px" ></asp:TextBox>
<span class="style1">(Например: (495) 123-45-67)
<asp:Label ID="Label33" runat="server" style="color: #CC0000"></asp:Label>
</span>
</td>
</tr>
</table>
<p class="style7">
Адрес компании (фактический адрес места Вашей работы)</p>
<table>
<tr>
<td align="right" class="style10">Индекс:</td>
<td>
<asp:TextBox ID="TextBox26" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="style10">Область, район:</td>
<td>
<asp:TextBox ID="TextBox27" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" class="style10">Город/населённый пункт*:</td>
<td>
<asp:TextBox ID="TextBox28" runat="server"
Width="250px"></asp:TextBox>
<asp:Label ID="Label27" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Адрес*:</td>
<td>
<asp:TextBox ID="TextBox29" runat="server"
Width="300px"></asp:TextBox>
<asp:Label ID="Label28" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Количество сотрудников в компании-работодателе*:</td>
<td>
<asp:DropDownList ID="DropDownList16" runat="server"
DataSourceID="SqlDataSource11" DataTextField="CompamountNM"
DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label34" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource11" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString46 %>"
SelectCommand="SELECT * FROM [Compamount]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td align="right" class="style12">Как долго Вы работаете в этой компании*:</td>
<td class="style13">
<asp:DropDownList ID="DropDownList19" runat="server"
datasourceid="SqlDataSource14" DataTextField="CyearNM" DataValueField="ID"
style="margin-left: 0px">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource14" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString50 %>"
SelectCommand="SELECT * FROM [Cyear]"></asp:SqlDataSource>
лет
<asp:DropDownList ID="DropDownList20" runat="server"
datasourceid="SqlDataSource15" DataTextField="CmonthNM"
DataValueField="ID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource15" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString51 %>"
SelectCommand="SELECT * FROM [Cmonth]"></asp:SqlDataSource>
месяцев
<asp:Label ID="Label35" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Как долго Вы работали на предыдущем месте работы*:</td>
<td>
<asp:DropDownList ID="DropDownList21" runat="server"
datasourceid="SqlDataSource16" DataTextField="CyearNM" DataValueField="ID"
style="margin-left: 0px">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource16" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString52 %>"
SelectCommand="SELECT * FROM [Cyear]"></asp:SqlDataSource>
лет
<asp:DropDownList ID="DropDownList22" runat="server"
datasourceid="SqlDataSource17" DataTextField="CmonthNM"
DataValueField="ID" Height="22px">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource17" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString53 %>"
SelectCommand="SELECT * FROM [Cmonth]"></asp:SqlDataSource>
месяцев
<asp:Label ID="Label36" runat="server" style="color: #CC0000"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style10">Размер Вашей месячной заработной платы после уплаты налогов и других вычетов*:</td>
<td>
<asp:TextBox ID="TextBox36" runat="server" Width="200px"></asp:TextBox>  руб.
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server"
ControlToValidate="TextBox36" ErrorMessage="Введите корректное значение!"
style="color: #FF0000"
ValidationExpression="\d*"></asp:RegularExpressionValidator>
</td>
<td>
<span class="style1">(Например: 100000)
<asp:Label ID="Label9" runat="server" style="color: #CC0000"></asp:Label>
</span>
</td>
</tr>
</table>
<p class="style7">
Автомобиль</p>
<table>
<tr><td align="right" class="style10">Есть ли у Вас автомобиль, находящийся в Вашей собственности?*</td>
<td>
<asp:DropDownList ID="DropDownList23" runat="server"
DataSourceID="SqlDataSource18" DataTextField="AutomobNM"
DataValueField="ID">
</asp:DropDownList>
<asp:Label ID="Label37" runat="server" style="color: #CC0000"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource18" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString54 %>"
SelectCommand="SELECT * FROM [Automob]"></asp:SqlDataSource>
</td> </tr>
</table>
<p class="style7">
Путешествия</p>
<table>
<tr><td align="right" class="style10">Вы совершали поездки за рубеж в течение последних 6 месяцев?*</td>
<td>
<asp:RadioButtonList ID="RadioButtonList2" runat="server"
Width="240px" DataSourceID="SqlDataSource19" DataTextField="TravelNM"
DataValueField="ID" RepeatDirection="Horizontal">
</asp:RadioButtonList>
<asp:SqlDataSource ID="SqlDataSource19" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString55 %>"
SelectCommand="SELECT * FROM [Travel]"></asp:SqlDataSource>
<asp:Label ID="Label38" runat="server" style="color: #CC0000"></asp:Label>
</td> </tr>
</table>
<p class="style7">
Ваши кредиты</p>
<table>
<tr><td align="right" class="style10">Есть ли у Вас кредитная карта или открытая кредитная линия?*</td>
<td>
<asp:RadioButtonList ID="RadioButtonList3" runat="server"
Width="240px" DataSourceID="SqlDataSource20" DataTextField="CommitmentNM"
DataValueField="ID" RepeatDirection="Horizontal">
</asp:RadioButtonList>
<asp:SqlDataSource ID="SqlDataSource20" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString56 %>"
SelectCommand="SELECT * FROM [Commitment]"></asp:SqlDataSource>
<asp:Label ID="Label39" runat="server" style="color: #CC0000"></asp:Label>
</td> </tr>
<tr><td align="right" class="style10">Есть ли у Вас невыплаченный кредит?*</td>
<td>
<asp:RadioButtonList ID="RadioButtonList4" runat="server"
Width="240px" DataSourceID="SqlDataSource21" DataTextField="DebtloanNM"
DataValueField="ID" RepeatDirection="Horizontal">
</asp:RadioButtonList>
<asp:SqlDataSource ID="SqlDataSource21" runat="server"
ConnectionString="<%$ ConnectionStrings:BANKConnectionString57 %>"
SelectCommand="SELECT * FROM [Debtloan]"></asp:SqlDataSource>
<asp:Label ID="Label40" runat="server" style="color: #CC0000"></asp:Label>
</td> </tr>
</table>
<p>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Создать заявку" />
</p>
</form>
<p>
* Поля, обязательные для заполнения.</p>
<p>
</p>
</form>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="81" align="center" valign="middle" bgcolor="#386092" class="menu"><a href="index.htm" class="menu">Главная страница</a> | <a href="about.htm" class="menu">О нас</a> | <a href="partners.htm" class="menu">Наши партнёры</a> | <a href="contact.htm" class="menu">Контакты</a><br>
Copyrights 2011 @ Student</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
1.2 Дизайн веб-страниц
Дизайн страницы и стили шрифтов описаны в файле Style.css
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
h1 {
font-family: Arial;
font-size: 14px;
margin: 0px;
color: #3D6AA1;
}
a {
text-decoration: none;
color: #044797;
}
a:link {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
color: #000000;
text-decoration: underline;
}
.logo {
font-family: Arial;
font-size: 14px;
font-weight: bold;
color: #ADCDEB;
}
.menu {
font-family: Arial;
font-size: 10px;
text-decoration: none;
color: #FFFFFF;
}
.menu2 {
font-family: Arial;
font-size: 10px;
color: #FFFFFF;
text-decoration: none;
}
p {
font-family: Arial;
font-size: 10px;
}
1.3 Функциональные модули
Онлайн заявка на получение кредита
Исполняемый код страницы описан в файле Default.aspx.cs
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
string for_label;
protected bool check_data(SqlCommand aCommand)
{
Label2.Text = "";
Label3.Text = "";
Label4.Text = "";
Label5.Text = "";
Label6.Text = "";
Label7.Text = "";
Label8.Text = "";
Label9.Text = "";
Label10.Text = "";
Label11.Text = "";
Label12.Text = "";
Label13.Text = "";
Label41.Text = "";
Label15.Text = "";
Label16.Text = "";
Label17.Text = "";
Label18.Text = "";
Label19.Text = "";
Label20.Text = "";
Label21.Text = "";
Label22.Text = "";
Label23.Text = "";
Label24.Text = "";
Label25.Text = "";
Label26.Text = "";
Label27.Text = "";
Label28.Text = "";
Label29.Text = "";
Label30.Text = "";
Label31.Text = "";
Label32.Text = "";
Label33.Text = "";
Label34.Text = "";
Label35.Text = "";
Label36.Text = "";
Label37.Text = "";
Label38.Text = "";
Label39.Text = "";
Label40.Text = "";
for_label = "Введите корректное значение!";
if (Convert.ToInt32(DropDownList5.SelectedValue) == 131)
{
Label3.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList7.SelectedValue) == 138)
{
Label4.Text = for_label;
return false;
}
if (TextBox2.Text == "")
{
Label2.Text = for_label;
return false;
}
if (TextBox3.Text == "")
{
Label5.Text = for_label;
return false;
}
if (TextBox4.Text == "")
{
Label6.Text = for_label;
return false;
}
if ((DropDownList1.SelectedValue == "") | (DropDownList2.SelectedValue == "") | (Convert.ToInt32(DropDownList3.SelectedValue) == 321))
{
Label7.Text = for_label;
return false;
}
if ((Convert.ToInt32(DateTime.Today.Year.ToString()) - Convert.ToInt32(Convert.ToString(DropDownList3.SelectedItem))) < 19)
{
Label7.Text = "К сожалению, Вы не проходите по возрасту!";
return false;
}
if (Convert.ToInt32(DropDownList6.SelectedValue) == 311)
{
Label8.Text = for_label;
return false;
}
if ((TextBox7.Text == "") | (TextBox8.Text == ""))
{
Label10.Text = for_label;
return false;
}
if (TextBox9.Text == "")
{
Label11.Text = for_label;
return false;
}
if (TextBox10.Text == "")
{
Label12.Text = for_label;
return false;
}
if (TextBox11.Text == "")
{
Label13.Text = for_label;
return false;
}
if (RadioButtonList1.SelectedValue == "")
{
Label41.Text = for_label;
return false;
}
if ((TextBox12.Text == "") | (TextBox13.Text == ""))
{
Label15.Text = for_label;
return false;
}
if ((DropDownList8.SelectedValue == "") | (DropDownList9.SelectedValue == "") | (Convert.ToInt32(DropDownList10.SelectedValue) == 321))
{
Label16.Text = for_label;
return false;
}
if (TextBox14.Text == "")
{
Label17.Text = for_label;
return false;
}
if (TextBox17.Text == "")
{
Label18.Text = for_label;
return false;
}
if (TextBox18.Text == "")
{
Label19.Text = for_label;
return false;
}
if (((Convert.ToInt32(DropDownList17.SelectedValue) == 486) & (Convert.ToInt32(DropDownList18.SelectedValue) == 538)) | ((Convert.ToInt32(DropDownList17.SelectedValue) == 487) & (Convert.ToInt32(DropDownList18.SelectedValue) == 539)))
{
Label20.Text = for_label;
return false;
}
if ((Convert.ToInt32(DropDownList17.SelectedValue) == 486) | (Convert.ToInt32(DropDownList18.SelectedValue) == 538))
{
Label20.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList11.SelectedValue) == 429)
{
Label21.Text = for_label;
return false;
}
if ((TextBox23.Text == "") & (CheckBox1.Checked == false))
{
Label22.Text = for_label;
return false;
}
if ((TextBox24.Text == "") & (CheckBox1.Checked == false))
{
Label23.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList12.SelectedValue) == 454)
{
Label24.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList13.SelectedValue) == 457)
{
Label25.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList14.SelectedValue) == 464)
{
Label26.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList15.SelectedValue) == 551)
{
Label29.Text = for_label;
return false;
}
if (TextBox30.Text == "")
{
Label30.Text = for_label;
return false;
}
if (TextBox31.Text == "")
{
Label31.Text = for_label;
return false;
}
if (TextBox33.Text == "")
{
Label32.Text = for_label;
return false;
}
if ((TextBox34.Text == "") | (TextBox35.Text == ""))
{
Label33.Text = for_label;
return false;
}
if (TextBox28.Text == "")
{
Label27.Text = for_label;
return false;
}
if (TextBox29.Text == "")
{
Label28.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList16.SelectedValue) == 576)
{
Label34.Text = for_label;
return false;
}
if (((Convert.ToInt32(DropDownList19.SelectedValue) == 486) & (Convert.ToInt32(DropDownList20.SelectedValue) == 538)) | ((Convert.ToInt32(DropDownList19.SelectedValue) == 487) & (Convert.ToInt32(DropDownList20.SelectedValue) == 539)))
{
Label35.Text = for_label;
return false;
}
if ((Convert.ToInt32(DropDownList19.SelectedValue) == 486) | (Convert.ToInt32(DropDownList20.SelectedValue) == 538))
{
Label35.Text = for_label;
return false;
}
if (((Convert.ToInt32(DropDownList21.SelectedValue) == 486) & (Convert.ToInt32(DropDownList22.SelectedValue) == 538)) | (Convert.ToInt32(DropDownList21.SelectedValue) == 486) | (Convert.ToInt32(DropDownList22.SelectedValue) == 538))
{
Label36.Text = for_label;
return false;
}
if (TextBox36.Text == "")
{
Label9.Text = for_label;
return false;
}
if (Convert.ToInt32(DropDownList23.SelectedValue) == 584)
{
Label37.Text = for_label;
return false;
}
if (RadioButtonList2.SelectedValue == "")
{
Label38.Text = for_label;
return false;
}
if (RadioButtonList3.SelectedValue == "")
{
Label39.Text = for_label;
return false;
}
if (RadioButtonList4.SelectedValue == "")
{
Label40.Text = for_label;
return false;
}
else return true;
}
protected void Button1_Click(object sender, EventArgs e)
{
string source = "Data Source=Mario-PK;Initial Catalog=BANK;Integrated Security=True";
SqlConnection conn = new SqlConnection(source);
conn.Open();
SqlCommand aCommand = new SqlCommand("sp_RequestInsert", conn);
aCommand.CommandType = CommandType.StoredProcedure;
aCommand.Parameters.Add(
new SqlParameter("@RegionID",
SqlDbType.Int,
0,
"RegionID")
);
aCommand.Parameters.Add(
new SqlParameter("@WorkformID",
SqlDbType.Int,
0,
"WorkformID")
);
aCommand.Parameters.Add(
new SqlParameter("@Secname",
SqlDbType.VarChar,
100,
"Secname")
);
aCommand.Parameters.Add(
new SqlParameter("@Firstname",
SqlDbType.VarChar,
100,
"Firstname")
);
aCommand.Parameters.Add(
new SqlParameter("@Thirdname",
SqlDbType.VarChar,
100,
"Thirdname")
);
aCommand.Parameters.Add(
new SqlParameter("@Bdate",
SqlDbType.DateTime,
0,
"Bdate")
);
aCommand.Parameters.Add(
new SqlParameter("@FvcountryID",
SqlDbType.Int,
0,
"FvcountryID")
);
aCommand.Parameters.Add(
new SqlParameter("@Telnum",
SqlDbType.VarChar,
20,
"Telnum")
);
aCommand.Parameters.Add(
new SqlParameter("@Cellnum",
SqlDbType.VarChar,
20,
"Cellnum")
);
aCommand.Parameters.Add(
new SqlParameter("@Email",
SqlDbType.VarChar,
50,
"Email")
);
aCommand.Parameters.Add(
new SqlParameter("@Crsum",
SqlDbType.VarChar,
50,
"Crsum")
);
aCommand.Parameters.Add(
new SqlParameter("@Wnterm",
SqlDbType.Int,
0,
"Wnterm")
);
aCommand.Parameters.Add(
new SqlParameter("@GenderID",
SqlDbType.Int,
0,
"GenderID")
);
aCommand.Parameters.Add(
new SqlParameter("@Paspnum",
SqlDbType.VarChar,
50,
"Paspnum")
);
aCommand.Parameters.Add(
new SqlParameter("@Dpasp",
SqlDbType.DateTime,
0,
"Dpasp")
);
aCommand.Parameters.Add(
new SqlParameter("@Infpasp",
SqlDbType.VarChar,
300,
"Infpasp")
);
aCommand.Parameters.Add(
new SqlParameter("@Findex",
SqlDbType.VarChar,
20,
"Findex")
);
aCommand.Parameters.Add(
new SqlParameter("@Farea",
SqlDbType.VarChar,
50,
"Farea")
);
aCommand.Parameters.Add(
new SqlParameter("@Fcity",
SqlDbType.VarChar,
80,
"Fcity")
);
aCommand.Parameters.Add(
new SqlParameter("@Faddress",
SqlDbType.VarChar,
200,
"Faddress")
);
aCommand.Parameters.Add(
new SqlParameter("@Ftime",
SqlDbType.Int,
0,
"Ftime")
);
aCommand.Parameters.Add(
new SqlParameter("@FtypeID",
SqlDbType.Int,
0,
"FtypeID")
);
aCommand.Parameters.Add(
new SqlParameter("@Add_ident",
SqlDbType.Int,
0,
"Add_ident")
);
aCommand.Parameters.Add(
new SqlParameter("@Rindex",
SqlDbType.VarChar,
20,
"Rindex")
);
aCommand.Parameters.Add(
new SqlParameter("@Rarea",
SqlDbType.VarChar,
50,
"Rarea")
);
aCommand.Parameters.Add(
new SqlParameter("@Rcity",
SqlDbType.VarChar,
80,
"Rcity")
);
aCommand.Parameters.Add(
new SqlParameter("@Raddress",
SqlDbType.VarChar,
200,
"Raddress")
);
aCommand.Parameters.Add(
new SqlParameter("@Telreg",
SqlDbType.VarChar,
20,
"Telreg")
);
aCommand.Parameters.Add(
new SqlParameter("@FamposID",
SqlDbType.Int,
0,
"FamposID")
);
aCommand.Parameters.Add(
new SqlParameter("@EducationID",
SqlDbType.Int,
0,
"EducationID")
);
aCommand.Parameters.Add(
new SqlParameter("@ChildrenID",
SqlDbType.Int,
0,
"ChildrenID")
);
aCommand.Parameters.Add(
new SqlParameter("@ComptypeID",
SqlDbType.Int,
0,
"ComptypeID")
);
aCommand.Parameters.Add(
new SqlParameter("@Compname",
SqlDbType.VarChar,
200,
"Compname")
);
aCommand.Parameters.Add(
new SqlParameter("@Compinn",
SqlDbType.VarChar,
20,
"Compinn")
);
aCommand.Parameters.Add(
new SqlParameter("@Compogrn",
SqlDbType.VarChar,
50,
"Compogrn")
);
aCommand.Parameters.Add(
new SqlParameter("@Comppos",
SqlDbType.VarChar,
100,
"Comppos")
);
aCommand.Parameters.Add(
new SqlParameter("@Worknum",
SqlDbType.VarChar,
20,
"Worknum")
);
aCommand.Parameters.Add(
new SqlParameter("@Windex",
SqlDbType.VarChar,
20,
"Windex")
);
aCommand.Parameters.Add(
new SqlParameter("@Warea",
SqlDbType.VarChar,
50,
"Warea")
);
aCommand.Parameters.Add(
new SqlParameter("@Wcity",
SqlDbType.VarChar,
80,
"Wcity")
);
aCommand.Parameters.Add(
new SqlParameter("@Waddress",
SqlDbType.VarChar,
200,
"Waddress")
);
aCommand.Parameters.Add(
new SqlParameter("@CompamountID",
SqlDbType.Int,
0,
"CompamountID")
);
aCommand.Parameters.Add(
new SqlParameter("@Wtermpres",
SqlDbType.Int,
0,
"Wtermpres")
);
aCommand.Parameters.Add(
new SqlParameter("@Wtermlast",
SqlDbType.Int,
0,
"Wtermlast")
);
aCommand.Parameters.Add(
new SqlParameter("@Wpaym",
SqlDbType.Int,
0,
"Wpaym")
);
aCommand.Parameters.Add(
new SqlParameter("@AutomobID",
SqlDbType.Int,
0,
"AutomobID")
);
aCommand.Parameters.Add(
new SqlParameter("@TravelID",
SqlDbType.Int,
0,
"TravelID")
);
aCommand.Parameters.Add(
new SqlParameter("@CommitmentID",
SqlDbType.Int,
0,
"CommitmentID")
);
aCommand.Parameters.Add(
new SqlParameter("@DebtloanID",
SqlDbType.Int,
0,
"DebtloanID")
);
if (check_data(aCommand) != false)
{
for_label = "";
aCommand.UpdatedRowSource = UpdateRowSource.None;
aCommand.Parameters[0].Value = Convert.ToInt32(DropDownList5.SelectedValue);
aCommand.Parameters[1].Value = Convert.ToInt32(DropDownList7.SelectedValue);
aCommand.Parameters[2].Value = TextBox2.Text;
aCommand.Parameters[3].Value = TextBox3.Text;
aCommand.Parameters[4].Value = TextBox4.Text;
aCommand.Parameters[5].Value = Convert.ToDateTime(DropDownList1.Text + "." + DropDownList2.Text + "." + DropDownList3.SelectedItem);
aCommand.Parameters[6].Value = DropDownList6.SelectedValue;
if ((TextBox5.Text == "") & (TextBox6.Text == ""))
{ aCommand.Parameters[7].Value = TextBox5.Text + TextBox6.Text; }
else { aCommand.Parameters[7].Value = "(" + TextBox5.Text + ")" + TextBox6.Text; }
aCommand.Parameters[8].Value = "(" + TextBox7.Text + ")" + TextBox8.Text;
aCommand.Parameters[9].Value = TextBox9.Text;
aCommand.Parameters[10].Value = TextBox10.Text;
aCommand.Parameters[11].Value = TextBox11.Text;
aCommand.Parameters[12].Value = RadioButtonList1.SelectedValue;
aCommand.Parameters[13].Value = TextBox12.Text + "." + TextBox13.Text;
aCommand.Parameters[14].Value = Convert.ToDateTime(DropDownList8.Text + "." + DropDownList9.Text + "." + DropDownList10.SelectedItem);
aCommand.Parameters[15].Value = TextBox14.Text;
aCommand.Parameters[16].Value = TextBox15.Text;
aCommand.Parameters[17].Value = TextBox16.Text;
aCommand.Parameters[18].Value = TextBox17.Text;
aCommand.Parameters[19].Value = TextBox18.Text;
aCommand.Parameters[20].Value = Convert.ToInt32(Convert.ToString(DropDownList17.SelectedItem)) * 12 + Convert.ToInt32(Convert.ToString(DropDownList18.SelectedItem));
aCommand.Parameters[21].Value = Convert.ToInt32(DropDownList11.SelectedValue);
if (CheckBox1.Checked == true)
{ aCommand.Parameters[22].Value = 1; }
else { aCommand.Parameters[22].Value = 0; }
aCommand.Parameters[23].Value = TextBox21.Text;
aCommand.Parameters[24].Value = TextBox22.Text;
aCommand.Parameters[25].Value = TextBox23.Text;
aCommand.Parameters[26].Value = TextBox24.Text;
if ((TextBox1.Text == "") & (TextBox25.Text == ""))
{ aCommand.Parameters[27].Value = TextBox1.Text + TextBox25.Text; }
else { aCommand.Parameters[27].Value = "(" + TextBox1.Text + ")" + TextBox25.Text; }
aCommand.Parameters[28].Value = Convert.ToInt32(DropDownList12.SelectedValue);
aCommand.Parameters[29].Value = Convert.ToInt32(DropDownList13.SelectedValue);
aCommand.Parameters[30].Value = Convert.ToInt32(DropDownList14.SelectedValue);
aCommand.Parameters[31].Value = Convert.ToInt32(DropDownList15.SelectedValue);
aCommand.Parameters[32].Value = TextBox30.Text;
aCommand.Parameters[33].Value = TextBox31.Text;
aCommand.Parameters[34].Value = TextBox32.Text;
aCommand.Parameters[35].Value = TextBox33.Text;
aCommand.Parameters[36].Value = "(" + TextBox34.Text + ")" + TextBox35.Text;
aCommand.Parameters[37].Value = TextBox26.Text;
aCommand.Parameters[38].Value = TextBox27.Text;
aCommand.Parameters[39].Value = TextBox28.Text;
aCommand.Parameters[40].Value = TextBox29.Text;
aCommand.Parameters[41].Value = Convert.ToInt32(DropDownList16.SelectedValue);
aCommand.Parameters[42].Value = Convert.ToInt32(Convert.ToString(DropDownList19.SelectedItem)) * 12 + Convert.ToInt32(Convert.ToString(DropDownList20.SelectedItem));
aCommand.Parameters[43].Value = Convert.ToInt32(Convert.ToString(DropDownList21.SelectedItem)) * 12 + Convert.ToInt32(Convert.ToString(DropDownList22.SelectedItem));
aCommand.Parameters[44].Value = TextBox36.Text;
aCommand.Parameters[45].Value = Convert.ToInt32(DropDownList23.SelectedValue);
aCommand.Parameters[46].Value = RadioButtonList2.SelectedValue;
aCommand.Parameters[47].Value = RadioButtonList3.SelectedValue;
Подобные документы
Техническое задание на разработку автоматизированной системы и складского учета управления универсальной торговой базы. Проектирование информационной системы и выбор среды для создания программного продукта. Создание интерфейса и руководство пользователя.
дипломная работа [2,1 M], добавлен 11.07.2015Разработка и внедрение автоматизированной информационной системы (АИС) работы с клиентами туристической фирмы (приема и обработки заявок). Технико-экономическая оценка туристического агентства, алгоритм и схема интерфейса программного обеспечения его АИС.
дипломная работа [4,0 M], добавлен 21.07.2011Анализ существующих систем управления базами данных и выбор оптимальной. Создание автоматизированной информационной системы "Поликлиника", определение сущностей и взаимосвязей, описание физической модели, проектирование интерфейса, алгоритм программы.
курсовая работа [3,1 M], добавлен 21.11.2009Выбор методологии проектирования и разработка информационной системы "Расчёт зарплаты" для предприятия ОАО РТП "Авторемонтник". Архитектурное проектирование базы данных информационной системы и разработка её интерфейса. Тестирование программного модуля.
дипломная работа [2,3 M], добавлен 25.05.2014Создание информационной системы для фирмы "Удача", которая является посредником при перепродаже недвижимости. Обоснование состава вычислительной техники и программного обеспечения для функционирования данной автоматизированной информационной системы.
курсовая работа [1,8 M], добавлен 17.02.2014Основные функции автоматизированной системы "Решатель математических формул". Требования к техническим средствам, информационной и программной совместимости. Стратегии конструирования программного обеспечения. Проектирование, разработка программного кода.
курсовая работа [600,0 K], добавлен 25.02.2012Разработка автоматизированной информационной системы для учета и контроля выполнения ремонтных работ, и предоставления услуг по разработке программного обеспечения компании "МегионСофтОйл", разработка алгоритмов приложений программной системы и модулей.
дипломная работа [5,3 M], добавлен 29.06.2012Описание салона-магазина по предоставлению услуг оператора мобильной связи. Обоснование создания автоматизированной информационной системы "Оператор". Выбор программного обеспечения, проектирование реляционной базы данных. Описание основ интерфейса.
дипломная работа [1,9 M], добавлен 27.05.2015Задачи работы медицинского секретариата и отдела приема пациентов. Требования к информационной системе, архитектура ее технических средств. Разработка алгоритма функционирования системы и интерфейса пользователя. Реализация программного обеспечения.
курсовая работа [1010,7 K], добавлен 07.07.2013Разработка требований к программному обеспечению. Проектирование пользовательского интерфейса. Представление информационной системы в архитектуре "клиент-серверная". Проектирование программных модулей. Создание структуры пооперационного перечня работ.
курсовая работа [3,1 M], добавлен 09.08.2011