एएसपी ट्यूटोरियल

एएसपी होम

WP ट्यूटोरियल

वेबपेज परिचय वेबपेज रेजर वेबपेज लेआउट वेबपेज फोल्डर वेबपेज ग्लोबल वेबपेज फॉर्म वेबपेज ऑब्जेक्ट्स वेबपेज फ़ाइलें वेबपेज डेटाबेस वेबपेज हेल्पर्स वेबपेज वेबग्रिड वेबपेज चार्ट वेबपेज ईमेल वेबपेज सुरक्षा वेबपेज प्रकाशित वेबपेज उदाहरण वेबपेज कक्षाएं

ASP.NET रेजर

रेजर इंट्रो रेजर सिंटेक्स रेजर सी # चर रेजर सी # लूप्स रेजर सी # लॉजिक रेजर वीबी चर रेजर वीबी लूप्स रेजर वीबी लॉजिक

एएसपी क्लासिक

एएसपी परिचय एएसपी सिंटेक्स एएसपी चर एएसपी प्रक्रियाएं एएसपी सशर्त एएसपी लूपिंग एएसपी फॉर्म एएसपी कुकीज़ एएसपी सत्र एएसपी आवेदन एएसपी #शामिल करें एएसपी Global.asa एएसपी अजाक्स एएसपी ई-मेल एएसपी उदाहरण

एएसपी संदर्भ

एएसपी वीबी कार्य एएसपी वीबी कीवर्ड एएसपी प्रतिक्रिया एएसपी अनुरोध एएसपी आवेदन एएसपी सत्र एएसपी सर्वर एएसपी त्रुटि एएसपी फाइल सिस्टम एएसपी टेक्स्टस्ट्रीम एएसपी ड्राइव एएसपी फ़ाइल एएसपी फ़ोल्डर एएसपी डिक्शनरी एएसपी एडरोटेटर एएसपी ब्राउज़र कैप एएसपी सामग्री लिंकिंग एएसपी सामग्री रोटेटर एएसपी त्वरित रेफरी

एडीओ ट्यूटोरियल

एडीओ परिचय एडीओ कनेक्ट एडीओ रिकॉर्डसेट एडीओ प्रदर्शन एडीओ क्वेरी एडीओ सॉर्ट एडीओ जोड़ें एडीओ अपडेट एडीओ हटाएं एडीओ डेमो एडीओ स्पीड अप

एडीओ ऑब्जेक्ट्स

एडीओ कमांड एडीओ कनेक्शन एडीओ त्रुटि एडीओ फील्ड एडीओ पैरामीटर एडीओ संपत्ति एडीओ रिकॉर्ड एडीओ रिकॉर्डसेट एडीओ स्ट्रीम एडीओ डेटा प्रकार

एडीओ कमांड ऑब्जेक्ट


कमांड ऑब्जेक्ट

ADO कमांड ऑब्जेक्ट का उपयोग डेटाबेस के विरुद्ध एकल क्वेरी को निष्पादित करने के लिए किया जाता है। क्वेरी रिकॉर्ड बनाने, जोड़ने, पुनर्प्राप्त करने, हटाने या अपडेट करने जैसी क्रियाएं कर सकती है।

यदि डेटा पुनर्प्राप्त करने के लिए क्वेरी का उपयोग किया जाता है, तो डेटा को रिकॉर्डसेट ऑब्जेक्ट के रूप में वापस कर दिया जाएगा। इसका मतलब है कि पुनर्प्राप्त डेटा को रिकॉर्डसेट ऑब्जेक्ट के गुणों, संग्रह, विधियों और घटनाओं द्वारा हेरफेर किया जा सकता है।

कमांड ऑब्जेक्ट की प्रमुख विशेषता पैरामीटर के साथ संग्रहीत प्रश्नों और प्रक्रियाओं का उपयोग करने की क्षमता है।


प्रोगिड

set objCommand=Server.CreateObject("ADODB.command")

गुण

Property Description
ActiveConnection Sets or returns a definition for a connection if the connection is closed, or the current Connection object if the connection is open
CommandText Sets or returns a provider command
CommandTimeout Sets or returns the number of seconds to wait while attempting to execute a command
CommandType Sets or returns the type of a Command object
Name Sets or returns the name of a Command object
Prepared Sets or returns a Boolean value that, if set to True, indicates that the command should save a prepared version of the query before the first execution
State Returns a value that describes if the Command object is open, closed, connecting, executing or retrieving data

तरीकों

Method Description
Cancel Cancels an execution of a method
CreateParameter Creates a new Parameter object
Execute Executes the query, SQL statement or procedure in the CommandText property

संग्रह

Collection Description
Parameters Contains all the Parameter objects of a Command Object
Properties Contains all the Property objects of a Command Object