Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET DevExpress
I want to read every row of a devexpress gridviw
Posted 20-Jan-12 18:31pm
Edited 24-Jan-12 23:27pm
ambarishtv10.5K
v2
Comments
SAKryukov at 21-Jan-12 1:36am
   
Then read those rows -- you got my permission. By the way, do you have any questions? If so, don't hesitate to ask. :-)
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It is possible for a normal gridview but how can it posible devexpress gridview
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

try this
       For i As Integer = 0 To GridControl1.MainView.RowCount - 1
          GridControl1.MainView.GetRow(i)
       Next
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

Hi,
try this
 
Iterating through all rows of an ASPxGridView
http://www.devexpress.com/Support/Center/p/Q93718.aspx[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

   For i As Integer = 0 To GridView2.DataRowCount - 1
                With GridView1
                    If .GetRowCellValue(i, "GridColumn1") = True Then
                        BillDetailsTableAdapter.Insert(lastValue, .GetRowCellValue(i, "OutwardDcId"))
                    End If
                End With
            Next i
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 322
1 Nirav Prabtani 268
2 _Amy 170
3 Mika Wendelius 165
4 Richard Deeming 155
0 Nirav Prabtani 265
1 OriginalGriff 177
2 _Amy 170
3 Mehdi Gholam 105
4 Maciej Los 90


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 15 Jan 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100