SlideShare a Scribd company logo
ASP .NET Training 2017
Prepared By: Moutasm Tamimi
Using C# language
Microsoft visual studio
version 2008-2010-2012-2014
Web Form applications
Part 1 & 2
Speaker Information
 Moutasm tamimi
Independent consultant , IT Researcher , CEO at ITG7
Instructor of: Project Development.
DBMS.
.NET applications.
Digital marketing.
Email: tamimi@itg7.com
LinkedIn: click here.
Concepts
 ASP.NET is an open-source server-side web application framework
designed for web development to produce dynamic web pages. It was
developed by Microsoft to allow programmers to build dynamic web sites,
web applications and web services.
 C# (pronounced "C sharp") is a programming language that is designed
for building a variety of applications that run on the .NET Framework. C# is
simple, powerful, type-safe, and object-oriented.
Concepts
 Server-side scripting is a technique used in web development
which involves employing scripts on a web server which produce a
response customized for each user's (client's) request to the
website. The alternative is for the web server itself to deliver a static
web page.
 Client-side refers to operations that are performed by the client in
a client–server relationship in a computer network. Typically,
a client is a computer application, such as a web browser, that runs
on a user's local computer or workstation and connects to a server
as necessary.
Web Technologies
 HTTP / HTTPS (URL, GET/POST)
 Client-side:
 HTML / XHTML (Extensible HyperText Markup Language)
 JavaScript / VBScript (client-side scripting)
 Applets / ActiveX controls
 Server-side:
 PHP
 Phython
 JSP (Java Server Pages)
 ASP (Active Server Pages)
 ASP.NET (next generation of ASP)
Create web application
Step 1: Creating the Web Application Project
Select File > New Web Site... and choose ASP.NET Empty Web Site in the Templates pane.
Select File System from the drop-down list closest to Location.
Set the Language to Visual C#, and click OK.
Create web application
‫اللغة‬ ‫اختيار‬
‫المشروع‬ ‫نوع‬
‫ومكانه‬ ‫المشروع‬ ‫اسم‬
Add an element to the project solution
‫المشروع‬ ‫محتوى‬ ‫على‬ ‫عنصر‬ ‫اضافة‬
Items type
‫اختيار‬
‫اللغة‬
‫الصفحات‬
‫مشترك‬ ‫تصميم‬ ‫لعمل‬
‫صفحات‬ ‫لعدة‬
‫بلغة‬ ‫للبرمجة‬
C#
Runtime page
‫منفرد‬ ‫بشكل‬ ‫الموقع‬ ‫على‬ ‫الصفحة‬ ‫تشغيل‬
Important toolbox
‫في‬ ‫الخاصة‬ ‫العناصر‬
server side
Properties
‫البرمجي‬ ‫االسم‬
‫للمستخدم‬ ‫الضاهر‬ ‫االسم‬
Properties
‫العمل‬ ‫حيز‬ ‫لون‬
‫العمل‬ ‫حدود‬ ‫لون‬
‫الخط‬ ‫لون‬
CSS - Style
CSS Code
‫التصاميم‬ ‫من‬ ‫محتوى‬ ‫عمل‬
‫صفحات‬ ‫مجموعة‬ ‫او‬ ‫لصفحة‬
Build style
‫معين‬ ‫تصميم‬ ‫النشاء‬
CSS Files
‫ملف‬ ‫انشاء‬
style 1
Style sheets ‫الموبايل‬ ‫تصاميم‬
‫والتابلت‬
‫على‬ ‫الوب‬ ‫تصاميم‬
‫الحاسوب‬ ‫اجهزة‬
Using CSS
<head runat="server">
<title>Test1</title>
<link href="Style/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="lebel1">
<asp:RadioButton ID="RadioButton1” runat="server" />
</div>
</body>
‫الكالس‬ ‫ربط‬ ‫طريقة‬
‫في‬ ‫انشائها‬ ‫تم‬ ‫التي‬
‫عمل‬ ‫المراد‬ ‫الصفحة‬
‫تصميماليها‬
‫الكالس‬ ‫تنفيذ‬ ‫طريقة‬
‫في‬ ‫كتبت‬ ‫التي‬
‫المستدعى‬ ‫الملف‬
‫داخل‬ ‫الملف‬ ‫مكان‬
‫المشروع‬
Master page
1
2
3
4
5
• 1-4 code in master page
• 5 code of inner page
related with master page
Add inner page related with master page
inner page
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="Style/StyleSheet.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>Test</div>
</asp:Content>
Like Head
Like Body
Master page body
 <body>
 <form id="form1" runat="server">
 <div>
 <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

 </asp:ContentPlaceHolder>
 </div>
 </form>
 </body>
 </html>
Header
Footer
Page
specific
Master page with many pages
References:
 https://www.w3schools.com/
ASP .NET Training 2017
Prepared By: Moutasm Tamimi
Using C# language
Microsoft visual studio
version 2008-2010-2012-2014
Web Form applications
Part 2
Code behind in c#
Editing the WebTime.aspx
 When the project loads for the first time, the Web Forms Designer displays the
autogenerated ASPX file in Source mode.
 Design mode indicates the XHTML element where the cursor is currently located.
 You can also view both the markup and the web-page design at the same time by
using Split mode
 Right click the ASPX file in the Solution Explorer
and select View Code to open the code-behind file
Web.config Data Source=.;
Initial Catalog=Blood_Units;
Page events
‫اهمها‬
‫عن‬ ‫تلقائيا‬ ‫تنفذ‬ ‫والتي‬‫د‬
‫الصفحة‬ ‫تشغيل‬
Code behind in c#
‫ال‬ ‫ملف‬
BZ business layer
‫ال‬ ‫ملف‬
DA Data access
layer
1
2
‫الكالسات‬ ‫من‬ ‫مجموعة‬
‫البعض‬ ‫ببعضها‬ ‫مرتبطة‬
‫الوصول‬ ‫الرئيسي‬ ‫للهدف‬
‫البيانات‬ ‫قاعدة‬ ‫الى‬
‫عمليات‬ ‫اجراء‬ ‫ثم‬
‫االضافة‬
‫التعديل‬
‫الحذف‬
‫البحث‬
‫الدخول‬ ‫وتسجيل‬
‫اخرا‬ ‫عمليات‬ ‫هناك‬ ‫علما‬
‫اهمها‬ ‫هذة‬ ‫لكن‬
How the code run in the object oriented
programming using 3-tier layers
System architecture using 3-tier layer
Application Layers
Data access layer
Business layer
Presentation Layer
Database Structure
Tables
Procedures
Request To connection DB
Response To connection DB
Send Transaction (Read/write)
1
2
3
4
5
Response Transaction
(Read/write)
DA Data access layer Data base table
Class properties
Class method
Data grid view example: book
Id: GV_ book
Search
Fill Dropdown list
 Subjects_BZ obj = new Subjects_BZ();
 DDL_Subject_Id.DataSource = obj.Subjects_Search("");
 DDL_Subject_Id.DataTextField = "";
 DDL_Subject_Id.DataValueField = "Id";
 DDL_Subject_Id.DataBind();
‫على‬ ‫الحصول‬ ‫المراد‬ ‫الكالس‬ ‫اسم‬
‫اسم‬ ‫على‬ ‫تدل‬ ‫والتي‬ ‫منها‬ ‫قيم‬
‫القاعدة‬ ‫في‬ ‫الجدول‬
‫بحث‬ ‫عملية‬ ‫خالل‬ ‫من‬
Data Source ‫تعبئة‬
DataValueField
‫اختيار‬ ‫تم‬ ‫الذي‬ ‫العنصر‬ ‫رقم‬
‫اسمة‬
DataTextField DataValueField
Science 2
Math 7
Clear data()
‫المستخدم‬ ‫قبل‬ ‫من‬ ‫تعبئتها‬ ‫التي‬ ‫الحقول‬ ‫افراغ‬
Convert to integer
 int id = 0;
 int.TryParse(lbl_Id.Text, out id);
 //‫رقم‬ ‫الى‬ ‫نص‬ ‫من‬ ‫المتغير‬ ‫قيمة‬ ‫تحويل‬ ‫طريقة‬

Try-Catch Block to Catch Exceptions
 Try {
.
.
} catch(Exception Ex)
{
}
Finally
{
}
‫صحتها‬ ‫من‬ ‫التحقق‬ ‫المراد‬ ‫االكواد‬ ‫كتابة‬
‫نوع‬ ‫ينقل‬ ‫خطأ‬ ‫اكتشاف‬ ‫تم‬ ‫حال‬ ‫في‬
‫الى‬ ‫الخطاء‬
catch
‫و‬ ‫االخطاء‬ ‫على‬ ‫الحصول‬ ‫منطقة‬
‫بها‬ ‫االحتفاظ‬
‫على‬ ‫يحتوي‬ ‫كان‬ ‫لو‬ ‫حتى‬ ‫الكود‬ ‫بتنفيذ‬ ‫الرغبة‬ ‫حال‬ ‫في‬ ‫االكواد‬ ‫فيها‬ ‫يكتب‬ ‫منطقة‬
‫برمجية‬ ‫اخطاء‬
IsPostBack
 if (!IsPostBack)
 {
 }
 Gets a value that indicates whether the page is being rendered for the first time or
is being loaded in response to a postback.
File upload control
Add if (id=0), update if (id not equal 0)

Update, delete
Dear students- Please check the updates
to the course every time
https://www.slideshare.net/moutasmtamimi/
ASP .NET Training 2017
Prepared By: Moutasm Tamimi
Using C# language
Microsoft visual studio
version 2008-2010-2012-2014
Web Form applications
Part 1 & 2

More Related Content

What's hot

A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010
Abram John Limpin
 
Mvc by asp.net development company in india - part 2
Mvc by asp.net development company in india  - part 2Mvc by asp.net development company in india  - part 2
Mvc by asp.net development company in india - part 2
iFour Institute - Sustainable Learning
 
srt311 Project2
srt311 Project2srt311 Project2
srt311 Project2
trayyoo
 
Sql server
Sql serverSql server
Sql server
Puja Gupta
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
SAMIR BHOGAYTA
 
Net Framework Hima
Net Framework HimaNet Framework Hima
Net Framework Hima
HimaVejella
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
Advanced Topics On Sql Injection Protection
Advanced Topics On Sql Injection ProtectionAdvanced Topics On Sql Injection Protection
Advanced Topics On Sql Injection Protection
amiable_indian
 
Advanced SQL injection to operating system full control (slides)
Advanced SQL injection to operating system full control (slides)Advanced SQL injection to operating system full control (slides)
Advanced SQL injection to operating system full control (slides)
Bernardo Damele A. G.
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
Tayyab Hussain
 
JavaScript - Chapter 14 - Form Handling
 JavaScript - Chapter 14 - Form Handling   JavaScript - Chapter 14 - Form Handling
JavaScript - Chapter 14 - Form Handling
WebStackAcademy
 
Data Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight ApplicationsData Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight Applications
Dave Allen
 

What's hot (12)

A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010
 
Mvc by asp.net development company in india - part 2
Mvc by asp.net development company in india  - part 2Mvc by asp.net development company in india  - part 2
Mvc by asp.net development company in india - part 2
 
srt311 Project2
srt311 Project2srt311 Project2
srt311 Project2
 
Sql server
Sql serverSql server
Sql server
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Net Framework Hima
Net Framework HimaNet Framework Hima
Net Framework Hima
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
Advanced Topics On Sql Injection Protection
Advanced Topics On Sql Injection ProtectionAdvanced Topics On Sql Injection Protection
Advanced Topics On Sql Injection Protection
 
Advanced SQL injection to operating system full control (slides)
Advanced SQL injection to operating system full control (slides)Advanced SQL injection to operating system full control (slides)
Advanced SQL injection to operating system full control (slides)
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
JavaScript - Chapter 14 - Form Handling
 JavaScript - Chapter 14 - Form Handling   JavaScript - Chapter 14 - Form Handling
JavaScript - Chapter 14 - Form Handling
 
Data Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight ApplicationsData Driven WPF and Silverlight Applications
Data Driven WPF and Silverlight Applications
 

Similar to Asp.net Programming Training (Web design, Web development)

Whidbey old
Whidbey old Whidbey old
Whidbey old
grenaud
 
Isset Presentation @ EECI2009
Isset Presentation @ EECI2009Isset Presentation @ EECI2009
Isset Presentation @ EECI2009
Isset Internet Professionals
 
Mdd lcds
Mdd lcdsMdd lcds
Mdd lcds
rssharma
 
ManishResume
ManishResumeManishResume
ManishResume
Manish Kumar Sharma
 
Performance Tune Up for Web Developers
Performance Tune Up for Web DevelopersPerformance Tune Up for Web Developers
Performance Tune Up for Web Developers
Lenin Ghazi
 
Front End Workflow
Front End WorkflowFront End Workflow
Front End Workflow
Matt Bailey
 
Mdd Lcds
Mdd LcdsMdd Lcds
Mdd Lcds
ravinxg
 
Big Data Analytics from Azure Cloud to Power BI Mobile
Big Data Analytics from Azure Cloud to Power BI MobileBig Data Analytics from Azure Cloud to Power BI Mobile
Big Data Analytics from Azure Cloud to Power BI Mobile
Roy Kim
 
Itvv project ppt
Itvv project pptItvv project ppt
Itvv project ppt
NEERAJ BAGHEL
 
Asp.Net_ Developer Resume Remotely
Asp.Net_ Developer Resume RemotelyAsp.Net_ Developer Resume Remotely
Asp.Net_ Developer Resume Remotely
SumitKumar2504
 
Yemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield UniversityYemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield University
Guillermo Julca
 
Kunal bhatia resume mass
Kunal bhatia   resume massKunal bhatia   resume mass
Kunal bhatia resume mass
Kunal Bhatia, MBA Candidate, BSc.
 
Resume_A_Vinod
Resume_A_VinodResume_A_Vinod
Resume_A_Vinod
Vinod Reddy
 
Azure presentation nnug dec 2010
Azure presentation nnug  dec 2010Azure presentation nnug  dec 2010
Azure presentation nnug dec 2010
Ethos Technologies
 
Intro to .NET for Government Developers
Intro to .NET for Government DevelopersIntro to .NET for Government Developers
Intro to .NET for Government Developers
Frank La Vigne
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
Karthik Reddy
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
Karthik Reddy
 
Mahesh Sibbadi Resume
Mahesh Sibbadi ResumeMahesh Sibbadi Resume
Mahesh Sibbadi Resume
Mahesh Sibbadi
 
Soprex framework on .net in action
Soprex framework on .net in actionSoprex framework on .net in action
Soprex framework on .net in action
Milan Vukoje
 
Experiences using CouchDB inside Microsoft's Azure team
Experiences using CouchDB inside Microsoft's Azure teamExperiences using CouchDB inside Microsoft's Azure team
Experiences using CouchDB inside Microsoft's Azure team
Brian Benz
 

Similar to Asp.net Programming Training (Web design, Web development) (20)

Whidbey old
Whidbey old Whidbey old
Whidbey old
 
Isset Presentation @ EECI2009
Isset Presentation @ EECI2009Isset Presentation @ EECI2009
Isset Presentation @ EECI2009
 
Mdd lcds
Mdd lcdsMdd lcds
Mdd lcds
 
ManishResume
ManishResumeManishResume
ManishResume
 
Performance Tune Up for Web Developers
Performance Tune Up for Web DevelopersPerformance Tune Up for Web Developers
Performance Tune Up for Web Developers
 
Front End Workflow
Front End WorkflowFront End Workflow
Front End Workflow
 
Mdd Lcds
Mdd LcdsMdd Lcds
Mdd Lcds
 
Big Data Analytics from Azure Cloud to Power BI Mobile
Big Data Analytics from Azure Cloud to Power BI MobileBig Data Analytics from Azure Cloud to Power BI Mobile
Big Data Analytics from Azure Cloud to Power BI Mobile
 
Itvv project ppt
Itvv project pptItvv project ppt
Itvv project ppt
 
Asp.Net_ Developer Resume Remotely
Asp.Net_ Developer Resume RemotelyAsp.Net_ Developer Resume Remotely
Asp.Net_ Developer Resume Remotely
 
Yemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield UniversityYemo_Capstone_MS_Fairfield University
Yemo_Capstone_MS_Fairfield University
 
Kunal bhatia resume mass
Kunal bhatia   resume massKunal bhatia   resume mass
Kunal bhatia resume mass
 
Resume_A_Vinod
Resume_A_VinodResume_A_Vinod
Resume_A_Vinod
 
Azure presentation nnug dec 2010
Azure presentation nnug  dec 2010Azure presentation nnug  dec 2010
Azure presentation nnug dec 2010
 
Intro to .NET for Government Developers
Intro to .NET for Government DevelopersIntro to .NET for Government Developers
Intro to .NET for Government Developers
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Mahesh Sibbadi Resume
Mahesh Sibbadi ResumeMahesh Sibbadi Resume
Mahesh Sibbadi Resume
 
Soprex framework on .net in action
Soprex framework on .net in actionSoprex framework on .net in action
Soprex framework on .net in action
 
Experiences using CouchDB inside Microsoft's Azure team
Experiences using CouchDB inside Microsoft's Azure teamExperiences using CouchDB inside Microsoft's Azure team
Experiences using CouchDB inside Microsoft's Azure team
 

More from Moutasm Tamimi

Software Quality Assessment Practices
Software Quality Assessment PracticesSoftware Quality Assessment Practices
Software Quality Assessment Practices
Moutasm Tamimi
 
Reengineering PDF-Based Documents Targeting Complex Software Specifications
Reengineering PDF-Based Documents Targeting Complex Software SpecificationsReengineering PDF-Based Documents Targeting Complex Software Specifications
Reengineering PDF-Based Documents Targeting Complex Software Specifications
Moutasm Tamimi
 
Software Evolution and Maintenance Models
Software Evolution and Maintenance ModelsSoftware Evolution and Maintenance Models
Software Evolution and Maintenance Models
Moutasm Tamimi
 
Software evolution and maintenance basic concepts and preliminaries
Software evolution and maintenance   basic concepts and preliminariesSoftware evolution and maintenance   basic concepts and preliminaries
Software evolution and maintenance basic concepts and preliminaries
Moutasm Tamimi
 
An integrated security testing framework and tool
An integrated security testing framework  and toolAn integrated security testing framework  and tool
An integrated security testing framework and tool
Moutasm Tamimi
 
Critical Success Factors along ERP life-cycle in Small medium enterprises
Critical Success Factors along ERP life-cycle in Small medium enterprises Critical Success Factors along ERP life-cycle in Small medium enterprises
Critical Success Factors along ERP life-cycle in Small medium enterprises
Moutasm Tamimi
 
Critical Success Factors (CSFs) In International ERP Implementations with que...
Critical Success Factors (CSFs) In International ERP Implementations with que...Critical Success Factors (CSFs) In International ERP Implementations with que...
Critical Success Factors (CSFs) In International ERP Implementations with que...
Moutasm Tamimi
 
Best Practices For Business Analyst - Part 3
Best Practices For Business Analyst - Part 3Best Practices For Business Analyst - Part 3
Best Practices For Business Analyst - Part 3
Moutasm Tamimi
 
Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1
Moutasm Tamimi
 
Recovery in Multi database Systems
Recovery in Multi database SystemsRecovery in Multi database Systems
Recovery in Multi database Systems
Moutasm Tamimi
 
Software Quality Models: A Comparative Study paper
Software Quality Models: A Comparative Study  paperSoftware Quality Models: A Comparative Study  paper
Software Quality Models: A Comparative Study paper
Moutasm Tamimi
 
ISO 29110 Software Quality Model For Software SMEs
ISO 29110 Software Quality Model For Software SMEsISO 29110 Software Quality Model For Software SMEs
ISO 29110 Software Quality Model For Software SMEs
Moutasm Tamimi
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
Moutasm Tamimi
 
Database Management System - SQL Advanced Training
Database Management System - SQL Advanced TrainingDatabase Management System - SQL Advanced Training
Database Management System - SQL Advanced Training
Moutasm Tamimi
 
Database Management System - SQL beginner Training
Database Management System - SQL beginner Training Database Management System - SQL beginner Training
Database Management System - SQL beginner Training
Moutasm Tamimi
 
Measurement and Quality in Object-Oriented Design
Measurement and Quality in Object-Oriented DesignMeasurement and Quality in Object-Oriented Design
Measurement and Quality in Object-Oriented Design
Moutasm Tamimi
 
SQL Injection and Clickjacking Attack in Web security
SQL Injection and Clickjacking Attack in Web securitySQL Injection and Clickjacking Attack in Web security
SQL Injection and Clickjacking Attack in Web security
Moutasm Tamimi
 

More from Moutasm Tamimi (17)

Software Quality Assessment Practices
Software Quality Assessment PracticesSoftware Quality Assessment Practices
Software Quality Assessment Practices
 
Reengineering PDF-Based Documents Targeting Complex Software Specifications
Reengineering PDF-Based Documents Targeting Complex Software SpecificationsReengineering PDF-Based Documents Targeting Complex Software Specifications
Reengineering PDF-Based Documents Targeting Complex Software Specifications
 
Software Evolution and Maintenance Models
Software Evolution and Maintenance ModelsSoftware Evolution and Maintenance Models
Software Evolution and Maintenance Models
 
Software evolution and maintenance basic concepts and preliminaries
Software evolution and maintenance   basic concepts and preliminariesSoftware evolution and maintenance   basic concepts and preliminaries
Software evolution and maintenance basic concepts and preliminaries
 
An integrated security testing framework and tool
An integrated security testing framework  and toolAn integrated security testing framework  and tool
An integrated security testing framework and tool
 
Critical Success Factors along ERP life-cycle in Small medium enterprises
Critical Success Factors along ERP life-cycle in Small medium enterprises Critical Success Factors along ERP life-cycle in Small medium enterprises
Critical Success Factors along ERP life-cycle in Small medium enterprises
 
Critical Success Factors (CSFs) In International ERP Implementations with que...
Critical Success Factors (CSFs) In International ERP Implementations with que...Critical Success Factors (CSFs) In International ERP Implementations with que...
Critical Success Factors (CSFs) In International ERP Implementations with que...
 
Best Practices For Business Analyst - Part 3
Best Practices For Business Analyst - Part 3Best Practices For Business Analyst - Part 3
Best Practices For Business Analyst - Part 3
 
Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1
 
Recovery in Multi database Systems
Recovery in Multi database SystemsRecovery in Multi database Systems
Recovery in Multi database Systems
 
Software Quality Models: A Comparative Study paper
Software Quality Models: A Comparative Study  paperSoftware Quality Models: A Comparative Study  paper
Software Quality Models: A Comparative Study paper
 
ISO 29110 Software Quality Model For Software SMEs
ISO 29110 Software Quality Model For Software SMEsISO 29110 Software Quality Model For Software SMEs
ISO 29110 Software Quality Model For Software SMEs
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
 
Database Management System - SQL Advanced Training
Database Management System - SQL Advanced TrainingDatabase Management System - SQL Advanced Training
Database Management System - SQL Advanced Training
 
Database Management System - SQL beginner Training
Database Management System - SQL beginner Training Database Management System - SQL beginner Training
Database Management System - SQL beginner Training
 
Measurement and Quality in Object-Oriented Design
Measurement and Quality in Object-Oriented DesignMeasurement and Quality in Object-Oriented Design
Measurement and Quality in Object-Oriented Design
 
SQL Injection and Clickjacking Attack in Web security
SQL Injection and Clickjacking Attack in Web securitySQL Injection and Clickjacking Attack in Web security
SQL Injection and Clickjacking Attack in Web security
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 

Asp.net Programming Training (Web design, Web development)

  • 1. ASP .NET Training 2017 Prepared By: Moutasm Tamimi Using C# language Microsoft visual studio version 2008-2010-2012-2014 Web Form applications Part 1 & 2
  • 2. Speaker Information  Moutasm tamimi Independent consultant , IT Researcher , CEO at ITG7 Instructor of: Project Development. DBMS. .NET applications. Digital marketing. Email: tamimi@itg7.com LinkedIn: click here.
  • 3.
  • 4. Concepts  ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services.  C# (pronounced "C sharp") is a programming language that is designed for building a variety of applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented.
  • 5. Concepts  Server-side scripting is a technique used in web development which involves employing scripts on a web server which produce a response customized for each user's (client's) request to the website. The alternative is for the web server itself to deliver a static web page.  Client-side refers to operations that are performed by the client in a client–server relationship in a computer network. Typically, a client is a computer application, such as a web browser, that runs on a user's local computer or workstation and connects to a server as necessary.
  • 6. Web Technologies  HTTP / HTTPS (URL, GET/POST)  Client-side:  HTML / XHTML (Extensible HyperText Markup Language)  JavaScript / VBScript (client-side scripting)  Applets / ActiveX controls  Server-side:  PHP  Phython  JSP (Java Server Pages)  ASP (Active Server Pages)  ASP.NET (next generation of ASP)
  • 7.
  • 8.
  • 9. Create web application Step 1: Creating the Web Application Project Select File > New Web Site... and choose ASP.NET Empty Web Site in the Templates pane. Select File System from the drop-down list closest to Location. Set the Language to Visual C#, and click OK.
  • 10. Create web application ‫اللغة‬ ‫اختيار‬ ‫المشروع‬ ‫نوع‬ ‫ومكانه‬ ‫المشروع‬ ‫اسم‬
  • 11. Add an element to the project solution ‫المشروع‬ ‫محتوى‬ ‫على‬ ‫عنصر‬ ‫اضافة‬
  • 12. Items type ‫اختيار‬ ‫اللغة‬ ‫الصفحات‬ ‫مشترك‬ ‫تصميم‬ ‫لعمل‬ ‫صفحات‬ ‫لعدة‬ ‫بلغة‬ ‫للبرمجة‬ C#
  • 13. Runtime page ‫منفرد‬ ‫بشكل‬ ‫الموقع‬ ‫على‬ ‫الصفحة‬ ‫تشغيل‬
  • 14. Important toolbox ‫في‬ ‫الخاصة‬ ‫العناصر‬ server side
  • 16. Properties ‫العمل‬ ‫حيز‬ ‫لون‬ ‫العمل‬ ‫حدود‬ ‫لون‬ ‫الخط‬ ‫لون‬
  • 17. CSS - Style CSS Code ‫التصاميم‬ ‫من‬ ‫محتوى‬ ‫عمل‬ ‫صفحات‬ ‫مجموعة‬ ‫او‬ ‫لصفحة‬
  • 19. CSS Files ‫ملف‬ ‫انشاء‬ style 1 Style sheets ‫الموبايل‬ ‫تصاميم‬ ‫والتابلت‬ ‫على‬ ‫الوب‬ ‫تصاميم‬ ‫الحاسوب‬ ‫اجهزة‬
  • 20. Using CSS <head runat="server"> <title>Test1</title> <link href="Style/StyleSheet.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="lebel1"> <asp:RadioButton ID="RadioButton1” runat="server" /> </div> </body> ‫الكالس‬ ‫ربط‬ ‫طريقة‬ ‫في‬ ‫انشائها‬ ‫تم‬ ‫التي‬ ‫عمل‬ ‫المراد‬ ‫الصفحة‬ ‫تصميماليها‬ ‫الكالس‬ ‫تنفيذ‬ ‫طريقة‬ ‫في‬ ‫كتبت‬ ‫التي‬ ‫المستدعى‬ ‫الملف‬ ‫داخل‬ ‫الملف‬ ‫مكان‬ ‫المشروع‬
  • 21. Master page 1 2 3 4 5 • 1-4 code in master page • 5 code of inner page related with master page
  • 22. Add inner page related with master page
  • 23. inner page <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link href="Style/StyleSheet.css" rel="stylesheet" type="text/css" /> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div>Test</div> </asp:Content> Like Head Like Body
  • 24. Master page body  <body>  <form id="form1" runat="server">  <div>  <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">   </asp:ContentPlaceHolder>  </div>  </form>  </body>  </html> Header Footer Page specific
  • 25. Master page with many pages
  • 27. ASP .NET Training 2017 Prepared By: Moutasm Tamimi Using C# language Microsoft visual studio version 2008-2010-2012-2014 Web Form applications Part 2
  • 29. Editing the WebTime.aspx  When the project loads for the first time, the Web Forms Designer displays the autogenerated ASPX file in Source mode.  Design mode indicates the XHTML element where the cursor is currently located.  You can also view both the markup and the web-page design at the same time by using Split mode  Right click the ASPX file in the Solution Explorer and select View Code to open the code-behind file
  • 30. Web.config Data Source=.; Initial Catalog=Blood_Units;
  • 31. Page events ‫اهمها‬ ‫عن‬ ‫تلقائيا‬ ‫تنفذ‬ ‫والتي‬‫د‬ ‫الصفحة‬ ‫تشغيل‬
  • 32. Code behind in c# ‫ال‬ ‫ملف‬ BZ business layer ‫ال‬ ‫ملف‬ DA Data access layer 1 2 ‫الكالسات‬ ‫من‬ ‫مجموعة‬ ‫البعض‬ ‫ببعضها‬ ‫مرتبطة‬ ‫الوصول‬ ‫الرئيسي‬ ‫للهدف‬ ‫البيانات‬ ‫قاعدة‬ ‫الى‬ ‫عمليات‬ ‫اجراء‬ ‫ثم‬ ‫االضافة‬ ‫التعديل‬ ‫الحذف‬ ‫البحث‬ ‫الدخول‬ ‫وتسجيل‬ ‫اخرا‬ ‫عمليات‬ ‫هناك‬ ‫علما‬ ‫اهمها‬ ‫هذة‬ ‫لكن‬
  • 33. How the code run in the object oriented programming using 3-tier layers
  • 34. System architecture using 3-tier layer Application Layers Data access layer Business layer Presentation Layer Database Structure Tables Procedures Request To connection DB Response To connection DB Send Transaction (Read/write) 1 2 3 4 5 Response Transaction (Read/write)
  • 35. DA Data access layer Data base table
  • 38. Data grid view example: book Id: GV_ book
  • 40. Fill Dropdown list  Subjects_BZ obj = new Subjects_BZ();  DDL_Subject_Id.DataSource = obj.Subjects_Search("");  DDL_Subject_Id.DataTextField = "";  DDL_Subject_Id.DataValueField = "Id";  DDL_Subject_Id.DataBind(); ‫على‬ ‫الحصول‬ ‫المراد‬ ‫الكالس‬ ‫اسم‬ ‫اسم‬ ‫على‬ ‫تدل‬ ‫والتي‬ ‫منها‬ ‫قيم‬ ‫القاعدة‬ ‫في‬ ‫الجدول‬ ‫بحث‬ ‫عملية‬ ‫خالل‬ ‫من‬ Data Source ‫تعبئة‬ DataValueField ‫اختيار‬ ‫تم‬ ‫الذي‬ ‫العنصر‬ ‫رقم‬ ‫اسمة‬ DataTextField DataValueField Science 2 Math 7
  • 41. Clear data() ‫المستخدم‬ ‫قبل‬ ‫من‬ ‫تعبئتها‬ ‫التي‬ ‫الحقول‬ ‫افراغ‬
  • 42. Convert to integer  int id = 0;  int.TryParse(lbl_Id.Text, out id);  //‫رقم‬ ‫الى‬ ‫نص‬ ‫من‬ ‫المتغير‬ ‫قيمة‬ ‫تحويل‬ ‫طريقة‬ 
  • 43. Try-Catch Block to Catch Exceptions  Try { . . } catch(Exception Ex) { } Finally { } ‫صحتها‬ ‫من‬ ‫التحقق‬ ‫المراد‬ ‫االكواد‬ ‫كتابة‬ ‫نوع‬ ‫ينقل‬ ‫خطأ‬ ‫اكتشاف‬ ‫تم‬ ‫حال‬ ‫في‬ ‫الى‬ ‫الخطاء‬ catch ‫و‬ ‫االخطاء‬ ‫على‬ ‫الحصول‬ ‫منطقة‬ ‫بها‬ ‫االحتفاظ‬ ‫على‬ ‫يحتوي‬ ‫كان‬ ‫لو‬ ‫حتى‬ ‫الكود‬ ‫بتنفيذ‬ ‫الرغبة‬ ‫حال‬ ‫في‬ ‫االكواد‬ ‫فيها‬ ‫يكتب‬ ‫منطقة‬ ‫برمجية‬ ‫اخطاء‬
  • 44. IsPostBack  if (!IsPostBack)  {  }  Gets a value that indicates whether the page is being rendered for the first time or is being loaded in response to a postback.
  • 46. Add if (id=0), update if (id not equal 0) 
  • 48. Dear students- Please check the updates to the course every time https://www.slideshare.net/moutasmtamimi/
  • 49. ASP .NET Training 2017 Prepared By: Moutasm Tamimi Using C# language Microsoft visual studio version 2008-2010-2012-2014 Web Form applications Part 1 & 2

Editor's Notes

  1. https://www.w3schools.com/css/default.asp
  2. كيفية تشغيل التعليمات البرمجية في البرمجة الموجهة الكائن باستخدام طبقات من 3 طبقات
  3. للحصول على قيمة تشير إلى ما إذا كانت الصفحة يتم عرضها للمرة الأولى أو يتم تحميلها استجابة لإعادة النشر.