DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 16 Jul 2007 13:16:06 -0700,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    Dave T


Computed Field In Typed Dataset   
I have a list box that is bound to an object data source. I added a column, 
say ColumnC, to my typed data set (using the designer) and for the expression 
property  I entered

ColumnA + ': ' + ColumnB

When I preview the data in the designer I get exactly what I want.

Now I go over to the object data source on my web page, refresh it and 
refresh the schema. I can now see ColumnC as an option for the list box's 
data text field. However, when I run the page nothing shows up in the list 
box. However, when I view the page source, I see that the data value field 
did render.

Next I put in a value (instead of the default DBNull) for the DefaultValue 
property.  After going through the whole exercise of refreshing and such 
again, I run the page and the default value I put in is returned in the list 
box.

Does anyone know what I missed? It must be something stupid.

Thanks ...
Date:Mon, 16 Jul 2007 13:16:06 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us