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: Fri, 03 Aug 2007 11:46:17 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Frank Burleigh


FormView programmatic binding for update, insert   
I prefer to have more control over the plumbing in my apps, but the 
documentation for asp.net 2 assumes an "ObjectdataStore" approach.

I have the usual data access and logic layers.  Retrieving both a list 
and one record (for updates) is easy and working well.  That's being 
done by my setting the DataSource for the FormView and calling the Bind 
method myself.

Now, for updates (and later, inserts).  Can the Bind method work from 
the form *to* the DataSource (not DataSourceID)?  What if I'm writing 
the Update command event handler?  Or would I need to get the values 
from the form (or the NewValues and OldValues collections), update the 
BLL, then call the BLL's method that finally makes the DAL do the update 
to the database server?

Thanks very much.
Date:Fri, 03 Aug 2007 11:46:17 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


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