Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Microsoft C# Professional Projects - Premier Press.pdf
Скачиваний:
177
Добавлен:
24.05.2014
Размер:
14.65 Mб
Скачать

IMPLEMENTING THE BUSINESS LOGIC

Chapter 21

519

 

 

 

 

sqlDataAdapter1.UpdateCommand.ExecuteNonQuery(); sqlConnection1.Close();

lblDetails.Text=”Ticket confirmed\n(“ + dataSet21.Tables [“TicketDetails”].Rows[0][4].ToString() +

“\n” + dataSet21.Tables[“TicketDetails”].Rows[0][2].ToString() + “)”; lblDetails.Visible=true;

}

}

}

Summary

This chapter provided the necessary code and explanations to implement the functionality for Web forms.The forms of the SkyShark Airlines application have a consistent interface that is created by using a header file and a consistent menu on all Web forms. Most forms of the SkyShark Airlines application include data controls that are used to exchange data with the SkyShark database. Additionally, each Web form includes an authentication mechanism to ensure that the user is authorized to view the Web forms.

This page intentionally left blank

Chapter 22

Creating

the Customer

Transaction Portal