ASP and ADO (assumes knowledge of ADO)

Size: px
Start display at page:

Download "ASP and ADO (assumes knowledge of ADO)"

Transcription

1 ASP.NET (2) These slides are meant to be for teaching purposes only and only for the students that are registered in CSE4413 and should not be published as a book or in any form of commercial product, unless written permission is obtained. 1

2 ASP and ADO (assumes knowledge of ADO) We can access a database from within a Web Application (ASP.NET program), by combining ASP.NET and ADO.NET. This results to a 3-Tier architecture. 1 st tier : client. See the GUI (front end) and interacts with it. 2 nd tier: (asp) server. Hosts the ASP.NET program. Hosts the.aspx and.cs files as well as the program(s) that perform ADO activities. Does not host the Database. Receives requests from the 1 st tier Processes requests. Becomes client to the 3 rd tier, which hosts the data base. Poses DB queries to 3 rd tier. Receives responses (query results) from 3 rd tier. Processes responses of 3 rd tier, assembles.html documents and sends results to 1 st tier. 3 rd tier: (db) server. Hosts the Database. Receives DB queries (typically in SQL) from 2 nd tier. Processes queries and generates results. Sends results to 2 nd tier. 2

3 begin 1 st tier (client to 2 nd tier) 3-tier architecture 2 nd tier (server to 1 st tier; client to 3 rd tier) 3 rd tier (server to 2 nd tier) Client s request received and a web page is generated. 3

4 1 st tier (client to 2 nd tier) 2 nd tier (server to 1 st tier; client to 3 rd tier) 3 rd tier (server to 2 nd tier) User clicks Show data button. 2 nd tier receives response and processes event: 1. Creates query 2. Submits query to 3 rd tier Receives query Process Query 4

5 1 st tier (client to 2 nd tier) 2 nd tier (server to 1 st tier; client to 3 rd tier) 3 rd tier (server to 2 nd tier) Receive results (and places result into DataSet). Generate results end 5

6 Example User is prompted for ID and password. 6

7 Example 1. User typed ID and password. 2. Request was sent to 2 nd tier nd tier checked decided that (ID,Pass) is not valid. 7

8 Example 1. User typed again ID and password. 2. Request was sent to 2 nd tier nd tier checked decided that (ID,Pass) is valid. 4. Responded back to 1 st tier that can now proceed to retrieve data. User presses button. 8

9 Example 1. Server received button event, 2. Processed event a) Create query, connection to DB, and sent query to 3 rd tier. b) Received results of query from 3 rd tier. c) Placed query results into DataGrid. d) Created web page shown here. e) Sent web page to 1 st tier. 9

10 The code This application has two.aspx files and two.cs files. This.cs file handles the login process. This.cs file handles the DB access process. 10

11 The code using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace WebApplication3ASPwithADO / <summary> / Summary description for WebForm1. / </summary> public class WebForm1 : System.Web.UI.Page protected System.Web.UI.WebControls.Label Label1; protected System.Web.UI.WebControls.Label Label2; protected System.Web.UI.WebControls.TextBox TextBox1; protected System.Web.UI.WebControls.TextBox TextBox2; protected System.Web.UI.WebControls.Label Label3; protected System.Web.UI.WebControls.Button Button1; private void Page_Load(object sender, System.EventArgs e) 11

12 #region Web Form Designer generated code override protected void OnInit(EventArgs e) CODEGEN: This call is required by the ASP.NET Web Form Designer. InitializeComponent(); base.oninit(e); / <summary> / Required method for Designer support - do not modify / the contents of this method with the code editor. / </summary> private void InitializeComponent() this.textbox1.textchanged += new System.EventHandler(this.TextBox1_TextChanged); this.button1.click += new System.EventHandler(this.Button1_Click); this.load += new System.EventHandler(this.Page_Load); #endregion 12

13 private void Button1_Click(object sender, System.EventArgs e) string userid = TextBox1.Text; string userpassword = TextBox2.Text; string loginresult = ValidateUser(userID, userpassword); if (!loginresult.equals( "Welcome") ) If invalid login, clear Label3.Text = "INVALID LOGIN! Try again... "; textboxes and reprompt. TextBox1.Text = ""; TextBox2.Text = ""; Page_Load(this, e); reload page else load and display the ADO related form Response.Redirect( "WebForm2ForADOpartOfASPandADOApplication.aspx"); private string ValidateUser(string userid, string userpassword)!!! Usage of a second Form here. In case of valid login, if (userid.equals( "abc") && userpassword.equals( "pass")) open another Form that performs the database return "Welcome"; access. This is not necessary, but it makes the code more else modular and convenient to return "Invalid login."; write. private void TextBox1_TextChanged(object sender, System.EventArgs e) 13

14 WebForm2ForADOpartOfASPandADOApplication.aspx.cs using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace WebApplication3ASPwithADO / <summary> / Summary description for WebForm2ForADOpartOfASPandADOApplication. / </summary> public class WebForm2ForADOpartOfASPandADOApplication : System.Web.UI.Page protected System.Data.OleDb.OleDbDataAdapter oledbdataadapter1; protected System.Data.OleDb.OleDbCommand oledbselectcommand1; protected System.Data.OleDb.OleDbCommand oledbinsertcommand1; protected System.Data.DataSet dataset1; protected System.Web.UI.WebControls.DataGrid DataGrid1; protected System.Web.UI.WebControls.Button Button1; protected System.Web.UI.WebControls.Label Label1; protected System.Web.UI.WebControls.Label Label2; protected System.Data.OleDb.OleDbConnection oledbconnection1; private void Page_Load(object sender, System.EventArgs e) Put user code to initialize the page here 14

15 #region Web Form Designer generated code override protected void OnInit(EventArgs e) CODEGEN: This call is required by the ASP.NET Web Form Designer. InitializeComponent(); base.oninit(e); The connection to DB. / <summary> / Required method for Designer support - do not modify / the contents of this method with the code editor. / </summary> private void InitializeComponent() this.oledbconnection1 = new System.Data.OleDb.OleDbConnection(); this.oledbdataadapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oledbselectcommand1 = new System.Data.OleDb.OleDbCommand(); this.oledbinsertcommand1 = new System.Data.OleDb.OleDbCommand(); this.dataset1 = new System.Data.DataSet(); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit(); oledbconnection1 this.oledbconnection1.connectionstring OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Data Source=""E:\ e- commerce course\ WINTER 2006\MySlides\_Slides _3 ADO NET slides\ado.net My code tests\mystudentsdb.mdb"";jet OLEDB:Engine Type=5;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:System database=;jet OLEDB:SFP=False;persist security info=false;extended Properties=;Mode=Share Deny None;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;User ID=Admin;Jet OLEDB:Global Bulk Transactions=1"; 15

16 oledbdataadapter1 this.oledbdataadapter1.insertcommand = this.oledbinsertcommand1; this.oledbdataadapter1.selectcommand = this.oledbselectcommand1; this.oledbdataadapter1.tablemappings.addrange(new System.Data.Common.DataTableMapping[] The query. new System.Data.Common.DataTableMapping("Table", "Enroll", new System.Data.Common.DataColumnMapping[] new System.Data.Common.DataColumnMapping("cno", "cno"), new System.Data.Common.DataColumnMapping("dname", "dname"), new System.Data.Common.DataColumnMapping("grade", "grade"), new System.Data.Common.DataColumnMapping("secno", "secno"), new System.Data.Common.DataColumnMapping("sid", "sid"))); oledbselectcommand1 this.oledbselectcommand1.commandtext = "SELECT cno, dname, sid, grade FROM Enroll WHERE (sid = 104)"; this.oledbselectcommand1.connection = this.oledbconnection1; oledbinsertcommand1 this.oledbinsertcommand1.commandtext = "INSERT INTO Enroll(cno, dname, grade, secno, sid) VALUES (?,?,?,?,?)"; this.oledbinsertcommand1.connection = this.oledbconnection1; this.oledbinsertcommand1.parameters.add(new System.Data.OleDb.OleDbParameter("cno", System.Data.OleDb.OleDbType.Integer, 0, "cno")); this.oledbinsertcommand1.parameters.add(new System.Data.OleDb.OleDbParameter("dname", System.Data.OleDb.OleDbType.VarWChar, 255, "dname")); this.oledbinsertcommand1.parameters.add(new System.Data.OleDb.OleDbParameter("grade", System.Data.OleDb.OleDbType.Double, 0, "grade")); this.oledbinsertcommand1.parameters.add(new System.Data.OleDb.OleDbParameter("secno", System.Data.OleDb.OleDbType.Integer, 0, "secno")); this.oledbinsertcommand1.parameters.add(new System.Data.OleDb.OleDbParameter("sid", System.Data.OleDb.OleDbType.Integer, 0, "sid")); 16

17 dataset1 this.dataset1.datasetname = "NewDataSet"; this.dataset1.locale = new System.Globalization.CultureInfo("en-US"); this.button1.click += new System.EventHandler(this.Button1_Click); this.load += new System.EventHandler(this.Page_Load); ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit(); #endregion private void Button1_Click(object sender, System.EventArgs e) Label1.Text = ".. connectiing to DB..."; oledbconnection1.open(); open DB Label1.Text += "connected!"; execute query oledbdataadapter1.fill( dataset1, "res"); Label1.Text += "... retrieved data!"; / Execute query, receive result (at 2 nd tier) and put result into dataset1. DataGrid1.DataBind(); DataGrid1.Visible = true; display results to datagrid Populate DataGrid with results (of dataset1) and make it visible. Note, this looks different from how it would be done normally in a windows application. (oledbdataadapter1.fill( dataset1, "res"); DataGrid1.SetDataBinding( dataset1, "res"); ) 17

18 The end 18

Real-World ASP.NET: Building a Content Management System

Real-World ASP.NET: Building a Content Management System Apress Books for Professionals by Professionals Real-World ASP.NET: Building a Content Management System by Stephen R.G. Fraser ISBN # 1-59059-024-4 Copyright 2001 Apress, L.P., 2460 Ninth St., Suite 219,

More information

Systems Programming & Scripting

Systems Programming & Scripting Systems Programming & Scripting Lecture 6: C# GUI Development Systems Prog. & Script. - Heriot Watt Univ 1 Blank Form Systems Prog. & Script. - Heriot Watt Univ 2 First Form Code using System; using System.Drawing;

More information

Conexión SQL Server C#

Conexión SQL Server C# Conexión SQL Server C# Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

Crystal Reports. For Visual Studio.NET. Reporting Off ADO.NET Datasets

Crystal Reports. For Visual Studio.NET. Reporting Off ADO.NET Datasets Crystal Reports For Visual Studio.NET Reporting Off ADO.NET Datasets 2001 Crystal Decisions, Inc. Crystal Decisions, Crystal Reports, and the Crystal Decisions logo are registered trademarks or trademarks

More information

MOVING THE SENIOR DEVELOPMENT CLASS FROM WEB DEVELOPMENT TO LIFE CYCLE DEVELOPMENT A CASE FOR VISUAL STUDIO 2005

MOVING THE SENIOR DEVELOPMENT CLASS FROM WEB DEVELOPMENT TO LIFE CYCLE DEVELOPMENT A CASE FOR VISUAL STUDIO 2005 MOVING THE SENIOR DEVELOPMENT CLASS FROM WEB DEVELOPMENT TO LIFE CYCLE DEVELOPMENT A CASE FOR VISUAL STUDIO 2005 Thom Luce, Ohio University, luce@ohio.edu ABSTRACT Information Systems programs in Business

More information

Database Communica/on in Visual Studio/C# using Web Services. Hans- Pe=er Halvorsen, M.Sc.

Database Communica/on in Visual Studio/C# using Web Services. Hans- Pe=er Halvorsen, M.Sc. Database Communica/on in Visual Studio/C# using Web Services Hans- Pe=er Halvorsen, M.Sc. Background We will use Web Services because we assume that the the App should be used on Internet outside the Firewall).

More information

İNTERNET TABANLI PROGRAMLAMA- 13.ders GRIDVIEW, DETAILSVIEW, ACCESSDATASOURCE NESNELERİ İLE BİLGİ GÖRÜNTÜLEME

İNTERNET TABANLI PROGRAMLAMA- 13.ders GRIDVIEW, DETAILSVIEW, ACCESSDATASOURCE NESNELERİ İLE BİLGİ GÖRÜNTÜLEME İNTERNET TABANLI PROGRAMLAMA- 13.ders GRIDVIEW, DETAILSVIEW, ACCESSDATASOURCE NESNELERİ İLE BİLGİ GÖRÜNTÜLEME Asp.Net kodları

More information

Security API Cookbook

Security API Cookbook Sitecore CMS 6 Security API Cookbook Rev: 2010-08-12 Sitecore CMS 6 Security API Cookbook A Conceptual Overview for CMS Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 User, Domain,

More information

C# Datenbank-Programmierung

C# Datenbank-Programmierung C# Datenbank-Programmierung Usings... 2 Verbindung herstellen SQL und Acces... 2 Verbindung schliessen SQL und Acces... 3 File open Dialog... 3 Lehar einfügen... 3 Lehar löschen... 4 Radio Button SQL &

More information

Capturx for SharePoint 2.0: Notification Workflows

Capturx for SharePoint 2.0: Notification Workflows Capturx for SharePoint 2.0: Notification Workflows 1. Introduction The Capturx for SharePoint Notification Workflow enables customers to be notified whenever items are created or modified on a Capturx

More information

ASP.NET Programming with C# and SQL Server

ASP.NET Programming with C# and SQL Server ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET Objectives In this chapter, you will: Connect to SQL Server from ASP.NET Learn how to handle

More information

Architecture design. Use of some Microsoft patterns & practices for Architecture Guidance (http://www.microsoft.com/practices)

Architecture design. Use of some Microsoft patterns & practices for Architecture Guidance (http://www.microsoft.com/practices) 1 Architecture design Use of some Microsoft patterns & practices for Architecture Guidance (http://www.microsoft.com/practices) 2 Page asp.net simple

More information

Creating Form Rendering ASP.NET Applications

Creating Form Rendering ASP.NET Applications Creating Form Rendering ASP.NET Applications You can create an ASP.NET application that is able to invoke the Forms service resulting in the ASP.NET application able to render interactive forms to client

More information

Ambientes de Desenvolvimento Avançados

Ambientes de Desenvolvimento Avançados Ambientes de Desenvolvimento Avançados http://www.dei.isep.ipp.pt/~jtavares/adav/adav.htm Aula 17 Engenharia Informática 2006/2007 José António Tavares jrt@isep.ipp.pt 1.NET Web Services: Construção de

More information

X. Apéndice C. Listado de Códigos.

X. Apéndice C. Listado de Códigos. X. Apéndice C. Listado de Códigos. 10.1 Version2.aspx

More information

Web Services in.net (1)

Web Services in.net (1) Web Services in.net (1) These slides are meant to be for teaching purposes only and only for the students that are registered in CSE4413 and should not be published as a book or in any form of commercial

More information

Visual COBOL ASP.NET Shopping Cart Demonstration

Visual COBOL ASP.NET Shopping Cart Demonstration Visual COBOL ASP.NET Shopping Cart Demonstration Overview: The original application that was used as the model for this demonstration was the ASP.NET Commerce Starter Kit (CSVS) demo from Microsoft. The

More information

CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003

CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003 CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003 By Srunokshi Kaniyur Prema Neelakantan This tutorial gives an introduction to creating Crystal reports in Visual Studio.Net 2003 and few of the features available

More information

1. Create SQL Database in Visual Studio

1. Create SQL Database in Visual Studio 1. Create SQL Database in Visual Studio 1. Select Create New SQL Server Database in Server Explorer. 2. Select your server name, and input the new database name, then press OK. Copyright 2011 Lo Chi Wing

More information

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO: INTRODUCTION: You can extract data (i.e. the total cost report) directly from the Truck Tracker SQL Server database by using a 3 rd party data tools such as Excel or Crystal Reports. Basically any software

More information

1. La classe Connexion class Connexion {

1. La classe Connexion class Connexion { 1. La classe Connexion class Connexion public static string chaine; IDbConnection cnx; IDbCommand cmd; IDataReader dr; private string chainesqlserver = "Data Source=localhost;Initial catalog=reservations;

More information

I A Form és a párbeszédablakok I.1. MessageBox osztály MessageBox.Show(szöveg[,cím[,gombok[,ikon[,defaultbutton]]]]);

I A Form és a párbeszédablakok I.1. MessageBox osztály MessageBox.Show(szöveg[,cím[,gombok[,ikon[,defaultbutton]]]]); I A Form és a párbeszédablakok I.1. MessageBox osztály MessageBox.Show(szöveg[,cím[,gombok[,ikon[,defaultbutton]]]]); szöveg, cím gomb ikon defaultbutton String - MessageBoxButtons.OK - MessageBoxIcon.Asterix.Error.OKCancel.Question

More information

Mobile Device Access Simple Application Guide

Mobile Device Access Simple Application Guide Mobile Device Access Simple Application Guide Users can add/manage requests, retrieve passwords, and review password releases/sessions via their mobile device. This manual should be used to help you navigate

More information

Web Application Disassembly with ODBC Error Messages By David Litchfield Director of Security Architecture @stake http://www.atstake.

Web Application Disassembly with ODBC Error Messages By David Litchfield Director of Security Architecture @stake http://www.atstake. Web Application Disassembly with ODBC Error Messages By David Litchfield Director of Security Architecture @stake http://www.atstake.com Introduction This document describes how to subvert the security

More information

DEVELOPING A PHD MONITORING TOOL USING ASP.NET AND SQL SERVER. A Report Submitted In Partial Fulfillment Of Course BITS C331 Computer Oriented Project

DEVELOPING A PHD MONITORING TOOL USING ASP.NET AND SQL SERVER. A Report Submitted In Partial Fulfillment Of Course BITS C331 Computer Oriented Project DEVELOPING A PHD MONITORING TOOL USING ASP.NET AND SQL SERVER. A Report Submitted In Partial Fulfillment Of Course BITS C331 Computer Oriented Project By DUSHYANT ARORA UTTAM MITRA ID: 2006A7PS083P ID:2006A7PS305P

More information

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers Installation guide for administrators and developers Table of Contents Chapter 1 Introduction... 2 1.1 Preparing to Install Sitecore Ecommerce Enterprise Edition... 2 1.2 Required Installation Components...

More information

How To Develop A Mobile Application On Sybase Unwired Platform

How To Develop A Mobile Application On Sybase Unwired Platform Tutorial: Windows Mobile Application Development Sybase Unwired Platform 2.1 DOCUMENT ID: DC01285-01-0210-01 LAST REVISED: December 2011 Copyright 2011 by Sybase, Inc. All rights reserved. This publication

More information

A PROJECT REPORT ON. SkyDrive. Submitted for the partial fulfillment of the requirement for the Award of the degree of MASTER OF COMPUTER APPLICATION

A PROJECT REPORT ON. SkyDrive. Submitted for the partial fulfillment of the requirement for the Award of the degree of MASTER OF COMPUTER APPLICATION A PROJECT REPORT ON SkyDrive Submitted for the partial fulfillment of the requirement for the Award of the degree of MASTER OF COMPUTER APPLICATION By UTTAM KUWAR VERMA 11004101172 GALGOTIAS INSTITUTE

More information

Access Data Object (cont.)

Access Data Object (cont.) ADO.NET Access Data Object (cont.) What is a Dataset? DataTable DataSet DataTable DataTable SqlDataAdapter SqlConnection OleDbDataAdapter Web server memory Physical storage SQL Server 2000 OleDbConnection

More information

Praktikum im Bereich Praktische Informatik Entwicklung eines Ray-Tracing Systems. computer graphics & visualization

Praktikum im Bereich Praktische Informatik Entwicklung eines Ray-Tracing Systems. computer graphics & visualization Praktikum im Bereich Praktische Informatik Entwicklung eines Ray-Tracing Systems Organizational Weekly Assignments + Preliminary discussion: Tuesdays 15:30-17:00 in room MI 02.13.010 Assignment deadline

More information

Bronson Door Company Web Site

Bronson Door Company Web Site Bronson Door Company Web Site By Clint Holden Submitted to the Faculty of the Information Engineering Technology Program in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science

More information

Connecting to Manage Your MS SQL Database

Connecting to Manage Your MS SQL Database Using MS SQL databases HOWTO Copyright 2001 Version 1.0 This HOWTO describes how to connect to a MS SQL database and how to transfer data to an SQL server database. Table of Contents Connecting to Manage

More information

http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx

http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx ASP.NET Overview.NET Framework 4 ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is

More information

Using C# for Graphics and GUIs Handout #2

Using C# for Graphics and GUIs Handout #2 Using C# for Graphics and GUIs Handout #2 Learning Objectives: C# Arrays Global Variables Your own methods Random Numbers Working with Strings Drawing Rectangles, Ellipses, and Lines Start up Visual Studio

More information

IISADMPWD. Replacement Tool v1.2. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD. Web Active Directory, LLC

IISADMPWD. Replacement Tool v1.2. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD. Web Active Directory, LLC IISADMPWD Replacement Tool v1.2 Installation and Configuration Guide Instructions to Install and Configure IISADMPWD Replacement Tool v1.2 Web Active Directory, LLC Contents Overview... 2 Installation

More information

TESTING TOOLS COMP220/285 University of Liverpool slide 1

TESTING TOOLS COMP220/285 University of Liverpool slide 1 TESTING TOOLS COMP220/285 University of Liverpool slide 1 Objectives At the end of this lecture, you should be able to - Describe some common software tools - Describe how different parts of a multitier

More information

Customer Portal User Manual. 2012 Scott Logic Limited. All rights reserve. 2013 Scott Logic Limited. All rights reserved

Customer Portal User Manual. 2012 Scott Logic Limited. All rights reserve. 2013 Scott Logic Limited. All rights reserved Customer Portal User Manual 2012 Scott Logic Limited. All rights reserve Contents Introduction... 2 How should I use it?... 2 How do I login?... 2 How can I change my password?... 3 How can I find out

More information

(Ch: 1) Building ASP.NET Pages. A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP.

(Ch: 1) Building ASP.NET Pages. A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP. (Ch: 1) Building ASP.NET Pages A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP.NET Page D. the structure of an ASP.NET Page ASP.NET and the.net Framework

More information

SQL Desktop Application For WebService in C# dr inż. Tomasz Tatoń

SQL Desktop Application For WebService in C# dr inż. Tomasz Tatoń SQL Desktop Application For WebService in C# dr inż. Tomasz Tatoń SQL Desktop Application For WebService in C# 2 Visual Studio 2013 MS SQL Server 2014 Internet Information Services SQL Desktop Application

More information

ASP.NET(C#) ile Kayıt Listeleme, Silme ve Düzenleme İşlemi

ASP.NET(C#) ile Kayıt Listeleme, Silme ve Düzenleme İşlemi ASP.NET(C#) ile Kayıt Listeleme, Silme ve Düzenleme İşlemi Web.config içerisine aşağıdaki kod eklenir.

More information

How To Create A Database In Araba

How To Create A Database In Araba create database ARABA use ARABA create table arac ( plaka varchar(15), marka varchar(15), model varchar(4)) create table musteri ( tck varchar(11), ad varchar(15), soy varchar(15)) drop table kiralama

More information

Steps when you start the program for the first time

Steps when you start the program for the first time Steps when you start the program for the first time R-Tag Installation will install R-Tag Report Manager and a local SQL Server Compact Database, which is used by the program. This will allow you to start

More information

Parent Single Sign-On Quick Reference Guide

Parent Single Sign-On Quick Reference Guide Parent Single Sign-On Quick Reference Guide Parent Single Sign-On, introduced in PowerSchool 6.2, offers a number of benefits, including access to multiple students with one sign in, a personalized account

More information

1.Tüm Kayıtları Getirme - Arama Yapma

1.Tüm Kayıtları Getirme - Arama Yapma 1.Tüm Kayıtları Getirme - Arama Yapma using System.Data.SqlClient; namespace Uygulama1 Burs public partial class Form1 : Form public Form1() InitializeComponent(); string sorgu; private void button1_click(object

More information

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database.

Reporting works by connecting reporting tools directly to the database and retrieving stored information from the database. Print Audit 6 - Step by Step Walkthrough IMPORTANT: READ THIS BEFORE PERFORMING A PRINT AUDIT 6 INSTALLATION Print Audit 6 is a desktop application that you must install on every computer where you want

More information

Use the ADO Control in your Visual Basic 6 projects

Use the ADO Control in your Visual Basic 6 projects Use the ADO Control in your Visual Basic 6 projects Aside from my Database book, I haven't done much writing concerning connection to a Database---and virtually nothing on ADO. In this article, I'd like

More information

Oracle 10G Form Builder and Report Builder

Oracle 10G Form Builder and Report Builder Oracle 10G Form Builder and Report Builder By Anna Sidorova Tutorial plan Create, modify tables, insert, select data in SQL Create interface in Oracle designer Forms based on one table or two tables Custom

More information

VB.NET - DATABASE ACCESS

VB.NET - DATABASE ACCESS VB.NET - DATABASE ACCESS http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm Copyright tutorialspoint.com Applications communicate with a database, firstly, to retrieve the data stored there

More information

A Step by Step Guide for Building an Ozeki VoIP SIP Softphone

A Step by Step Guide for Building an Ozeki VoIP SIP Softphone Lesson 3 A Step by Step Guide for Building an Ozeki VoIP SIP Softphone Abstract 2012. 01. 20. The third lesson of is a detailed step by step guide that will show you everything you need to implement for

More information

Connect to an Oracle Database from within Visual Basic 6 (Part 1)

Connect to an Oracle Database from within Visual Basic 6 (Part 1) Connect to an Oracle Database from within Visual Basic 6 (Part 1) Preface This is one in a series of useful articles I am writing about programming. The audience is beginner to intermediate level programmers.

More information

User Manual. Crystal Report Integration

User Manual. Crystal Report Integration User Manual Crystal Report Integration Version 1.0 1 1 Contents 1 Introduction... 3 2 Integration Of Crystal Report... 3 2.1 Open Report and Process Window from Menu... 3 2.2 Give Access to Report and

More information

AD A O.N. ET E Access Data Object

AD A O.N. ET E Access Data Object ADO.NET Access Data Object ADO.NET Conjunto de classes que permitem o acesso à base de dados. Dois cenários: Connected Os dados provenientes da base de dados são obtidos a partir de uma ligação que se

More information

UNPAN New Directory Web Service Training. Doublebridge Technologies Inc. George Wu, Ph.D. President and CEO DoubleBridge Technologies Inc.

UNPAN New Directory Web Service Training. Doublebridge Technologies Inc. George Wu, Ph.D. President and CEO DoubleBridge Technologies Inc. UNPAN New Directory Web Service Training Doublebridge Technologies Inc. George Wu, Ph.D. President and CEO DoubleBridge Technologies Inc. Introduction! Offices at Boston, New Jersey, Hong Kong, and Beijing.!

More information

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition Beginning C# 5.0 Databases Second Edition Vidya Vrat Agarwal Contents J About the Author About the Technical Reviewer Acknowledgments Introduction xviii xix xx xxi Part I: Understanding Tools and Fundamentals

More information

Provider Express Obtaining Login Access. Information for Network Providers

Provider Express Obtaining Login Access. Information for Network Providers Provider Express Obtaining Login Access Information for Network Providers November 2013 Objectives This presentation will review the following features: How to Log in to Provider Express Retrieve a forgotten

More information

VB.NET - WEB PROGRAMMING

VB.NET - WEB PROGRAMMING VB.NET - WEB PROGRAMMING http://www.tutorialspoint.com/vb.net/vb.net_web_programming.htm Copyright tutorialspoint.com A dynamic web application consists of either or both of the following two types of

More information

Integrated Financial Management System Budget Distribution Process-User Manual

Integrated Financial Management System Budget Distribution Process-User Manual 2012 Integrated Financial Management System Budget Distribution Process-User Manual This document will help HoDs/BCOs in understanding of the process to be followed while distributing funds to offices

More information

ASP.NET Dynamic Data

ASP.NET Dynamic Data 30 ASP.NET Dynamic Data WHAT S IN THIS CHAPTER? Building an ASP.NET Dynamic Data application Using dynamic data routes Handling your application s display ASP.NET offers a feature that enables you to dynamically

More information

Login with other services to ASP.NET websites with TMS Cloud Pack for.net

Login with other services to ASP.NET websites with TMS Cloud Pack for.net Login with other services to ASP.NET websites with TMS Cloud Pack for.net Introduction Allowing users to identify using a login of a known big online service brings the advantage for the user to not have

More information

partners.visitsanantonio.com

partners.visitsanantonio.com partners.visitsanantonio.com User Manual October 2009 Content 1. Introduction to partners.visitsanantonio.com 2 2. User Roles and Access to partners.visitsanantonio.com 2 3. Managing Sales Leads 3 Viewing

More information

Crystal Reports for Visual Studio.NET

Crystal Reports for Visual Studio.NET Overview Contents This document describes how to use Crystal Reports for Visual Studio.NET with ADO.NET. This document also covers the differences between ADO and ADO.NET INTRODUCTION... 2 DIFFERENCES

More information

Using CertAgent to Obtain Domain Controller and Smart Card Logon Certificates for Active Directory Authentication

Using CertAgent to Obtain Domain Controller and Smart Card Logon Certificates for Active Directory Authentication Using CertAgent to Obtain Domain Controller and Smart Card Logon Certificates for Active Directory Authentication Contents Domain Controller Certificates... 1 Enrollment for a Domain Controller Certificate...

More information

(ENTD361 is highly recommended before taking this course)

(ENTD361 is highly recommended before taking this course) Department of Information Technology ENTD461: Enterprise Development Using VB.NET: Advanced Credit Hours: 3 Length of Course: 8 Weeks Enterprise Development Using VB.NET: Introduction (ENTD361 is highly

More information

Contactegration for The Raiser s Edge

Contactegration for The Raiser s Edge Contactegration for The Raiser s Edge development@zeidman.info www.zeidman.info UK: 020 3637 0080 US: (646) 570 1131 Table of Contents Overview... 3 Installation... 3 Set up... 4 Activation... 5 Connecting

More information

Tutorial: Windows Mobile Application Development. Sybase Unwired Platform 2.1 ESD #2

Tutorial: Windows Mobile Application Development. Sybase Unwired Platform 2.1 ESD #2 Tutorial: Windows Mobile Application Development Sybase Unwired Platform 2.1 ESD #2 DOCUMENT ID: DC01285-01-0212-01 LAST REVISED: March 2012 Copyright 2012 by Sybase, Inc. All rights reserved. This publication

More information

FIRST of all, this article isn t intended for people with

FIRST of all, this article isn t intended for people with Select * From SharePoint Where db = Access Nikander and Margriet Bruggeman Smart Access One of the key things SharePoint Portal Server is known for is its enterprise scalable search. SharePoint Portal

More information

TS: Microsoft.NET Framework 3.5, ASP.NET Application Development

TS: Microsoft.NET Framework 3.5, ASP.NET Application Development Exam : 70-562 Title : TS: Microsoft.NET Framework 3.5, ASP.NET Application Development Version : Demo 1 / 14 1.You create a Microsoft ASP.NET application by using the Microsoft.NET Framework version 3.5.

More information

The Modeling of Communication with Other. Systems in Process Automation Applications

The Modeling of Communication with Other. Systems in Process Automation Applications International Journal of Computing and Optimization Vol. 2, 2015, no. 1, 35-46 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ijco.2015.5210 The Modeling of Communication with Other Systems in

More information

How to create an email template

How to create an email template How to create an email template Templates are created the same way as you would for any other content page for an html or text email. By checking the box next to the Name this Content field on the Create

More information

Architecture Design Version1.0. Architecture Design CUSTOMER RELATION MANAGEMENT SYSTEM Version 1.0

Architecture Design Version1.0. Architecture Design CUSTOMER RELATION MANAGEMENT SYSTEM Version 1.0 Architecture Design CUSTOMER RELATION MANAGEMENT SYSTEM Version 1.0 Submitted in partial fulfillment of the requirements of the degree of Master of Software Engineering CIS 895 MSE Project Kansas State

More information

Maryland MESA Database School Coordinators Login and Registration Training Handout

Maryland MESA Database School Coordinators Login and Registration Training Handout Maryland MESA Database School Coordinators Login and Registration Training Handout The following information will assist users in creating a user profile in the database, managing student profiles for

More information

To be able to use web parts to create a portal-style web application

To be able to use web parts to create a portal-style web application CHAPTER Additional ASP.NET Features LEARNING OBJECTIVES To be able to upload image data to a web application To be able to manage image data in a database To be able to use database transactions To be

More information

Terminology. Enabling Parent Single Sign-On. Server Configuration

Terminology. Enabling Parent Single Sign-On. Server Configuration Parent Single Sign-On offers a number of benefits, including access to multiple students with one sign in, a personalized account for each parent and guardian, and the ability for parents to retrieve their

More information

Sales Person Commission

Sales Person Commission Sales Person Commission Table of Contents INTRODUCTION...1 Technical Support...1 Overview...2 GETTING STARTED...3 Adding New Salespersons...3 Commission Rates...7 Viewing a Salesperson's Invoices or Proposals...11

More information

{ oledbdataadapter1.updatecommand.commandtext = "update personel set ad='" + textbox2.text + "' where id=" + textbox1.text; oledbconnection1.

{ oledbdataadapter1.updatecommand.commandtext = update personel set ad=' + textbox2.text + ' where id= + textbox1.text; oledbconnection1. private void Form1_Load(object sender, EventArgs e) oledbdataadapter1.fill(dataset11); private void button1_click(object sender, EventArgs e) oledbdataadapter1.update(dataset11); private void Form1_Load(object

More information

Hotel, Dharamshala, Guest House, Individuals, Hospitals Form C. Form-C checked before providing services be filled and periodically submitted

Hotel, Dharamshala, Guest House, Individuals, Hospitals Form C. Form-C checked before providing services be filled and periodically submitted FORM-C Introduction Whenever a Foreigner stays in any Hotel, Dharamshala, Guest House, Individuals, Hospitals etc. it is the duty of the Accommodator to keep the records of their stay which includes their

More information

Users Guide to Internet Banking Self Service Enrollment

Users Guide to Internet Banking Self Service Enrollment Users Guide to Internet Banking Self Service Enrollment This document is a guide for customers who wish to use The Bank of Greene County s Self Service Enrollment Utility for Internet Banking The following

More information

PDshop.NET Installation Guides (ASP.NET Edition)

PDshop.NET Installation Guides (ASP.NET Edition) PDshop.NET Installation Guides (ASP.NET Edition) PageDown Technology, LLC / Copyright 2003-2007 All Rights Reserved. Last Updated: 7/25/07 Written for Revision: 1.014 1 Table of Contents Table of Contents...2

More information

Reviewing All Applications & Critiques for a Review Meeting

Reviewing All Applications & Critiques for a Review Meeting proposalcentral Reviewing All Applications & Critiques for a Review Meeting If you need assistance, contact Customer Service by email at pcsupport@altum.com or by phone at 1-800-875-2562 or phone 703-964-5840

More information

Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring

Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Estimated time to complete this lab: 45 minutes ASP.NET 2.0 s configuration API fills a hole in ASP.NET 1.x by providing an easy-to-use and extensible

More information

Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008

Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008 Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008 1 Introduction The following is an explanation of some errors you might encounter

More information

Database Communica/on in Visual Studio/C# using ASP.NET Web Forms. Hans- PeBer Halvorsen, M.Sc.

Database Communica/on in Visual Studio/C# using ASP.NET Web Forms. Hans- PeBer Halvorsen, M.Sc. Database Communica/on in Visual Studio/C# using ASP.NET Web Forms Hans- PeBer Halvorsen, M.Sc. Web Programming Hans- PeBer Halvorsen, M.Sc. Web is the Present and the Future 3 History of the Web Internet

More information

TARGETPROCESS HELP DESK PORTAL

TARGETPROCESS HELP DESK PORTAL TARGETPROCESS HELP DESK PORTAL v.2.17 User Guide This document describes TargetProcess Help Desk Portal functionality and provides information about TargetProcess Help Desk Portal usage. 1 HELP DESK PORTAL...2

More information

MSVS File New Project ASP.NET Web Application, Name: w25emplo OK.

MSVS File New Project ASP.NET Web Application, Name: w25emplo OK. w25emplo Start the Microsoft Visual Studio. MSVS File New Project ASP.NET Web Application, Name: w25emplo OK. Ctrl + F5. The ASP.NET Web Developer Server, e.g. on port 50310, starts, and a default browser,

More information

ACDS AIMS Certified Database Specialist Course.

ACDS AIMS Certified Database Specialist Course. ACDS AIMS Certified Database Specialist Course. Data Connectivity Learning Objectives 8 Be aware of the different techniques to connect an Access Data Page to different data providers among them: ODBC

More information

PEMBINA TRAILS SCHOOL DIVISION. Information Technology Department. Mayet Online Reports

PEMBINA TRAILS SCHOOL DIVISION. Information Technology Department. Mayet Online Reports PEMBINA TRAILS SCHOOL DIVISION Information Technology Department Mayet Online Reports PEMBINA TRAILS SCHOOL DIVISION INFORMATION TECHNOLOGY DEPARTMENT Mayet Online Reports Ivone Batista Instructional Technology

More information

How To Create An Easybelle History Database On A Microsoft Powerbook 2.5.2 (Windows)

How To Create An Easybelle History Database On A Microsoft Powerbook 2.5.2 (Windows) Introduction EASYLABEL 6 has several new features for saving the history of label formats. This history can include information about when label formats were edited and printed. In order to save this history,

More information

BACKING UP A DATABASE

BACKING UP A DATABASE BACKING UP A DATABASE April 2011 Level: By : Feri Djuandi Beginner Intermediate Expert Platform : MS SQL Server 2008, Visual C# 2010 Pre requisites: Suggested to read the first part of this document series

More information

Linking Access to SQL Server

Linking Access to SQL Server Linking Access to SQL Server Why Link to SQL Server? Whilst Microsoft Access is a powerful database program it has its limitations and is best suited to creating desktop applications for individual users

More information

Site Maintenance. Table of Contents

Site Maintenance. Table of Contents Site Maintenance Table of Contents Adobe Contribute How to Install... 1 Publisher and Editor Roles... 1 Editing a Page in Contribute... 2 Designing a Page... 4 Publishing a Draft... 7 Common Problems...

More information

How to Apply Online Select School and Program

How to Apply Online Select School and Program How to Apply Online Go to the application site at www.houstonisdschoolchoiceapplication.com. When you are ready to apply for a student within your household, continue to the application by clicking on

More information

Introduction to ASP.NET and Web Forms

Introduction to ASP.NET and Web Forms Introduction to ASP.NET and Web Forms This material is based on the original slides of Dr. Mark Sapossnek, Computer Science Department, Boston University, Mosh Teitelbaum, evoch, LLC, and Joe Hummel, Lake

More information

MSGCU SECURE MESSAGE CENTER

MSGCU SECURE MESSAGE CENTER MSGCU SECURE MESSAGE CENTER Welcome to the MSGCU Secure Message Center. Email is convenient, but is it secure? Before reaching the intended recipient, email travels across a variety of public servers and

More information

2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led

2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led 2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led Introduction This three-day, instructor-led course provides students with the knowledge and skills

More information

5 Airport. Chapter 5: Airport 49. Right-click on Data Connections, then select Add Connection.

5 Airport. Chapter 5: Airport 49. Right-click on Data Connections, then select Add Connection. Chapter 5: Airport 49 5 Airport Most practical applications in C# require data to be stored in a database and accessed by the program. We will examine how this is done by setting up a small database of

More information

COURSE CURRICULUM COURSE TITLE: WEB PROGRAMMING USING ASP.NET (COURSE CODE: 3351603)

COURSE CURRICULUM COURSE TITLE: WEB PROGRAMMING USING ASP.NET (COURSE CODE: 3351603) Web Programming using Course code: 3351603 GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT 1. RATIONALE COURSE CURRICULUM COURSE TITLE: WEB PROGRAMMING USING (COURSE CODE: 3351603) Diploma Program

More information

All Windows Installations Guide Contents

All Windows Installations Guide Contents Sage Line 100 Business Suite Version 7.20 All Windows Installations Guide Contents Installing/Upgrading to Sage Line 100 Windows Version 7.20 1 To Install Windows Version 7.20 from CD-ROM 1 Pearson Phoenix

More information

Virtual Terminal Introduction and User Instructions

Virtual Terminal Introduction and User Instructions Virtual Terminal Introduction and User Instructions Trine Commerce Systems, Inc. 2613 Wilson Street Austin, TX 78704 512-586-2736 legal@trinecs.com techsupport@trinecs.com Legal Notice All content of this

More information

Using IRDB in a Dot Net Project

Using IRDB in a Dot Net Project Note: In this document we will be using the term IRDB as a short alias for InMemory.Net. Using IRDB in a Dot Net Project ODBC Driver A 32-bit odbc driver is installed as part of the server installation.

More information

APPROVING WSU E-Forms

APPROVING WSU E-Forms APPROVING WSU E-Forms Electronic Travel Expense Voucher Training for Approvers Office of Procedures, Records, and Forms Advantages of electronic processing Sign in procedures How to sign and route a form

More information