Click here to Skip to main content
15,867,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
MinSeokKo13-Oct-20 14:11
MinSeokKo13-Oct-20 14:11 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Randor 13-Oct-20 15:49
professional Randor 13-Oct-20 15:49 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Dave Kreskowiak13-Oct-20 18:58
mveDave Kreskowiak13-Oct-20 18:58 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Randor 13-Oct-20 19:39
professional Randor 13-Oct-20 19:39 
GeneralRe: What kind of dll use ftp/sftp mapping drive? Pin
Dave Kreskowiak14-Oct-20 5:01
mveDave Kreskowiak14-Oct-20 5:01 
JokeRe: What kind of dll use ftp/sftp mapping drive? Pin
Randor 14-Oct-20 9:22
professional Randor 14-Oct-20 9:22 
Questionhow to insert unknown amount of data into a database Pin
steven_noppe11-Oct-20 7:41
steven_noppe11-Oct-20 7:41 
AnswerRe: how to insert unknown amount of data into a database Pin
Luc Pattyn11-Oct-20 8:32
sitebuilderLuc Pattyn11-Oct-20 8:32 
Hi,

you can create a table and add columns to it when the need arises, however that would be bad design for several reasons; the table structure would be unpredictable, it would probably be very sparse (most fields remain empty), and processing it could be quite cumbersome.

I'd suggest you use a very simple table with essentially two columns, say my_key and my_value, both string.

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

would then sit in three rows, exactly as you described it yourself!

Of course you might want to also provide a primary key, a created timestamp, and maybe a creator field.

If the data entered is related, you need some kind of parent field or group field, so you can indicate how the records belong together.

I certainly advise you to create some processing code before deciding your final table structure, so you don't paint yourself into a corner.

Smile | :)
Luc Pattyn [My Articles]
If you can't find it on YouTube try TikTok...

AnswerRe: how to insert unknown amount of data into a database Pin
OriginalGriff11-Oct-20 8:33
mveOriginalGriff11-Oct-20 8:33 
AnswerRe: how to insert unknown amount of data into a database Pin
jsc4213-Oct-20 3:50
professionaljsc4213-Oct-20 3:50 
QuestionWhy am I not allowed to do this with events Pin
Keith Barrow9-Oct-20 1:20
professionalKeith Barrow9-Oct-20 1:20 
AnswerRe: Why am I not allowed to do this with events Pin
Richard Deeming9-Oct-20 2:12
mveRichard Deeming9-Oct-20 2:12 
GeneralRe: Why am I not allowed to do this with events Pin
Keith Barrow9-Oct-20 3:19
professionalKeith Barrow9-Oct-20 3:19 
QuestionHow to read from serial port until timeout of no more data received? Pin
td17768-Oct-20 13:27
td17768-Oct-20 13:27 
AnswerRe: How to read from serial port until timeout of no more data received? Pin
Luc Pattyn8-Oct-20 14:27
sitebuilderLuc Pattyn8-Oct-20 14:27 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
td17768-Oct-20 15:36
td17768-Oct-20 15:36 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
Luc Pattyn9-Oct-20 1:25
sitebuilderLuc Pattyn9-Oct-20 1:25 
AnswerRe: How to read from serial port until timeout of no more data received? Pin
Gerry Schmitz8-Oct-20 18:27
mveGerry Schmitz8-Oct-20 18:27 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
td17769-Oct-20 11:16
td17769-Oct-20 11:16 
GeneralRe: How to read from serial port until timeout of no more data received? Pin
Gerry Schmitz9-Oct-20 14:10
mveGerry Schmitz9-Oct-20 14:10 
AnswerRe: How to read from serial port until timeout of no more data received? Pin
Richard MacCutchan8-Oct-20 22:55
mveRichard MacCutchan8-Oct-20 22:55 
AnswerMy (temporary?) solution Pin
td17769-Oct-20 11:25
td17769-Oct-20 11:25 
QuestionCOM exception loss Pin
Member 126326017-Oct-20 20:57
Member 126326017-Oct-20 20:57 
AnswerRe: COM exception loss Pin
Richard MacCutchan7-Oct-20 21:35
mveRichard MacCutchan7-Oct-20 21:35 
GeneralRe: COM exception loss Pin
Member 126326017-Oct-20 22:03
Member 126326017-Oct-20 22:03 

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.