Browse by Tags - CodeSmith Community
Welcome to the CodeSmith Community!

Browse by Tags

Related Posts
  • Forum Post: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control

    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><...
  • Forum Post: Re: Upgrade to .netTiers version v2.3.0

    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...
  • Forum Post: How do one prevent a DataSource from performing a SELECT query?

    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...
  • Forum Post: Re: DataParameter and EntityDataSource

    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;...
  • Forum Post: Filter 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...
  • Forum Post: Using Custom Stored Procedure with Joins in Website through Data Layer?

    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...
  • Forum Post: The entity object cannot be null.

    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...
Page 1 of 4 (80 items) 1234