When you click the LinkButton in DataList, remove the button's text value
Source: Internet
Author: User
When you click the LinkButton in DataList, remove the button's text value
2011-01-07 09:55:00| Category: ASP.net learning | Tags: learning | reporting | font size subscription
Many times, when you bind a LinkButton in our DataList, you need to remove its text value when clicked, and the value method is as follows:
There is a commandargument attribute in LinkButton that is used to pass parameters in command commands, so when binding the data, the data to be fetched is bound to the CommandArgument in the click of the argument in the event command so that You can remove the passed parameter in the Click event;
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.