Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8333333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:59:37+00:00 2026-06-09T02:59:37+00:00

SELECT CAST(date AS DATE), SUM(amt) AS totamt FROM TableName GROUP BY CAST(date AS DATE)

  • 0
SELECT
    CAST(date AS DATE),
    SUM(amt) AS totamt
FROM TableName
GROUP BY CAST(date AS DATE)

when I using simple query this is working fine but when binding the data through gridview this is not working and throws the error:

DataBinding:’System.Data.Common.DataRecordInternal’ does not contain a property with the name ‘ExpenseDate’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:59:39+00:00Added an answer on June 9, 2026 at 2:59 am

    You are not selecting ExpenseDate from database and trying to bind that column into your gridview. You should edit your database query to select ExpenseDate and then bind that in front end or remove that binding from front end.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my query. SELECT CONVERT(varchar, cast(date as datetime), 3) FROM shoptransfer GROUP BY
I have this query : SELECT ..... ,( CAST(col1 AS MONEY) / CAST (col2
In MySQL 5.1, why won't this SQL work correctly? SELECT CAST (20091023 as date);
Trying this to cast time away select CONVERT(char(10), [Reg Date1], 103) [Reg Date], Regs
I am trying to execute the following Query select distinct pincode as Pincode,CAST(Date_val as
This is not allowed in Mysql: SELECT CAST(0 as DOUBLE) as ZERO How do
Trying to do something like this: select 'Setup for Car ' + CAST(varchar(50), @CarID)
SELECT Id,Date,Name FROM people WHERE DATEPART(hh,Date) >= 7 AND DATEPART(hh,Date) <= 8 Order by
I am using the following syntax: Case When acdtime != 0 Then sum(CAST(ti_stafftime as
Consider the following query: INSERT INTO statement_line_items SELECT count(*)::integer as clicks, sum(amount_cents)::integer as amount_cents,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.