CYQ Study Main Summary 3

Source: Internet
Author: User

1:maction: Increase resettable function to increase resettable function: reduce the number of new Maction
2:maction: Increase in update/insert/fill/resettable failure, automatically call Close () in this case, you do not have to focus on the failure to close the database link, you only need to focus on success, close on the line,
3:maction: Modify the Fill method: Returns the first record if there are multiple records returned to the previous one
4:maction: Add Setautoprefix method to pass multiple control prefixes
5:maction:update method Open Auto Get control value function

6:maction: Turn off the return of property Datasqlhelper
7:mproce: New production class for stored procedure operations
8:outputdata: Newly added export to stored procedure enumeration

9:outputdata: Increase the Execreateproc method for direct execution of the raw page stored procedure

The above operation can automatically get the value of the control of the txt+ field name; However, we generally have a variety of prefixes for the controls, so after the improvements:

Maction action = new maction (tablenames.message);
Action. Setautoprefix ("TXT", "DDL", "Lab");
if (action. Insert (True))
{
Action. Close ();
}

The system can automatically get the control values of the three prefix combinations above the interface. The Autoprefix attribute is also removed.

The 5:maction:update method opens the auto-fetch control value function.

Prior to this release, the Update method did not have an open auto-fetch function, and the Update method opened the auto-fetch function, such as:

Maction action = new maction (tablenames.message);
Action. Setautoprefix ("TXT", "DDL", "Lab");
if (action. Update ("Id=1", True))
{
Action. Close ();
}

7:mproce: New production class, stored procedure operation Specialist
The usage is concise as follows:

MPROC proc = new Mproc (procnames.getuserlist);
Proc. Addparas (users.id, 1);
Gvprocusers.datasource=proc. Exedatatable ();
Gvprocusers.databind ();

Proc. Resetproc (procnames.getmessagelist);
Proc. Addparas (Message.userid, 1);
Gvprocmessage.datasource = Proc. Exedatatable ();
Gvprocmessage.databind ();

Proc. Close ();

CYQ Study Main Summary 3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.