XML file binding chenckbox selection box

Source: Internet
Author: User

The XML file is as follows:

<?xml version="1.0"encoding="Utf-8"?><callreson> <!--electronic Yellow Pages--<eyellow value="0"Name="Cancel Business"/> <eyellow value="1"Name="Consulting E-Yellow pages related platform"/> <eyellow value="2"Name="Modify SMS"/> <eyellow value="3"Name="Business Opening"/> <!--Flow SMS--<flowsms value="0"Name="There is demand for the month, do not"/> <flowsms value="1"Name="by day billing SMS misleading, to cancel"/> <flowsms value="2"Name="wrong operation to cancel"/> <flowsms value="3"Name="Consultation Order Failure Reason"/> <flowsms value="4"Name="subscription Success traffic not in account"/> <flowsms value="5"Name="Consultation Order Failure Reason"/> <flowsms value="6"Name="product rules are unclear (first month billing, traffic is not clear 0, automatic renewal of the package, etc.)"/> <flowsms value="7"Name="other"/> <!--Flow Client--<flowclient value="0"Name="Rush Flow (Prepaid, pending confirmation)"/> <flowclient value="1"Name="The order is successful, the traffic is not accounted for"/> <flowclient value="2"Name="Querying Traffic"/> <flowclient value="3"Name="product rules not clear"/> <flowclient value="4"Name="Event Giveaway Traffic not in account"/> <flowclient value="5"Name="Verify subscription, user denies"/> <flowclient value="6"Name="Two verification-free subscription, user denied"/> <flowclient value="7"Name="two orders not approved by the user"/> <flowclient value="8"Name="New User installs red envelopes complaint"/> <flowclient value="9"Name="Reminder return fee (confirmed refund, single return fee not credited)"/> <!--Rui Peng--&LT;RP value="0"Name="116114 Telephone Certification"/></callreson>


The background bindings are as follows:
DataSet ds =NewDataSet (); Ds. READXML (Server.MapPath ("~/xml/xmlcheckcallreson.xml")); Checkboxlist1.datasource= ds. tables[0]; Checkboxlist1.datatextfield="name"; Checkboxlist1.datavaluefield="value";   Checkboxlist1.databind (); Checkboxlist2.datasource= ds. tables[1]; Checkboxlist2.datatextfield="name"; Checkboxlist2.datavaluefield="value"; Checkboxlist2.databind ();

XML file binding chenckbox selection box

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.