thats not quite correct.
on an aspx page any code in <% %> or <%# %> must use the syntax of the
language picked for the page. with c# you must be careful of it stricter
type checking. DataBinder.Eval alway returns a string to make it easier to
use from C#.
-- bruce (sqlwork.com)
"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamM> wrote
in message news:6E******** *************** ***********@mic rosoft.com...
| ASPX tags are not affected by the language chosen for CodeBehind or server
| side scripting tags.
|
|
| ---
|
| Gregory A. Beamer
| MVP; MCP: +I, SE, SD, DBA
|
| *************** ************
| Think Outside the Box!
| *************** ************
|
| "Patrick Olurotimi Ige" wrote:
|
| > Does this work in C# too?
| > <%# SomeFunc(DataBi nder.Eval(Conta inter.DataItem, "ColName")% >
| >
| >
| >
| > *** Sent via Developersdex
http://www.developersdex.com ***
| > Don't just participate in USENET...get rewarded for it!
| >