Without your code, we can't help: but that kind of error normally comes from an SQL Substring function - so start by looking at your queries and stored procedures, and the data you are passing to them.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
into a dataset and then I try to load the dataset into a list. The problem is there are 2 root tables (person and phone) in the main table (list) and I am not sure how to loop through the dataset to fill my list (List<Person> ListP = new List<Person>())
so that the the content of each would match the correct parts.
ListP would contain Micky Mouse, 1111111, 2222222,
ListP would contain Donald Duck 333333
ListP would contain Pluto
ListP would contain Goofy 5555555, 6666666, 7777777
I don't know why I wrote "root" tables. I meant 2 tables (person and phone) and that is what I don't know how to loop through properly and put there content into my list (List ListP = new List()).
I will try that change you wrote.
For .NET 4.5 with async / await, using await Task.WhenAll(tasks); is better than using Task.WaitAll(tasks);. The former releases the current thread until the tasks are complete; the latter blocks the current thread waiting for the tasks to complete.
some month ago, google have deprecate the 2nd version of "Google Calendar API", and my windows application stop to work.
Now I start to rewrote the code, but i discover a surprise, to add, delete, modify, list the appointments in 10 different google calendar, i need to do the authentication with OAuth2.0. And now appear the problem, I have stressed google to find an example of code, but every code was write for webapplication(asp.net) and not for a standalone windows application.
Somebody can help me to find a solution/example to integrate in my code????
I cannot get anything to work to add the code at runtime, besides having a button click add row by row (which I do not want and cannot use) so somehow I've done something in the beginning to break it in trying to figure this out, and now that I've asked for help and gotten working examples, it is thwarting my ability to get it to work properly.
Even the code from the msdn site isn't working and my data grid is indeed called dataGridView1?