How can I copy a datagridview to a gridview.. I only ask b/c I need to use the rendercontrol and its not available using datagridview. And Gridview is not an option for me to use in a windows application.. BUT the class is.. very odd but anyway. All the colors formatting etc.. I need to pass to the gridview. Any ideas?
Jump to Post
if you mean copy value from DGV1 to DGV2, here is what i do :
DataGridView2.Rows.Clear() For i As Integer = 0 To DataGridView1.Rows.Count - 2 DataGridView2.Rows.Add(DataGridView1.Rows(i).Cells(0).Value) Next
1. Allow user to add row
2. i do that with just one column, so if …
All 2 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.