Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
AnswerRe: alias names for Column in Linq Pin
Richard Deeming25-Jan-21 21:38
mveRichard Deeming25-Jan-21 21:38 
Questionhow to print POS bills with a thermal printer Pin
Meax24-Jan-21 8:53
Meax24-Jan-21 8:53 
AnswerRe: how to print POS bills with a thermal printer Pin
Daniel Pfeffer24-Jan-21 9:23
professionalDaniel Pfeffer24-Jan-21 9:23 
GeneralRe: how to print POS bills with a thermal printer Pin
OriginalGriff24-Jan-21 10:25
mveOriginalGriff24-Jan-21 10:25 
AnswerRe: how to print POS bills with a thermal printer Pin
OriginalGriff24-Jan-21 10:26
mveOriginalGriff24-Jan-21 10:26 
QuestionRuntime error in PivotGridControl data binding [Solved] Pin
Alex Dunlop21-Jan-21 8:48
Alex Dunlop21-Jan-21 8:48 
AnswerRe: Runtime error in PivotGridControl data binding Pin
Gerry Schmitz21-Jan-21 9:02
mveGerry Schmitz21-Jan-21 9:02 
AnswerRe: Runtime error in PivotGridControl data binding Pin
Richard Deeming21-Jan-21 22:05
mveRichard Deeming21-Jan-21 22:05 
Impossible to answer properly, since you didn't even tell us which line / variable is null.

At a guess, the pivotGridControl1 is initialized in the compiler-generated InitializeComponent method, which you haven't called. Therefore, the field is null, and you get a NullReferenceException on the pivotGridControl1.DataSource = myExcelSource; line.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

AnswerRe: Runtime error in PivotGridControl data binding Pin
OriginalGriff21-Jan-21 22:22
mveOriginalGriff21-Jan-21 22:22 
GeneralRe: Runtime error in PivotGridControl data binding Pin
Alex Dunlop21-Jan-21 22:44
Alex Dunlop21-Jan-21 22:44 
GeneralRe: Runtime error in PivotGridControl data binding Pin
Alex Dunlop21-Jan-21 23:07
Alex Dunlop21-Jan-21 23:07 
GeneralRe: Runtime error in PivotGridControl data binding Pin
OriginalGriff21-Jan-21 23:30
mveOriginalGriff21-Jan-21 23:30 
Question[Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 0:34
chipp_zanuff21-Jan-21 0:34 
AnswerRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
OriginalGriff21-Jan-21 0:59
mveOriginalGriff21-Jan-21 0:59 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 5:56
chipp_zanuff21-Jan-21 5:56 
AnswerRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan21-Jan-21 1:37
mveRichard MacCutchan21-Jan-21 1:37 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 5:40
chipp_zanuff21-Jan-21 5:40 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan21-Jan-21 5:53
mveRichard MacCutchan21-Jan-21 5:53 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 6:03
chipp_zanuff21-Jan-21 6:03 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan21-Jan-21 6:36
mveRichard MacCutchan21-Jan-21 6:36 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff22-Jan-21 4:41
chipp_zanuff22-Jan-21 4:41 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Richard MacCutchan22-Jan-21 5:42
mveRichard MacCutchan22-Jan-21 5:42 
AnswerRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Gerry Schmitz21-Jan-21 3:44
mveGerry Schmitz21-Jan-21 3:44 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
chipp_zanuff21-Jan-21 5:50
chipp_zanuff21-Jan-21 5:50 
GeneralRe: [Visual Studio 2019] Ask About Tutorial for C# Windows Application Pin
Gerry Schmitz21-Jan-21 8:48
mveGerry Schmitz21-Jan-21 8:48 

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.