Re: CODING PRACTICE. Business and Data Access Layers

Tech-Archive recommends: Fix windows errors by optimizing your registry



Is the 3-tier approach applied in webforms that use webform controls and
datasources such as gridview the sqldatasource controls? Doesn't the
combination of these controls destroy the 3-tier approach? Should I fill the
gridview with data only through code that gets the data from the business
layer, OR by using gridview/sqldatasource properties (the easy way)? I
believe using both methods is inapropriate.
Any comments? How is it done in serious web page development?

TIA
Iordanis
.



Relevant Pages

  • Re: Complex GirdView Problem, returning values from dynamic Templa
    ... In my BuildGrid() function I do a Columns.Clear on the grid, ... However, from your example, instead of a GridView I created a PlaceHolder. ... Now, voila, my controls are repopulating from the viewstate and I can access ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problems with drag and drop ASP.NET 2.0 applications?
    ... The drag 'n drool controls for ASP.Net make building quick web sites ... or chunks of functionality makes maintenance and improving the ... weird and wonderful workarounds for making a GridView insert data as ... most of these involve showing and hiding footers ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: GridView w/ ITemplate Columns - Cant find data on Postback
    ... I had the same issue recently with the GridView. ... This grid control has a RestoreTemplate event that you can use to restore all of your ITemplate based columns during a postback. ... Dynamically rendered controls come back in Viewstate???? ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: ObjectDataSource - How do I get at the returned data? (Not using a gridview)
    ... In general, the new data source controls are designed to ... work with the new data presentation controls (gridview, detailsview, ... ODS but you can wrap it within a formsView: ... the customer name somewhere on the page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problem understanding how to create a dynamic GridView in C#
    ... add the datasource it works correctly. ... but all the rows show empty without any controls. ... // if the new GridView() control is replaced with the ... // aspx page, the grid gets poplulated as exptected. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)