C
C#2y ago
yumo

❔ Textbox multi data

Im trying to use my barcode reader and its going alright, but i want to make a textbox that with the data that is filled with , it would insert into my mysqlce database in different columns, like these RH each space it gives to go into another row it would create a new row https://gyazo.com/6703c423c7a125f4882a0d408aa2cc80
Gyazo
Gyazo
3 Replies
Angius
Angius2y ago
So... do that? Get the value of this textbox, split it by newline, execute the SQL query to insert them
dadarkwizard
dadarkwizard2y ago
Unless you're trying to insert every time it's scanned, in which case you should use a keypressed or textchanged event to clear the text box and do the insert
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.