DataGrid throws System.InvalidOperationException

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sudhivns
    New Member
    • Nov 2007
    • 52

    DataGrid throws System.InvalidOperationException

    Hi,

    I was just trying to roll b/w row 1 and row 2 without adding any data. An System.InvalidO perationExcepti on thrown.

    http://support.microso ft.com/?scid=kb;en-us;936199
    http://forums.microsof t.com/MSDN/ShowPost.aspx?P ostID=2377996&S iteID=1

    same exception occured with .NET 2.0 SP1 & SP2 and .NET 3.0 .

    Any help !@#$

    Thanks.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Why are you using DataGrid in .NET2.0+?
    You should be using the DataGridView object instead.

    However, if you would like more information about you errors, please post the offending lines of code.

    Comment

    Working...