Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create Shared memory between C# application and VC++ console application Pin
Richard Deeming9-Jul-21 0:44
mveRichard Deeming9-Jul-21 0:44 
AnswerRe: How to create Shared memory between C# application and VC++ console application Pin
OriginalGriff8-Jul-21 2:20
mveOriginalGriff8-Jul-21 2:20 
AnswerRe: How to create Shared memory between C# application and VC++ console application Pin
Gerry Schmitz8-Jul-21 6:49
mveGerry Schmitz8-Jul-21 6:49 
GeneralRe: How to create Shared memory between C# application and VC++ console application Pin
manoharbalu9-Jul-21 0:17
manoharbalu9-Jul-21 0:17 
GeneralRe: How to create Shared memory between C# application and VC++ console application Pin
Gerry Schmitz9-Jul-21 5:39
mveGerry Schmitz9-Jul-21 5:39 
AnswerRe: How to create Shared memory between C# application and VC++ console application Pin
jschell17-Jul-21 10:54
jschell17-Jul-21 10:54 
QuestionHow to read value of a cell in GridView (DevExpress)? Pin
Alex Dunlop7-Jul-21 5:18
Alex Dunlop7-Jul-21 5:18 
GeneralRe: How to read value of a cell in GridView (DevExpress)? Pin
Richard MacCutchan7-Jul-21 5:39
mveRichard MacCutchan7-Jul-21 5:39 
GeneralRe: How to read value of a cell in GridView (DevExpress)? Pin
Alex Dunlop7-Jul-21 6:06
Alex Dunlop7-Jul-21 6:06 
GeneralRe: How to read value of a cell in GridView (DevExpress)? Pin
Richard MacCutchan7-Jul-21 6:10
mveRichard MacCutchan7-Jul-21 6:10 
AnswerRe: How to read value of a cell in GridView (DevExpress)? Pin
OriginalGriff7-Jul-21 5:52
mveOriginalGriff7-Jul-21 5:52 
QuestionSYSTEM process and corresponding user process both need access to Registry HKLM section - StartAsCurrentUser.exe not working with VS2019 Pin
Emil123456875-Jul-21 22:25
Emil123456875-Jul-21 22:25 
AnswerRe: SYSTEM process and corresponding user process both need access to Registry HKLM section - StartAsCurrentUser.exe not working with VS2019 Pin
Victor Nijegorodov5-Jul-21 23:44
Victor Nijegorodov5-Jul-21 23:44 
AnswerRe: SYSTEM process and corresponding user process both need access to Registry HKLM section - StartAsCurrentUser.exe not working with VS2019 Pin
Dave Kreskowiak6-Jul-21 5:04
mveDave Kreskowiak6-Jul-21 5:04 
AnswerRe: SYSTEM process and corresponding user process both need access to Registry HKLM section - StartAsCurrentUser.exe not working with VS2019 Pin
Emil123456876-Jul-21 5:24
Emil123456876-Jul-21 5:24 
GeneralRe: SYSTEM process and corresponding user process both need access to Registry HKLM section - StartAsCurrentUser.exe not working with VS2019 Pin
OriginalGriff6-Jul-21 11:19
mveOriginalGriff6-Jul-21 11:19 
QuestionHandling Volume and Mixing as a DJ Pin
Filip D. Williams5-Jul-21 21:47
Filip D. Williams5-Jul-21 21:47 
AnswerRe: Handling Volume and Mixing as a DJ Pin
Gerry Schmitz6-Jul-21 7:12
mveGerry Schmitz6-Jul-21 7:12 
GeneralRe: Handling Volume and Mixing as a DJ Pin
Filip D. Williams7-Jul-21 20:40
Filip D. Williams7-Jul-21 20:40 
QuestionHow to solve this Error in SQLite? Pin
Alex Dunlop5-Jul-21 7:48
Alex Dunlop5-Jul-21 7:48 
I use this code in a button to save data into a SQLite file:
        //path of data base
        string conString = @"URI=file:" + Application.StartupPath + "\\DataBase.db"; //database created in debug folder
SQLiteConnection con = new SQLiteConnection(conString);
            SQLiteCommand cmd = new SQLiteCommand(con);

            con.Open();
            try
            {
                cmd.CommandText = "INSERT INTO FileInfo(EqpCode, EqpName, FileName) VALUES(@EqpCode, @EqpName, @FileName)";

                for (int i = 0; i < myTable02.Rows.Count; i++)
                {
                    string EqpCode = myTable02.Rows[i][0].ToString();
                    string EqpName = myTable02.Rows[i][1].ToString();
                    string FileName = myTable02.Rows[i][2].ToString();

                    cmd.Parameters.AddWithValue(@EqpCode, EqpCode);
                    cmd.Parameters.AddWithValue(@EqpName, EqpName);
                    cmd.Parameters.AddWithValue(@FileName, FileName);

                    cmd.ExecuteNonQuery();
                }
                con.Close();
            }
            catch (Exception)
            {

                throw;
            }

The error is thrown in cmd.ExecuteNonQuery() line:
System.Data.SQLite.SQLiteException: 'unknown error
Insufficient parameters supplied to the command'

Please help me.
AnswerRe: How to solve this Error in SQLite? Pin
Dave Kreskowiak5-Jul-21 7:56
mveDave Kreskowiak5-Jul-21 7:56 
AnswerRe: How to solve this Error in SQLite? Pin
OriginalGriff5-Jul-21 7:56
mveOriginalGriff5-Jul-21 7:56 
QuestionHow to get pdf file names? Pin
Alex Dunlop4-Jul-21 6:54
Alex Dunlop4-Jul-21 6:54 
AnswerRe: How to get pdf file names? Pin
OriginalGriff4-Jul-21 7:57
mveOriginalGriff4-Jul-21 7:57 
GeneralRe: How to get pdf file names? Pin
Alex Dunlop5-Jul-21 4:43
Alex Dunlop5-Jul-21 4:43 

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.