Change the line with invoiceNum to:
invoiceNum = performCommand.GetInt16(0);
More Related Contents:
- Error Message is not clear to me
- How to String Format [closed]
- How to develop windows phone app like logos quiz [closed]
- How do I generate a random int number?
- How can I find the method that called the current method?
- Hide console window from Process.Start C#
- C# List of objects, how do I get the sum of a property
- How to call functions in a main view model from other view models?
- Casting a result to float in method returning float changes result
- How to directly execute SQL query in C#?
- NHibernate AliasToBean transformer associations
- How to retrieve Data Annotations from code? (programmatically)
- ASP .NET MVC Disable Client Side Validation at Per-Field Level
- Expression.Lambda and query generation at runtime, simplest “Where” example
- show Yes/NO instead True/False in datagridview
- Generate C# project using CMake
- Using string as a lock to do thread synchronization
- Reading Data from CSV to Screen output [closed]
- How to download/upload files from/to SharePoint 2013 using CSOM?
- How to hide a column (GridView) but still access its value?
- Where’s the DateTime ‘Z’ format specifier?
- How to Add ‘Comments’ to a JPEG File Using C#
- “this” in function parameter
- Combining DataTemplates at runtime
- How do I debug .NET 4.6 framework source code in Visual Studio 2017?
- How should I use properties when dealing with read-only List members
- Best practices for Subversion and Visual Studio projects
- Sending Email through Outlook 2010 via C#
- Monitor child processes of a process
- Writing a Header using CsvHelper? C#