ASP ကျူတိုရီရယ်များ

ASP ပင်မစာမျက်နှာ

WP ကျူတိုရီရယ်

ဝဘ်စာမျက်နှာများ နိဒါန်း ဝဘ်စာမျက်နှာများ သင်တုန်းဓား ဝဘ်စာမျက်နှာများ အပြင်အဆင် ဝဘ်စာမျက်နှာများ ဖိုဒါများ WebPages Global ဝဘ်စာမျက်နှာများ ပုံစံများ ဝဘ်စာမျက်နှာများ အရာဝတ္ထုများ WebPages ဖိုင်များ ဝဘ်စာမျက်နှာများ ဒေတာဘေ့စ်များ ဝဘ်စာမျက်နှာများ အကူအညီပေးသူများ ဝဘ်စာမျက်နှာများ WebGrid ဝဘ်စာမျက်နှာများ ဇယားများ ဝဘ်စာမျက်နှာများ အီးမေးလ် ဝဘ်စာမျက်နှာများ လုံခြုံရေး ဝဘ်စာမျက်နှာများ ထုတ်ဝေခြင်း။ ဝဘ်စာမျက်နှာများ ဥပမာများ WebPages အတန်းများ

ASP.NET Razor

သင်တုန်းမိတ်ဆက် Razor Syntax Razor C# Variables Razor C# ကွင်း သင်တုန်း C# ယုတ္တိဗေဒ Razor VB Variables Razor VB Loops Razor VB Logic

ASP Classic

ASP မိတ်ဆက် ASP Syntax ASP Variables ASP လုပ်ထုံးလုပ်နည်းများ ASP အခြေအနေများ ASP Looping ASP ပုံစံများ ASP Cookies ASP Session ASP လျှောက်လွှာ ASP #ပါဝင်ပါသည်။ ASP Global.asa ASP AJAX ASP အီးမေးလ် ASP ဥပမာများ

ASP အကိုးအကား

ASP VB လုပ်ဆောင်ချက်များ ASP VB သော့ချက်စာလုံးများ ASP တုံ့ပြန်မှု ASP တောင်းဆိုချက် ASP လျှောက်လွှာ ASP Session ASP ဆာဗာ ASP အမှား ASP ဖိုင်စနစ် ASP TextStream ASP Drive ASP ဖိုင် ASP Folder ASP အဘိဓာန် ASP AdRotator ASP BrowserCap ASP အကြောင်းအရာ ချိတ်ဆက်ခြင်း။ ASP အကြောင်းအရာ Rotator ASP အမြန် Ref

ADO ကျူတိုရီရယ်

ADO မိတ်ဆက် ADO ချိတ်ဆက်မှု ADO မှတ်တမ်းအစုံ ADO ရုပ်ထွက် ADO မေးခွန်း ADO အမျိုးအစား ADO ထည့်ပါ။ ADO အပ်ဒိတ် ADO ဖျက်ပါ။ ADO ဒီမို ADO အရှိန်မြှင့်ပါ။

ADO အရာဝတ္ထုများ

ADO Command ADO ချိတ်ဆက်မှု ADO အမှား ADO Field ADO Parameter ADO အိမ်ခြံမြေ ADO မှတ်တမ်း ADO မှတ်တမ်းအစုံ ADO တိုက်ရိုက်ကြည့်ရှုခြင်း။ ADO ဒေတာအမျိုးအစားများ

ADO ဖွင့် နည်း


❮ ချိတ်ဆက်မှု Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။

Open method သည် data source သို့ ချိတ်ဆက်မှုကို ဖွင့်ပေးသည်။ ချိတ်ဆက်မှုဖွင့်သောအခါ၊ သင်သည် ဒေတာရင်းမြစ်ကို ဆန့်ကျင်သည့် အမိန့်ပေးချက်များကို လုပ်ဆောင်နိုင်သည်။

အထားအသို

connection.Open connectionstring,userID,password,options

Parameter Description
connectionstring Optional. A string value that contains information about the connection. The string is composed of a series of parameter=value statements separated by semicolons.

Provider= the name of the provider
File Name= the file that contains the connection information
Remote Provider= the name of the provider to open a client-side connection
Remote Server= the path name to the server to open a client-side connection
URL= the absolute URL address to use for the connection. 

See the ConnectionString property for details.

userID Optional. A String value that contains a user name for the connection
password Optional. A String value that contains a password for the connection
options Optional. A ConnectOptionEnum value that determines whether this method should return after or before the connection is established.

ဥပမာ

A DSN-less connection:

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"
%>

A DSN-less connection with userID and password
(write the conn.open statement in ONE line):

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;
data source=c:/webdata/northwind.mdb;
userID=xxx;
password=yyy"
%>

An ODBC Database Connection:

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Open "northwind"
%>

OptionEnum ကိုချိတ်ဆက်ပါ။

Constant Value Description
adConnectUnspecified -1 Default. Opens the connection synchronously (after).
adAsyncConnect 16 Opens the connection asynchronously (before).

❮ ချိတ်ဆက်မှု Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။