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, 11 Jun 2007 21:19:37 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.mobile        back       

Thread Index
  1    unknown


problem how to assign value to object list control   
can i know how to assign value to object list control field.
let said, i got e.g select statement like select custid,custname from
table

then in the object list control, i manual set the custId,Custname
field name databind with the above statement,
later on, i add one more field custaddress, but it is not the
fieldname can get from the statement

and when page load, let said, i need to manual assign value to
custaddress field, how am i going to do tat.

if let said for the website design i can do it like below coding

public sub abc (ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs)
coding....
a new select statement to get address loop the address
assign to a variable
dim str _display as string = address (example)

Dim lab As Label = CType(e.Item.FindControl("Custaddress"), Label)
lab.Text = str_display

end
Date:Mon, 11 Jun 2007 21:19:37 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


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