Sign in to follow this  
Pallav

System.Byte[]

Recommended Posts

i got select an qry :

"select distinct monthname(RDate) as monthname,mid(RDate,1,4) as year,sum(case when Type = 'Got No R' then 1 else 0 end) as NoR,sum(case when Type = 'Got R' then 1 else 0 end) as GOTR from sample where RDate between '"

& a & "-" & c & "-%' and '" & b & "-" & d & "-% ' group by monthname,year order by year,monthname;"

then, my categories will be monthname&year such as March2008 but, my output was System.Byte[]. why ?

in the database, RDate datatype is date. got any solution ?

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this