Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reading and storing application settings in an object at startup Pin
Nathan Minier8-Apr-15 2:37
professionalNathan Minier8-Apr-15 2:37 
QuestionPerformanceCounter RawValue is not changed\modified Pin
dushkin6-Apr-15 6:05
dushkin6-Apr-15 6:05 
QuestionTextbox for numbers C# Pin
Member 114516056-Apr-15 5:06
Member 114516056-Apr-15 5:06 
AnswerRe: Textbox for numbers C# Pin
PIEBALDconsult6-Apr-15 5:09
mvePIEBALDconsult6-Apr-15 5:09 
GeneralRe: Textbox for numbers C# Pin
Member 1145160512-Apr-15 9:23
Member 1145160512-Apr-15 9:23 
AnswerRe: Textbox for numbers C# Pin
Ravi Bhavnani6-Apr-15 6:05
professionalRavi Bhavnani6-Apr-15 6:05 
QuestionQuery error: no such column Pin
DPaul19946-Apr-15 4:17
DPaul19946-Apr-15 4:17 
AnswerRe: Query error: no such column Pin
Dave Kreskowiak6-Apr-15 4:50
mveDave Kreskowiak6-Apr-15 4:50 
You don't have a column in your table that's named "rowbegin".

I get the feeling that you're trying to pass in a row number in a variable called rowbegin but it's not possible to tell because you haven't shown all the relevant code, including the function header.

Well, just because you mention a variable name in a string does NOT mean that your variable name will get replaced by the actual value.

I highly recommend that you brush up on how strings work and you read about SQL Injection attacks and learn how to pass parameters into your SQL query the correct way before you get into any bad habits.

Change the SQL query to accept a parameter and then add your rowbegin value as a SqliteParameter object.

Start reading these[^].
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Query error: no such column Pin
DPaul19946-Apr-15 5:40
DPaul19946-Apr-15 5:40 
GeneralRe: Query error: no such column Pin
Dave Kreskowiak6-Apr-15 6:26
mveDave Kreskowiak6-Apr-15 6:26 
GeneralRe: Query error: no such column Pin
DPaul19946-Apr-15 6:41
DPaul19946-Apr-15 6:41 
GeneralRe: Query error: no such column Pin
Dave Kreskowiak6-Apr-15 7:35
mveDave Kreskowiak6-Apr-15 7:35 
GeneralRe: Query error: no such column Pin
DPaul19946-Apr-15 8:07
DPaul19946-Apr-15 8:07 
GeneralRe: Query error: no such column Pin
Dave Kreskowiak6-Apr-15 8:22
mveDave Kreskowiak6-Apr-15 8:22 
GeneralRe: Query error: no such column Pin
DPaul19946-Apr-15 8:26
DPaul19946-Apr-15 8:26 
QuestionHow to pass folder hierarchy when creating zip file from memory stream using DotNetZip library Pin
Tridip Bhattacharjee6-Apr-15 1:09
professionalTridip Bhattacharjee6-Apr-15 1:09 
AnswerRe: How to pass folder hierarchy when creating zip file from memory stream using DotNetZip library Pin
Eddy Vluggen6-Apr-15 2:42
professionalEddy Vluggen6-Apr-15 2:42 
AnswerRe: How to pass folder hierarchy when creating zip file from memory stream using DotNetZip library Pin
Dr Gadgit6-Apr-15 4:03
Dr Gadgit6-Apr-15 4:03 
AnswerRe: How to pass folder hierarchy when creating zip file from memory stream using DotNetZip library Pin
Dave Kreskowiak6-Apr-15 4:43
mveDave Kreskowiak6-Apr-15 4:43 
GeneralRe: How to pass folder hierarchy when creating zip file from memory stream using DotNetZip library Pin
Tridip Bhattacharjee6-Apr-15 21:27
professionalTridip Bhattacharjee6-Apr-15 21:27 
SuggestionRe: How to pass folder hierarchy when creating zip file from memory stream using DotNetZip library Pin
Richard Deeming7-Apr-15 2:07
mveRichard Deeming7-Apr-15 2:07 
Questionsplit string Pin
Member 103707115-Apr-15 12:53
professionalMember 103707115-Apr-15 12:53 
AnswerRe: split string Pin
Richard Andrew x645-Apr-15 13:07
professionalRichard Andrew x645-Apr-15 13:07 
GeneralصهفاRe: split string Pin
Member 103707115-Apr-15 13:20
professionalMember 103707115-Apr-15 13:20 
GeneralRe: split string Pin
PIEBALDconsult5-Apr-15 13:23
mvePIEBALDconsult5-Apr-15 13:23 

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.