Home > Web Front-end > HTML Tutorial > Data binding methods such as Eval(), XPath(), and Bind() can only be used in the context of a data-bound control_html/css_WEB-ITnose

Data binding methods such as Eval(), XPath(), and Bind() can only be used in the context of a data-bound control_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 11:58:15
Original
2036 people have browsed it

The background code can be displayed normally when writing Eval("cbr") == "" ? "Distribution" to
because the status of the logged-in person needs to be judged. To add a judgment, replace it with
<%= Session["yhlx"].ToString() == "KZ" ? Eval("cbr") == "" ? "Distribution" : "" : ""%>
, the page error is as follows,
Data binding methods such as Eval(), XPath() and Bind() can only be used in data binding used in the context of the control.
Has anyone encountered this problem?


Reply to discussion (solution)

Problem solution

">Added this

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
I failed to follow the teacher’s instructions
From 1970-01-01 08:00:00
0
0
0
PHP path reference settings
From 1970-01-01 08:00:00
0
0
0
Convert html files to word
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template