CodeSmith Community
Your Code. Your Way. Faster!

Where clause Bug With FriendNames (svn 516)

Latest post 03-12-2007 12:34 PM by mike123. 1 replies.
  • 03-12-2007 1:09 AM

    • shunzimm
    • Not Ranked
    • Joined on 11-02-2006
    • Posts 6
    • Points 150

    Where clause Bug With FriendNames (svn 516)

    bug reappearing:

    my tableName : CustomerType

    my KeyFieldName:TypeId

    so the friendName may be "Type Id"

    When i use CustomerTypeDataSource and add a filter like this in aspx page:

                <data:SqlParameter Name="WhereClause" UseParameterizedFilters="false">
                    <Filters>
                        <data:CustomerTypeFilter Column="TypeId" ControlID="KeyField" />
                    </Filters>
                </data:SqlParameter>

    it appears the Exception , and I Found the error is WhereClause made to " Type Id = 1 ",

    I turned backto 515 svn and the problem resolved.

     

    Filed under: ,
    • Post Points: 35
  • 03-12-2007 12:34 PM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 735
    • Points 17,045

    Re: Where clause Bug With FriendNames (svn 516)

    Fixed in rev. 517

     
    Thanks 

    Mike Shatny
    --------------------------------------------------------------
    Member of the .netTiers team http://www.nettiers.com
    --------------------------------------------------------------

    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems