in

CodeSmith Community

Your Code. Your Way. Faster!

Some Questions

Last post 07-16-2007 4:44 AM by bob.jovi. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-16-2007 4:44 AM

    • bob.jovi
    • Not Ranked
    • Joined on 04-26-2007
    • Posts 2
    • Points 40

    Some Questions

    1,  why I can't put  a  EntityGridView  into  a Panel  or Mutiview   ,,It will be Wrong  when design  But  It can Run~~   Any suggesttion?

     

    2.how to use "Like"  with ObjectDataSource , Example:

    <data:Cg_t_supplierInfoDataSource ID="Cg_t_supplierInfoDataSource" runat="server"
       SelectMethod="GetPaged"
       EnablePaging="True"
       EnableSorting="True"
      >
       <Parameters>
            <data:CustomParameter Name="OrderByClause" Value="" ConvertEmptyStringToNull="false" />
        <asp:ControlParameter Name="PageIndex" ControlID="GridView1" PropertyName="PageIndex" Type="Int32" />
        <asp:ControlParameter Name="PageSize" ControlID="GridView1" PropertyName="PageSize" Type="Int32" />
        <data:CustomParameter Name="RecordCount" Value="0" Type="Int32" />
        <data:SqlParameter Name="WhereClause" UseParameterizedFilters="false">
        <Filters>
          <data:Cg_t_supplierInfoFilter Column="SupplierName" ControlID="tbSupplierName" PropertyName="Text" ComparisionType="Like" />
        </Filters>
        </data:SqlParameter>
       </Parameters>
      </data:Cg_t_supplierInfoDataSource>    

     

    it  Can't Work,  Why?      when Use  "Contain "   also can't Work   because of  there ara  some Nulls in the Column of SupplierName

     

    sorry for my bad English

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