Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: I found this strange in C# Pin
Brian_TheLion19-Mar-19 23:28
Brian_TheLion19-Mar-19 23:28 
AnswerRe: I found this strange in C# Pin
Gerry Schmitz20-Mar-19 5:10
mveGerry Schmitz20-Mar-19 5:10 
QuestionLooking for a good book to learn C# Pin
Brian_TheLion18-Mar-19 20:07
Brian_TheLion18-Mar-19 20:07 
AnswerRe: Looking for a good book to learn C# Pin
OriginalGriff18-Mar-19 21:01
mveOriginalGriff18-Mar-19 21:01 
GeneralRe: Looking for a good book to learn C# Pin
Brian_TheLion19-Mar-19 20:44
Brian_TheLion19-Mar-19 20:44 
GeneralRe: Looking for a good book to learn C# Pin
OriginalGriff19-Mar-19 21:17
mveOriginalGriff19-Mar-19 21:17 
AnswerRe: Looking for a good book to learn C# Pin
Ralf Meier18-Mar-19 22:28
mveRalf Meier18-Mar-19 22:28 
GeneralRe: Looking for a good book to learn C# Pin
OriginalGriff18-Mar-19 22:35
mveOriginalGriff18-Mar-19 22:35 
GeneralRe: Looking for a good book to learn C# Pin
Ralf Meier19-Mar-19 1:07
mveRalf Meier19-Mar-19 1:07 
GeneralRe: Looking for a good book to learn C# Pin
Brian_TheLion19-Mar-19 20:44
Brian_TheLion19-Mar-19 20:44 
GeneralRe: Looking for a good book to learn C# Pin
OriginalGriff19-Mar-19 21:12
mveOriginalGriff19-Mar-19 21:12 
AnswerRe: Looking for a good book to learn C# Pin
Richard MacCutchan18-Mar-19 22:45
mveRichard MacCutchan18-Mar-19 22:45 
GeneralRe: Looking for a good book to learn C# Pin
Brian_TheLion19-Mar-19 11:36
Brian_TheLion19-Mar-19 11:36 
GeneralRe: Looking for a good book to learn C# Pin
Richard MacCutchan19-Mar-19 22:54
mveRichard MacCutchan19-Mar-19 22:54 
AnswerRe: Looking for a good book to learn C# Pin
Gerry Schmitz19-Mar-19 5:46
mveGerry Schmitz19-Mar-19 5:46 
GeneralRe: Looking for a good book to learn C# Pin
Brian_TheLion19-Mar-19 12:54
Brian_TheLion19-Mar-19 12:54 
Questionc# Pin
Member 1418483718-Mar-19 17:50
Member 1418483718-Mar-19 17:50 
AnswerRe: c# Pin
OriginalGriff18-Mar-19 21:07
mveOriginalGriff18-Mar-19 21:07 
AnswerRe: c# Pin
Gerry Schmitz19-Mar-19 5:44
mveGerry Schmitz19-Mar-19 5:44 
Question(SOLVED) - How do I execute stored proc with pivot query? Pin
samflex18-Mar-19 4:39
samflex18-Mar-19 4:39 
AnswerRe: How do I execute stored proc with pivot query? Pin
Gerry Schmitz18-Mar-19 6:01
mveGerry Schmitz18-Mar-19 6:01 
GeneralRe: How do I execute stored proc with pivot query? Pin
samflex18-Mar-19 7:02
samflex18-Mar-19 7:02 
GeneralRe: How do I execute stored proc with pivot query? Pin
Gerry Schmitz18-Mar-19 9:56
mveGerry Schmitz18-Mar-19 9:56 
AnswerRe: How do I execute stored proc with pivot query? Pin
Richard Deeming18-Mar-19 9:23
mveRichard Deeming18-Mar-19 9:23 
GeneralRe: How do I execute stored proc with pivot query? Pin
samflex18-Mar-19 10:05
samflex18-Mar-19 10:05 
Greetings Richard,

Thank you so much. Man you make coding look so simple!

As for updating them, all updates are done via my C# and they can only update Members and Transactions tables. Any new records added or updated are stored on those tables

Once the updates are made, they will be picked up by the PIVOT query.

That's the thinking at least.

I am having just one error right now:

Error	CS0103	The name 'commandText' does not exist in the current context


which is on this line:

using (SqlCommand command = new SqlCommand(commandText, connection))


At least you clearly understand what I am doing to do

UPDATE: I replaced commandText with selectCommand and it started working.

You are simply awesome!!

Exactly the solution I was looking for.

Thank you very much.

modified 18-Mar-19 17:40pm.

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.