I'd like to extract a column from a dataGridView and add it to a dataSet. Apparently I can't cast a dataGridViewColumn to a dataColumn like this DataColumn col = (DataColumn)inputGrid.Columns[0];
even though they seem like they're holding essentially the same thing. Any suggestions you have would be great, I'm still new to C# and DataGridView is giving me the most trouble.
tdeck
7
Light Poster
Recommended Answers
Jump to PostAn apple an a pear are both fruits. You can even say that they belong to the same plant family http://en.wikipedia.org/wiki/Rosaceae
You can never say an apple IS a pear.
All 3 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
tdeck
7
Light Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.