Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Complete syntax of DataBinder.Eval() ?

Reply
Thread Tools

Complete syntax of DataBinder.Eval() ?

 
 
Simon Storr
Guest
Posts: n/a
 
      07-30-2003
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The complete Java 1.5 syntax qualitychecker@free.fr Java 4 02-01-2008 01:05 PM
New Releases: Mr. & Mrs. Smith, Complete Buffy & Enterprise: Updated complete R1 DVD DB & info lists Doug MacLean DVD Video 0 08-09-2005 05:07 AM
Re: Request: A+ Complete 3rd edition (PDF) [1/1] - A+ Complete 3rd edition.txt (1/1) Spammy Sammy A+ Certification 0 03-04-2005 12:55 PM
New Releases: Criterion additions, WB Gangsters & Coupling: Complete: Updated complete downloadable R1 DVD DB& info lists Doug MacLean DVD Video 4 11-07-2004 05:20 PM
Mr. Bean Complete Bean NOT complete!! Waterperson77 DVD Video 5 12-10-2003 05:22 PM



Advertisments