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 အခြေအနေ ပိုင်ဆိုင်မှု


❮ အကွက်အရာဝတ္တုရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။

Status property သည် FieldStatusEnum တန်ဖိုးကို Field object တစ်ခု၏ အခြေအနေကို ဖော်ပြသည်။ မူရင်းတန်ဖိုးမှာ adFieldOK ဖြစ်သည်။

အပ်ဒိတ်များ ပျက်ကွက်ပါက အမှားအယွင်းတစ်ခု ပြန်လာမည်ဖြစ်ပြီး၊ အဆင့်အတန်းပိုင်ဆိုင်မှုသည် လုပ်ဆောင်ချက်နှင့် အမှားအယွင်းအခြေအနေကုဒ်၏ ပေါင်းစပ်တန်ဖိုးများကို ညွှန်ပြသည်။ Field တစ်ခုစီအတွက် Status Property ကို အဘယ်ကြောင့် Field ကို မထည့်ရ၊ မွမ်းမံ သို့မဟုတ် ဖျက်မည်ကို ဆုံးဖြတ်ရန် အသုံးပြုနိုင်သည်။

အကွက်တစ်ခုကို ထည့်ခြင်း၊ ပြင်ဆင်ခြင်း သို့မဟုတ် ဖျက်ခြင်းဆိုင်ရာ ပြဿနာများကို ဤပိုင်ဆိုင်မှုမှတစ်ဆင့် အစီရင်ခံပါသည်။ ဥပမာအားဖြင့်၊ အသုံးပြုသူတစ်ဦးသည် Field တစ်ခုကို ဖျက်ပါက၊ Fields collection တွင် ဖျက်ခြင်းအတွက် အမှတ်အသားပြုမည်ဖြစ်သည်။ အပ်ဒိတ်ခေါ်ဆိုမှုတွင် အသုံးပြုသူသည် ခွင့်ပြုချက်မရှိသော ကွက်လပ်တစ်ခုကို ဖျက်ရန်ကြိုးစားသောကြောင့် အမှားအယွင်းတစ်ခု ပြန်ပေါ်လာပါက၊ ဤအကွက်အတွက် အဆင့်အတန်းသည် adFieldPermissionDenied သို့မဟုတ် adFieldPendingDelete ဖြစ်လိမ့်မည်။


အထားအသို

objfield.Status

ဥပမာ

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

set rs = Server.CreateObject("ADODB.Recordset")
rs.open "Select * from orders", conn

response.write(rs.Fields(0).Status)

rs.Close
conn.close
%>

FieldStatusEnum တန်ဖိုးများ

Constant Value Description
adFieldOK 0 Default. The field was successfully added or deleted
adFieldCantConvertValue 2 The field cannot be retrieved or stored without loss of data
adFieldIsNull 3 The provider returned a null value
adFieldTruncated 4 Variable-length data was truncated when reading from the data source
adFieldSignMismatch 5 The data value returned by the provider was signed, but the data type of the ADO field value was unsigned
adFieldDataOverflow 6 The data returned from the provider overflowed the data type of the field
adFieldCantCreate 7 The field could not be added because the provider exceeded a limitation
adFieldUnavailable 8 The provider could not determine the value when reading from the data source
adFieldPermissionDenied 9 The field cannot be modified because it is read-only
adFieldIntegrityViolation 10 The field cannot be modified because it is a calculated or derived entity
adFieldSchemaViolation 11 The value violated the data source schema constraint for the field
adFieldBadStatus 12 An invalid status value was sent from ADO to the OLE DB provider
adFieldDefault 13 The default value for the field was used when setting data
adFieldIgnore 15 This field was skipped when setting data values in the source
adFieldDoesNotExist 16 The field does not exist
adFieldInvalidURL 17 The data source URL contains invalid characters
adFieldResourceLocked 18 The provider cannot perform the operation because the data source is locked
adFieldResourceExists 19 The provider cannot perform the operation because an object already exists at the destination URL and it is not able to overwrite the object
adFieldCannotComplete 20 The server of the URL specified by Source could not complete the operation
adFieldVolumeNotFound 21 The provider is unable to locate the storage volume indicated by the URL
adFieldOutOfSpace 22 The provider is unable to obtain enough storage space to complete a move or copy operation
adFieldCannotDeleteSource 23 During a move operation, a tree or subtree was moved to a new location, but the source could not be deleted
adFieldReadOnly 24 The field in the data source is read-only
adFieldResourceOutOfScope 25 A source or destination URL is outside the scope of the current record
adFieldAlreadyExists 26 The specified field already exists
adFieldPendingInsert 0x10000 The Append operation caused the status to be set. The field has been marked to be added to the Fields collection after the Update method is called
adFieldPendingDelete 0x20000 The Delete operation caused the status to be set. The field has been marked for deletion from the Fields collection after the Update method is called
adFieldPendingChange 0x40000 The field has been deleted and then re-added or the value of the field which previously had a status of adFieldOK has changed
adFieldPendingUnknown 0x80000 The provider cannot determine what operation caused field status to be set
adFieldPendingUnknownDelete 0x100000 The provider cannot determine what operation caused field status to be set, and that the field will be deleted from the Fields collection after the Update method is called.

❮ အကွက်အရာဝတ္တုရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။