C
C
CallMeYourDaddy2020-09-10 12:53:15
C++ / C#
CallMeYourDaddy, 2020-09-10 12:53:15

How to add List items to database?

I have a sheet like this:

private List<string> _allCommands = new List<string>();

How to add the elements of this sheet to the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LoliDeveloper, 2020-09-10
@LoliDeveloper

foreach loop?
No idea what your base is, but something like this

foreach(string item in _allCommands )
{
       *метод_добавления_в_базу*(item);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question