Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: DataBinder.Eval problems


Message #1 by "David Garner" <dgarner@g...> on Thu, 13 Feb 2003 01:20:00
I have an ASPX Label control and I'm trying to bind a value from a dataset 
to the label's text property.

I'm using:

Text='<%# DataBinder.Eval(datasetname, "Tables[tablename].DefaultView.[0].
[columnname]") %>'

Even though the dataset has values the above DataBinder.Eval statement 
evaluates to null.  What am I missing.

Let me know if you need more information.

David

  Return to Index