For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
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?
I have a problem in my project ( Camera Base Attendance system ) ....
I have two pictures and I need to find the diffrence between them by using ( blob center ) ,
also to divide the image to 6 parts and find the center of each part.( to check the absence ).
The data in the first 2 columns shows up just fine (i.e. Value 1 and Value 2).
But there is nothing that shows up in the drop-down combobox in the 3rd column. (I'd expect to see "Item 1" and "Item 2") in the drop-down combobox. I see the down-arrow on the combobox but when I click it, nothing happens.
works for me. Just tried it.
Make sure the third column is defined in the designer and set as a DatGridViewComboboxColumn.
It does react a little unnatural in the sense you need to click more than once to drop down the items.
I made a winforms app, dropped a DataGridView on it and only changed the Columns property (2x textboxcolumn, 1x comboboxcolumn). Then I used copy/paste on your code.
You should ask in the Comments and Discussions for the article.
The author will be notified.
Asking here doesn't notify the author of the article and depends on the author "just happening to notice" this question.
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.