-
I have 2 nested repeaters i'm using to retrieve data from Parent/Child database structure. This is what i'm doing right now: <data:PostCategoryRepeater ID="postCategoryRepeater" runat="server" DataSourceID="postCategoryDataSource"> <ItemTemplate> <h1><...
-
Hi Blake, I tried the second solution you proposed, since we do have our whole business layer integrated in the netTiers solution, mainly in the Entity and the Service Layers. However, a bug I was having is still there. I'm using the following DataSource in an ASPX page, which used to run fine before...
Posted to
Support
(Forum)
by
velum
on
Tue, Mar 24 2009
Filed under: DataSource, ExpressionBuilder
-
Hi! DataSources seem to always perform a select query (Using the specified SelectMethod). However, this is sometimes unnecessary. For example, I have a form to insert new clients. This form is only used to do inserts, and it was strangely slow. Doing some research, I realized that the ClientDataSource...
-
Here's what I consider to be a better alternative. DataBoundParameter, which binds against properties of the current databinding object. =============================================================== public class DataBoundParameter : Parameter { private Control _bindingControl; private String _propertyName;...
Posted to
Support
(Forum)
by
rwil02
on
Wed, Jul 30 2008
Filed under: .netTiers, EntityDataSource, DataParameter, DataSource
-
Hi i have database with these tables User { IdUser, Name , Surename, Username, Password } ProfesorData { IdUser, JMBG } AdministratorData { IdUser, JMBG } In form for administering profesors i have made fields required to insert new User and ProfesorData. Now problem is how to display a list of all Profesors...
Posted to
Support
(Forum)
by
Zlax
on
Mon, Jun 9 2008
Filed under: Filter, DataSource, DeepLoad, OneToOneRelationship
-
I wrote a custom stored procedure that uses inner joins to join 2 tables and return a dataset. Nettiers recognizes that it is a custom stored procedure in my database but I have no way of accessing it through the datasource as a SelectMethod. My code for the SP is below. My goal is to use this as my...
Posted to
Support
(Forum)
by
aabragan
on
Tue, Jun 3 2008
Filed under: .netTiers, DataSource, ASp.NET, ServiceLayer, SELECT, SQL
-
When I attempt to save a record from the entitygridview, I get this error: [NullReferenceException: The entity object cannot be null.] IGD.Web.Data.BaseDataSourceView`2.ValidateEntity(Entity entity, IDictionary keys) in C:\Projects\xxx\IGD.Web\Data\BaseDataSource.cs:1940 IGD.Web.Data.BaseDataSourceView...
Posted to
Support
(Forum)
by
rithomas
on
Tue, Apr 22 2008
Filed under: EntityGridView, DataSource, Editable View
-
Hi! I would like to know what is the simplest and best way to use an Enum as a DataSource. For example, if I have a table that I specify as being an EnumTable when generating the code, and that I have a DropDownList that I would like to populate with that Enum; is there an easy way to do that. I would...
-
Hello all, I have a page with a repeater on it that is consuming data from a custom stored procedure. This procedure does paging and handles some funky logic under the hood (otherwise I would have used the built-in version). On my stored proc, I'm returning a dataset that nettiers correctly interprets...
Posted to
Support
(Forum)
by
williamwgant
on
Tue, Oct 23 2007
Filed under: Custom Stored Procedure, DataSource, .net 2.0, custom stored Procedure paging
-
Connecting to multiple databases has been covered but here is a new twist: Background I have code-generated the base requirements to the source database. I have been able to get additional SQL Server connections to work by adding a SqlNetTiersProvider at run-time. Question The application needs to connect...
Posted to
Support
(Forum)
by
lordh
on
Fri, Oct 12 2007
Filed under: ConnectionString, DataSource, oracle, DataRepository