Advertisement

10.17.2007 at 07:39AM PDT, ID: 22899100
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Grid View Date issue - easy fix I am sure

Tags: filterexpression, date, filter, grid, view
I have a dropdown list (ddlLastUpdate) that I am using to filter using date.  Everything works great except when I want to see all of the values.  Normally I select the blank spot in the dropdown list and get all records for the other filters but in this case I get a "Cannot perform '=' operation on System.DateTime and System.String." error

<asp:sqldatasource runat="server" id="MySource"
   connectionstring="<%$ ConnectionStrings:CompEvents_DSNConnection %>" ProviderName="<%$ ConnectionStrings:CompEvents_DSNConnection.ProviderName %>"
   SelectCommand="SELECT * FROM [Events]"
   DeleteCommand="DELETE FROM [Events] WHERE [EventID] = ?"
   UpdateCommand="UPDATE Events SET DivStatus = ?, LastUpdate = ?, LastUpdateBy = ? WHERE EventID = ? "  
  filterexpression="DMA Like '{0}' AND DivStatus Like '{1}' AND Division Like '{2}' AND Retailer Like '{3}' AND Action Like '{4}' and LastUpdate = '{5}'  AND ARStatus Like '{6}'"
   >
 
    <UpdateParameters>
          <asp:Parameter Name="DivStatus" Type="String" />
          <asp:SessionParameter Name="gsLastUpdDateTime" SessionField="SysDate" Type=dateTime/>
          <asp:SessionParameter Name="gsUserName" SessionField="UserName" type=string/>
          <asp:Parameter Name="EventID" Type="Int32" />
    </UpdateParameters>

    <filterparameters>
        <asp:ControlParameter ControlID="ddlDMA" DefaultValue="*" Name="dma" PropertyName="SelectedValue" />
        <asp:ControlParameter ControlID="ddlDivStatus" DefaultValue="*" Name="DivStatus" PropertyName="SelectedValue" />
        <asp:ControlParameter ControlID="ddlDivision" DefaultValue="*" Name="Division" PropertyName="SelectedValue" />
        <asp:ControlParameter ControlID="ddlRetailer" DefaultValue="*" Name="Retailer" PropertyName="SelectedValue" />
        <asp:ControlParameter ControlID="ddlAction" DefaultValue="*" Name="Action" PropertyName="SelectedValue" />
        <asp:ControlParameter ControlID="ddlLastUpdate" DefaultValue="*" Name="LastUpdate" PropertyName="SelectedValue"/>
        <asp:ControlParameter ControlID="ddlARStatus" DefaultValue="*" Name="ARStatus" PropertyName="SelectedValue" />
   </filterparameters>
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: flfmmqp
Solution Provided By: Rejojohny
Participating Experts: 3
Solution Grade: A
Views: 0
Translate:
Loading Advertisement...
10.17.2007 at 07:40AM PDT, ID: 20093848

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 08:18AM PDT, ID: 20094287

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 08:21AM PDT, ID: 20094316

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 08:23AM PDT, ID: 20094328

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 08:31AM PDT, ID: 20094395

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 09:52AM PDT, ID: 20095015

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 10:37AM PDT, ID: 20095372

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 11:53AM PDT, ID: 20095969

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.17.2007 at 11:59AM PDT, ID: 20096017

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.18.2007 at 05:52AM PDT, ID: 20100394

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.18.2007 at 05:53AM PDT, ID: 20100409

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.18.2007 at 05:57AM PDT, ID: 20100446

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
10.18.2007 at 06:07AM PDT, ID: 20100569

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_1_20070628