Good day guys,
here is another question I have, working with vb.net community 15. I have a large datagridview to display all lessons for my school timetabling program. There could be up to 14 timeslots = lessons per day. Now I like a timetabler to be able swap days like Monay with Wednesday etc. I know how to do it via the indexes of columns (slow). However, I came across the displayindex method of swapping columns very fast . Swapping days with 12 columns is in the blink of an eye. The problem is I can’t work out how to than save the dataviewgrid as it is displayed after the swap. I found a few questions to this regard on the net but no answers and the ways I tried didn’t work. Maybe anyone here came across the problem before?
Minimalist
96
Posting Pro
Recommended Answers
Jump to PostHow are you saving your DGV? File, Excel, DB?
Perhaps have a look at the EndEdit method
Jump to PostCould we see your save code?
Jump to PostYeah DGV is a heavy beast.
All 10 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
Minimalist
96
Posting Pro
Minimalist
96
Posting Pro
ddanbe
2,724
Professional Procrastinator
Featured Poster
tinstaafl
1,176
Posting Maven
Minimalist
96
Posting Pro
Minimalist
96
Posting Pro
ddanbe
2,724
Professional Procrastinator
Featured Poster
Minimalist
96
Posting Pro
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.