Ask a Question related to ASP.NET General, Design and Development.
-
Simon Storr #1
Complete syntax of DataBinder.Eval() ?
I've been using DataBinder.Eval(container, expression, format) to late-bind
controls in an aspx template with a typed dataset, but finding the syntax of
'expression' has been pure guesswork... Is there a reference anywhere for
the complete syntax of what's possible with 'expression' for datasets? All
the examples I've found have been for simple fields but I need to have
relations bound as well. I've worked out that
Tables[mytable].DefaultView.[0].[myfield]
will get me field 'myfield' in table 'mytable' in the dataset, but I can't
work out how to get relations, eg.
myrow.GetParentRow("mychildfield")["myparentfield"]
Is this even possible?
Simon
Simon Storr Guest
-
Setting Visible with Databinder.Eval
Hi, I hope this is the right forum for my question. I have a Repeater control in which I have two panels. Only one panel should be visible at a... -
DataKeyField causes DataBinder.Eval error
Hi all, I am using ASP.NET datagrid to show results of GOOGLE API web service. It works fine unless I try to set DataKeyField property to the... -
DataGrid - DataBinder.Eval
I am using a Datagrid and am populating the column header which is being picked up from a database. My problem is that if the column name conatins... -
DataBinder.Eval Problem
Hi Use <%#DataBinder.Eval(Container.DataItem, "cat1") %> HTH Prasad "Frosty" <programmerx2002x@aol.com> wrote in message -
DataBinder.Eval() : bad performance ! alternatives ?
According to the documentation for the DataBinder class's Eval method should it only be used with discretion due to the fact it is latebound and...



Reply With Quote

