Oracle Lite Tutorial

Similar documents
Oracle Lite Tutorial

Oracle Lite Tutorial

untitled

Oracle Lite Tutorial

意外と簡単!?

Visual Basic Oracle Database 11 Release 1

Visual Basic Oracle Database 11g Release 1

Windowsユーザーの為のOracle Database セキュリティ入門

untitled

NetCOBOL for .NET 応用編

Oracle Corporation

untitled

untitled

Microsoft PowerPoint - odd_odpnet.ppt

untitled

Visual Studio Oracle Database 11g アプリケーション開発入門

<Documents Title Here>

<Documents Title Here>

(OnePoint) ( URL Web Copyright 2005 Microsoft Corporation. All rights reserved. MicrosoftWindowsVisual Basic Visual Studio Microsoft Corporation

BC4J...4 BC4J Association JSP BC4J JSP OC4J

スライド 1

はじめての帳票作成

Web Microsoft 2008 R2 Database Database!! Database 04 08

<Documents Title Here>

(OnePoint) ( URL Web Copyright 2005 Microsoft Corporation. All rights reserved. Microsoft Windows Visual Basic Visual Studio Microsoft Corporation

untitled

Windows SE RAC 10g 構築手順書

untitled

- 2 Copyright (C) All Rights Reserved.

untitled

_02-4.ppt

<Documents Title Here>

Oracle Developer Days

FileMaker Server Getting Started Guide

_02_3.ppt

FileMaker Oracle Microsoft SQL Server MySQL Salesforce.com ROI TCO RAD IT FileMaker Pro RAD RAD TCO RAD Microsoft Visual Studio 2008 Oracle Developer

Windows Oracle -Web - Copyright Oracle Corporation Japan, All rights reserved.

いまさら聞けないVB2008 ADO.NET超入門

untitled

Microsoft Word - DotNet_SmartClient_Final.doc

相続支払い対策ポイント

150423HC相続資産圧縮対策のポイント

ハピタス のコピー.pages

Copyright 2008 All Rights Reserved 2

Oracle on Windows

FileMaker Server 9 Getting Started Guide

KeySQL R5.1 Release Note

honbun.indd

Oracle on Windows

untitled

Microsoft Word - 430_15_Developing_Stored_Procedure.doc

以下の事項は 弊社の一般的な製品の方向性に関する概要を説明するものです また 情報提供を唯一の目的とするものであり いかなる契約にも組み込むことはできません 以下の事項は マテリアルやコード 機能を提供することをコミットメント ( 確約 ) するものではないため 購買決定を行う際の判断材料になさらな

Faronics Core User Guide

ADO.NETのアーキテクチャ

C3印刷用.PDF

HULFT-DataMagic Ver2.2.0 製品対応OS

- 2 Copyright (C) All Rights Reserved.

KWCR3.0 instration

Oracle Direct Seminar <Insert Picture Here>.NET で使いこなそう Oracle Database 日本オラクル株式会社

FileMaker Server Getting Started Guide

Case 0 sqlcmdi.parameters("?tencode").value = Iidata(0) sqlcmdi.parameters("?tenname").value = Iidata(1) 内容を追加します sqlcmdi.executenonquery() Case Else

橡実践Oracle Objects for OLE

how-to-decide-a-title

外部SQLソース入門

日本オラクル株式会社

Cosminexus Application Designer操作ガイド

Oracle Database 11g × Hitachi Storage Solutionsのベストプラクティス

Oracle Database 11g Release 2 Application Development (.NET)


MVP for VB が語る C# 入門

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2

早分かりS2Dao

Oracle Developer Tools for Visual Studioの11g新機能

意外と簡単!? Oracle Database 11g -バックアップ・リカバリ編-

初心者にもできるアメブロカスタマイズ新2016.pages

Oracle HTML DB 導入ガイド

KeySQL for Microsoft Windows 6.0 : B Copyright 2006, Oracle Corporation. All rights reserved. Printed in Japan. * Oracle Corporation Oracle Co

署名ツール検証報告書

1 SQL Server SQL Oracle SQL SQL* Plus PL/SQL 2 SQL Server SQL Server SQL Oracle SQL SQL*Plus SQL Server GUI 1-1 osql 1-1 Transact- SQL SELECTFROM 058

Oracle Change Management Pack, Oracle Diagnostics Pack, Oracle Tuning Packインストレーション・ガイド リリース2.2

2

untitled

Oracle XML DB によるスケーラビリティおよびパフォーマンス検証 - MML v.3.0

Bob Beauchemin Senior Staff Instructor DevelopMentor Alex Keh Senior Product Manager Oracle Corporation

Plano-POS Ver1

Copyright All Rights Reserved. -2 -!

tkk0408nari

<Insert Picture Here>

Agenda

FileMaker Server Getting Started Guide

オンラインによる 「電子申告・納税等開始(変更等)届出書」 提出方法

Oracle8 Personal Edition for Windows 95/98/NTリリース・ノート, リリース8.0.6

EPSON Offirio SynergyWare PrintDirector 取扱説明書 導入ガイド

DAOの利用

Oracle Discoverer 3.1 チュートリアル

IPA:セキュアなインターネットサーバー構築に関する調査

Microsoft Word - dotnet_aspdotnet.doc

D1印刷用.PDF

ASP.NET 2.0 Provider Model 概要

Microsoft Word - 最終版 バックせどりismマニュアル .docx

Transcription:

GrapeCity -.NET with GrapeCity - InputMan Creation Date: Nov. 30, 2005 Last Update: Nov. 30, 2005 Version: 1.0

GrapeCity Microsoft Visual Studio.NET VB.NET Oracle Tips InputMan InputMan Oracle.NET Oracle Oracle Data Provider for.net( ODP.NET)!?.NET Oracle.NET GrapeCity 1. ActiveReports 2. InputMan 3. Spread 4. FlexGrid GrapeCity InputMan 1. InputMan 2. 3. InputMan ODP.NET!?.NET Oracle 3

GrapeCity OS Microsoft Windows 2000 Professional + SP4 RDBMS Oracle Database 10g Release 2 Standard Edition for Windows OS Microsoft Windows 2000 Professional + SP4 Microsoft Visual Studio.NET 2003!?.NET Oracle 4

InputMan InputMan XP Office InputMan for.net InputMan URL InputMan http://www.grapecity.com/japan/support/database/p7_307.htm InputMan 2006 1 InputMan for.net 3.0J http://otndnld.oracle.co.jp/easy/dotnet/inputman/sample.zip (sample.zip) InputManDemo Config InputManDemo VB.NET Windows Config Oracle sample.zip!?.net Oracle 5

Config gen_inputman.sql SQL*PLUS Oracle InputMan Oracle Config Images gif c: Temp gen_inputman.sql C: Temp Oracle Config gen_inputman.sql SQL*PLUS SQL / SYSTEM C: >sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 - Production on 2 14 09:12:05 2006 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> @gen_inputman *---------------------------------------* * please enter password of system * *---------------------------------------* Enter password:!?.net Oracle 6

-< > - PL/SQL Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options Oracle sample.zip InputManDemo VS.NET InputManDemo.sln VS.NET InputManDemo.sln InputManDemo ODP.NET VS.NET ODP.NET!?.NET Oracle Data Provider for.net ODP.NET VS.NET ODP.NET Oracle InputManDemo Form1.vb emporacleconnection1!?.net Oracle 7

departmentoracleconnection1 ConnectionString User Id=inputman;Data Source=ORCL10GR2;Password=oracle; User Id inputman Config gen_inputman.sql inputman Data Source Oracle ASP.NET WEB VS.NET (D) (S)!?.NET Oracle 8

InputMan Windows InputMan ODP.NET InputMan ODP.NET Oracle DataSet InputMan Oracle DataSet DataSet InputMan DataSet Oracle DataSet 1. Oracle Oracle Oracle Oracle!?.NET Oracle 9

Oracle Developer Tools for Visual Studio.NET( ODT) ODT Oracle Oracle Oracle (A) Oracle < > inputman oracle!?.net Oracle 10

Network Configuration Assistant( netca) inputman oracle (T) OK Oracle 2. DataAdapter Oracle DataAdapter DataSet DataAdapter ODT Oracle!?.NET Oracle 11

(Y) DataAdapter DataAdapter Connection EMPLOYEE( ) DEPARTMENT( ) Oracle DataAdapter SelectCommand CommandText SQL SELECT * FROM EMPLOYEE!?.NET Oracle 12

SQL CommandText 3. DataSet DataAdapter DataSet DataAdapter DataSet DataSet!?.NET Oracle 13

ODT DataSet XML xsd ODT DataAdapter DataSet emporacledataadapter1.fill(emp11.emp) DataAdapter Fill DataSet DataSet ODT ODT DataSet InputMan DataSet InputMan DataSet InputMan InputMan DataBindings DataBindings!?.NET Oracle 14

DataSet DataBindings DataBindings ControlBindingsCollection Add DataSet edtname.databindings.add("text", Me.Employee11, "Employee.ENAME") DataBindings VS.NET Control.DataBindings BLOB BLOB InputMan BLOB InputMan!?.NET Oracle 15

employee BLOB ephoto InputMan ImageMember ephoto ListBoxStyle Text!?.NET Oracle 16

InputMan Oracle BLOB ListBoxStyle TextBoxStyle GrapeCity.Win.Input.ListBoxStyle ListBoxStyle.Text ListBoxStyle 0 - Image 1 - Text Text 2 - Both Both 3 - ImageWithDescription ImageWithDescription 4 - TextWithDescription TextWithDescription 5 - BothWithDescription BothWithDescription GrapeCity.Win.Input.TextBoxStyle GrapeCity.Win.Input.TextBoxStyle.TextOnly ListBoxStyle 0 - ImageOnly 1 - TextOnly 2 - Both InputMan!?.NET Oracle 17

Oracle dynamicsetproperties() employee InputMan InputMan Edit MaxLength Oracle InputMan Number Format GetSchemaTable ODP.NET OracleDataReader GetSchemaTable (AutoIncrement) GetSchemaTable ' ======== ' ' ======== Private Function getdynamicschema() As DataTable '' Dim acmd As OracleCommand Dim rdr As OracleDataReader acmd = emporacledataadapter1.selectcommand acmd.connection.open() rdr = acmd.executereader() getdynamicschema = rdr.getschematable!?.net Oracle 18

acmd.connection.close() End Function GetSchemaTable ' ======== ' ' ======== Private Sub dynamicsetproperties() Dim schematable As DataTable Dim datarowtmp As DataRow Dim NumericPrecision As Integer Dim NumericScale As Integer Dim str As String '' EMP schematable = getdynamicschema() '' ENAME datarowtmp = schematable.rows(1) Me.edtName.MaxLength = datarowtmp(2) '' JOB datarowtmp = schematable.rows(2) Me.edtJob.MaxLength = datarowtmp(2) '' SALARY datarowtmp = schematable.rows(5) NumericPrecision = datarowtmp(3) NumericScale = datarowtmp(4) If NumericScale = 0 Then!?.NET Oracle 19

str = Space(NumericPrecision) Else str = Space(NumericPrecision) + "." + Space(NumericScale) End If str = str.replace(" ", "#") Me.numSalary.Format.Digit = str End Sub schematable Rows employee Rows GetSchemaTable VS.NET GetSchemaTable Oracle InputMan SafeMapping InputMan Oracle!?.NET Oracle 20

DataSet OracleDataAdapter Oracle DataSet Oracle Oracle.NET DataSet Oracle 1 Oracle NUMBER 38.NET Decimal 28 2 Oracle DATE 4712 1 1 9999 12 31.NET Datetime 0001 1 1 9999 12 31 3 Oracle TIMESTAMP 4712 1 1 00:00:00.000000000.NET Datetime 0001 1 1 00:00:00. 0000000 9999 12 31 23:59:59.999999999 9999 12 31 23.59.59.9999999 4 Oracle INTERVAL -999999999 +999999999 DAY TO 23:59:59.999999999 23:59:59.999999999 SECOND.NET TimeSpan -10675199 02:48:05.4775808 +10675199 02:48:05.4775808 ODP.NET OracleDataAdapater SafeMapping Oracle DataSet.NET String Oracle.NET byte[] DATE SafeMapping -< > - cmd.commandtext = "SELECT empno, hiredate FROM employee" Dim da As New OracleDataAdapter(cmd) da.safemapping.add("hiredate", GetType(System.String)) Dim ds As New DataSet If ds.tables.contains("employee") Then ds.tables("employee").clear() da.fill(ds, "employee")!?.net Oracle 21

-< > - *.NET da.safemapping.add("*", GetType(System.String)) ODP.NET Oracle Data Provider for.net SafeMapping SELECT SELECT empno, hiredate as FROM emp da.safemapping.add(" ", GetType(System.String)) ODP.NET InputMan ODP.NET Oracle ODT InputMan!?.NET Oracle 22