Click here to Skip to main content
14,356,787 members
   

C#

 
GeneralRe: How to perform the content of a variable as a C# instruction Pin
Member 133074841-Jun-19 19:22
memberMember 133074841-Jun-19 19:22 
AnswerRe: How to perform the content of a variable as a C# instruction Pin
jschell2-Jun-19 9:53
memberjschell2-Jun-19 9:53 
QuestionHow To Make This Generic Pin
Kevin Marois31-May-19 12:55
professionalKevin Marois31-May-19 12:55 
AnswerRe: How To Make This Generic Pin
#realJSOP1-Jun-19 6:00
mve#realJSOP1-Jun-19 6:00 
QuestionAsk C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
Dhjjf29-May-19 23:15
memberDhjjf29-May-19 23:15 
AnswerRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
BillWoodruff29-May-19 23:41
mveBillWoodruff29-May-19 23:41 
AnswerRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
Eddy Vluggen29-May-19 23:56
mveEddy Vluggen29-May-19 23:56 
AnswerRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
OriginalGriff30-May-19 0:00
protectorOriginalGriff30-May-19 0:00 
Three things:
1) Your error description makes no sense: "After using a class, you can't call it." You don;t use any classes, you are just calling static methods of a static class. You need to explain in a lot more detail exactly what you are doing, and what happens as a result.
2) Don't store data files - including databases - in your app folder. It will work in development, but it can fail in production because the app is installed under the "Program Files" folder which is a target for virus activity and is thus often protected from changes. See here for better ideas: Where should I store my data?[^]
3) Please learn about string.IsNullOrWhitespace rather than doing "empty string" tests yourself.

But we probably can't help you that much - this requires you app running along with your database (and probably user input) to work out what the problem might be and we have no access to any of those.

So, it's going to be up to you.
Fortunately, you have a tool available to you which will help you find out what is going on: the debugger. If you don't know how to use it, then a quick Google for "Visual Studio debugger" should give you the info you need.

Put a breakpoint on the first line in the function, and run your code through the debugger. Then look at your code, and at your data and work out what should happen manually. Then single step each line checking that what you expected to happen is exactly what did. When it isn't, that's when you have a problem, and you can back-track (or run it again and look more closely) to find out why.

Sorry, but we can't do that for you - time for you to learn a new (and very, very useful) skill: debugging!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

AnswerRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
#realJSOP30-May-19 5:55
mve#realJSOP30-May-19 5:55 
GeneralRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
Eddy Vluggen30-May-19 8:20
mveEddy Vluggen30-May-19 8:20 
GeneralRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
#realJSOP30-May-19 8:24
mve#realJSOP30-May-19 8:24 
PraiseRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
Eddy Vluggen30-May-19 8:29
mveEddy Vluggen30-May-19 8:29 
SuggestionRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
Richard Deeming30-May-19 8:46
mveRichard Deeming30-May-19 8:46 
GeneralRe: Ask C# everyone God, about SQLiteHelper increase delete to modify the static to directly call the way Pin
#realJSOP1-Jun-19 6:02
mve#realJSOP1-Jun-19 6:02 
QuestionFile keeps getting corrupted on just one machine Pin
jkirkerx29-May-19 13:51
professionaljkirkerx29-May-19 13:51 
AnswerRe: File keeps getting corrupted on just one machine Pin
Dave Kreskowiak29-May-19 14:11
mveDave Kreskowiak29-May-19 14:11 
GeneralRe: File keeps getting corrupted on just one machine Pin
jkirkerx29-May-19 14:17
professionaljkirkerx29-May-19 14:17 
AnswerRe: File keeps getting corrupted on just one machine Pin
Dave Kreskowiak29-May-19 14:13
mveDave Kreskowiak29-May-19 14:13 
GeneralRe: File keeps getting corrupted on just one machine Pin
jkirkerx29-May-19 14:25
professionaljkirkerx29-May-19 14:25 
QuestionDownload files Pin
Member 1447263829-May-19 1:23
memberMember 1447263829-May-19 1:23 
AnswerRe: Download files Pin
#realJSOP29-May-19 1:36
mve#realJSOP29-May-19 1:36 
AnswerRe: Download files Pin
Pete O'Hanlon29-May-19 1:42
protectorPete O'Hanlon29-May-19 1:42 
GeneralRe: Download files Pin
Member 1447263829-May-19 4:12
memberMember 1447263829-May-19 4:12 
GeneralRe: Download files Pin
OriginalGriff29-May-19 4:14
protectorOriginalGriff29-May-19 4:14 
GeneralRe: Download files Pin
Pete O'Hanlon29-May-19 4:36
protectorPete O'Hanlon29-May-19 4:36 

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.