Click here to Skip to main content
14,775,566 members
Home » Discussions » C#
   

C#

 
AnswerRe: What kind of dll use ftp/sftp mapping drive? Pin
OriginalGriff13-Oct-20 2:54
mveOriginalGriff13-Oct-20 2:54 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
MinSeokKo13-Oct-20 15:11
MemberMinSeokKo13-Oct-20 15:11 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Randor 13-Oct-20 16:49
professional Randor 13-Oct-20 16:49 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Dave Kreskowiak13-Oct-20 19:58
mveDave Kreskowiak13-Oct-20 19:58 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Randor 13-Oct-20 20:39
professional Randor 13-Oct-20 20:39 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Dave Kreskowiak14-Oct-20 6:01
mveDave Kreskowiak14-Oct-20 6:01 
JokeRe: What kind of dll use ftp/sftp mapping drive? Pin
Randor 14-Oct-20 10:22
professional Randor 14-Oct-20 10:22 
Questionhow to insert unknown amount of data into a database Pin
steven_noppe11-Oct-20 8:41
Membersteven_noppe11-Oct-20 8:41 
hello,

I'm creating an application that reads data from a PLC and writes it into a database.

In my GUI the user can select which data he wants to log into the database, but I'm wondering how to solve this.

sometimes the user wants to log only one item in the database :

INSERT INTO myTabel (name_data1) VALUES ("123")


but other times I must be able to choose more data :

INSERT INTO myTabel (name_data1, name_data2, name_data3) VALUES ("123", "456", "789")


how would I code this? The column names name_data1, name_data2, name_data3, ... in my database should be able to change according to which data is chosen
for this purpose I use a list of 2 strings

["name_data1", "123"],
["name_data2", "456"],
["name_data3", "789"]

so the problem also is that I do not know how the table will look like at the moment I insert the data, it all depends on which data the user chooses to be inserted into the database
AnswerRe: how to insert unknown amount of data into a database Pin
Luc Pattyn11-Oct-20 9:32
sitebuilderLuc Pattyn11-Oct-20 9:32 
AnswerRe: how to insert unknown amount of data into a database Pin
OriginalGriff11-Oct-20 9:33
mveOriginalGriff11-Oct-20 9:33 
AnswerRe: how to insert unknown amount of data into a database Pin
jsc4213-Oct-20 4:50
professionaljsc4213-Oct-20 4:50 
QuestionWhy am I not allowed to do this with events Pin
Keith Barrow9-Oct-20 2:20
professionalKeith Barrow9-Oct-20 2:20 
AnswerRe: Why am I not allowed to do this with events Pin
Richard Deeming9-Oct-20 3:12
mveRichard Deeming9-Oct-20 3:12 
GeneralRe: Why am I not allowed to do this with events Pin
Keith Barrow9-Oct-20 4:19
professionalKeith Barrow9-Oct-20 4:19 
QuestionHow to read from serial port until timeout of no more data received? Pin
td17768-Oct-20 14:27
Membertd17768-Oct-20 14:27 
AnswerRe: How to read from serial port until timeout of no more data received? Pin
Luc Pattyn8-Oct-20 15:27
sitebuilderLuc Pattyn8-Oct-20 15:27 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
td17768-Oct-20 16:36
Membertd17768-Oct-20 16:36 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
Luc Pattyn9-Oct-20 2:25
sitebuilderLuc Pattyn9-Oct-20 2:25 
AnswerRe: How to read from serial port until timeout of no more data received? Pin
Gerry Schmitz8-Oct-20 19:27
mveGerry Schmitz8-Oct-20 19:27 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
td17769-Oct-20 12:16
Membertd17769-Oct-20 12:16 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
Gerry Schmitz9-Oct-20 15:10
mveGerry Schmitz9-Oct-20 15:10 
AnswerRe: How to read from serial port until timeout of no more data received? Pin
Richard MacCutchan8-Oct-20 23:55
mveRichard MacCutchan8-Oct-20 23:55 
AnswerMy (temporary?) solution Pin
td17769-Oct-20 12:25
Membertd17769-Oct-20 12:25 
QuestionCOM exception loss Pin
Member 126326017-Oct-20 21:57
MemberMember 126326017-Oct-20 21:57 
AnswerRe: COM exception loss Pin
Richard MacCutchan7-Oct-20 22:35
mveRichard MacCutchan7-Oct-20 22:35 

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.