Remove a piece of data from the Bag, and one from the bag

Source: Internet
Author: User

Remove a piece of data from the Bag, and one from the bag

Delete A data entry in the schoolbag

Query

<esql module=help id=list>SelectID,Subject,Writer,DayTimeFromMessages</esql>
Delete pre-cycle output

<Table border = 1> <tr> <th> ID </th> <th> topic </th> <th> author </th> <th> time </th> </tr> <chtml> <for bags = list end =@{ list: getLength }>< tr> <td >@{ list: ID }</td> <td >@{ list: Subject} </td> <td >@{ list: writer }</td> <td >@{ list: DayTime }</td> </tr> </for> </chtml> </table>

Effect


Delete a record
<Bag id=list suffix=2 act=del></Bag>

Delete the 2nd + 1 data record in the schoolbag to see if the displayed result is different from the for example.

Cyclic output after deletion
<H4> after deletion, @ {list: getLength} Effect


(Example file: _ samples/bag_del.html)

Download and description of light platform Resources

Platform and the latest development manual free download: http://download.csdn.net/detail/tx18/8464425

Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585

The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please note thatDownload the latest version


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.