| | |
Seperators in DataGridView
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2008
Posts: 16
Reputation:
Solved Threads: 1
I have a datagridview on a form I want to conditionally insert a seperator between rows.
So I want to compare the value of the users column with the one above it and insert a seperator.
Anyone have any thoughts?
VB.NET Syntax (Toggle Plain Text)
For iRow = 1 To dgvUserlist.rowcount If dgvUSERLIST.Item("USER", iRow).Value <> dgvUserlist.Item("USER", iRow - 1).Value Then dgvUserlist.Rows.Add(iRow) [b] DO STUFF HERE[ /B] End If Next
Anyone have any thoughts?
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Help with VB.NET Chat Application Interface
- Next Thread: INSERT INTO statement
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array basic binary bing button buttons center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist excel file-dialog firewall folder ftp google hardcopy image images insert isnumericfuntioncall listview login math memory mobile ms navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print problemwithinstallation project reports" save savedialog searchbox serial server soap sql string table tcp text textbox timer toolbox trim update updown upload useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf





