Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
AnswerRe: Binding Source Issue Pin
Ennis Ray Lynch, Jr.4-Aug-10 5:02
Ennis Ray Lynch, Jr.4-Aug-10 5:02 
GeneralRe: Binding Source Issue Pin
spankyleo1234-Aug-10 5:23
spankyleo1234-Aug-10 5:23 
QuestionC#.NET 3.5 Excel 2007 Ribbon Add-in VS 2008 run macro Pin
Wheels0124-Aug-10 2:56
Wheels0124-Aug-10 2:56 
AnswerRe: C#.NET 3.5 Excel 2007 Ribbon Add-in VS 2008 run macro Pin
Wheels0124-Aug-10 8:18
Wheels0124-Aug-10 8:18 
QuestionSQL Query string issue Pin
MumbleB4-Aug-10 2:54
MumbleB4-Aug-10 2:54 
AnswerRe: SQL Query string issue Pin
Eddy Vluggen4-Aug-10 3:02
professionalEddy Vluggen4-Aug-10 3:02 
AnswerRe: SQL Query string issue Pin
PIEBALDconsult4-Aug-10 3:10
mvePIEBALDconsult4-Aug-10 3:10 
GeneralRe: SQL Query string issue Pin
MumbleB4-Aug-10 4:35
MumbleB4-Aug-10 4:35 
Thanks for the replies but whether the "," (Comma) is there or not I still get the same result. What I am actualy doing is supplying data to a Dynamic DataTable for Crystal reporting at runtime. The only way I can get the Crystal report to work. In order for me to sum the HoursWorked and get it output, I need to be able to assign it to an Alias. However, the code assigns each selected Column to an Alias setup in the Dynamic DataTable in Crystal report so in fact it is a double Alias issue. If you know what I mean. I can post some more code etc if you require. I never knew that Crystal reporting or the Report Viewer tools were such a nightmare to work with!!

What the code is doing results in the following:
"SELECT TSProjectCode AS COLUMN1, EmployeeID AS Column2, SUM(HOURSWORKED) AS 'TOTAL_HOURS AS COLUMN3 FROM TblTimesheetDetails WHERE.........


The bold part is where the problem is!! As you can see there is a double assign to an Alias and I can't run the SUM without assigning it to an Alias!! Confused | :confused: Confused | :confused: Cry | :(( Cry | :(( Cry | :((
Excellence is doing ordinary things extraordinarily well.

GeneralRe: SQL Query string issue Pin
Eddy Vluggen4-Aug-10 10:12
professionalEddy Vluggen4-Aug-10 10:12 
GeneralRe: SQL Query string issue Pin
MumbleB4-Aug-10 11:27
MumbleB4-Aug-10 11:27 
GeneralRe: SQL Query string issue Pin
Eddy Vluggen5-Aug-10 0:26
professionalEddy Vluggen5-Aug-10 0:26 
GeneralRe: SQL Query string issue Pin
PIEBALDconsult4-Aug-10 15:39
mvePIEBALDconsult4-Aug-10 15:39 
GeneralRe: SQL Query string issue Pin
MumbleB4-Aug-10 11:30
MumbleB4-Aug-10 11:30 
GeneralRe: SQL Query string issue Pin
PIEBALDconsult4-Aug-10 15:37
mvePIEBALDconsult4-Aug-10 15:37 
GeneralRe: SQL Query string issue Pin
MumbleB10-Aug-10 6:28
MumbleB10-Aug-10 6:28 
GeneralRe: SQL Query string issue Pin
PIEBALDconsult10-Aug-10 14:39
mvePIEBALDconsult10-Aug-10 14:39 
QuestionSave DataGridView changes to database through multiple layers Pin
anthasaurus4-Aug-10 0:45
anthasaurus4-Aug-10 0:45 
AnswerRe: Save DataGridView changes to database through multiple layers Pin
Luc Pattyn4-Aug-10 1:45
sitebuilderLuc Pattyn4-Aug-10 1:45 
GeneralRe: Save DataGridView changes to database through multiple layers Pin
anthasaurus4-Aug-10 1:51
anthasaurus4-Aug-10 1:51 
QuestionWindows Form (C#.net) Pin
onecomputerguy4-Aug-10 0:36
onecomputerguy4-Aug-10 0:36 
AnswerRe: Windows Form (C#.net) Pin
OriginalGriff4-Aug-10 1:04
mveOriginalGriff4-Aug-10 1:04 
QuestionHello Sir i am muthu from kumbakonam Pin
Muthumca3-Aug-10 21:24
Muthumca3-Aug-10 21:24 
GeneralRe: Hello Sir i am muthu from kumbakonam Pin
OriginalGriff3-Aug-10 21:56
mveOriginalGriff3-Aug-10 21:56 
QuestionCall a function from a dynamically loaded C dll [Answered] Pin
Bernhard Hiller3-Aug-10 19:47
Bernhard Hiller3-Aug-10 19:47 
AnswerRe: Call a function from a dynamically loaded C dll Pin
Gonzalo Cao3-Aug-10 20:40
Gonzalo Cao3-Aug-10 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.