Error in datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diggs007
    New Member
    • Mar 2008
    • 4

    Error in datagrid

    Hi All,
    I am using datagrid on NET 2.0. While loading the grid it oftens shows me message

    "There is no original data to acess".

    It has become very annoying as after so many efforts i have not been able to resolve it.

    Any suggestions will be very helpful.

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

    #2
    Use a DataGridView instead of DataGrid.

    Comment

    • diggs007
      New Member
      • Mar 2008
      • 4

      #3
      Originally posted by Plater
      Use a DataGridView instead of DataGrid.
      Hi thanks for you reply!

      Sorry i mentioned wrongly i did used datagridview control.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Originally posted by diggs007
        Hi thanks for you reply!

        Sorry i mentioned wrongly i did used datagridview control.
        Hmm, how are you populating the datagridview? What code are you using that is related to the action?

        Comment

        • diggs007
          New Member
          • Mar 2008
          • 4

          #5
          Originally posted by Plater
          Hmm, how are you populating the datagridview? What code are you using that is related to the action?
          Hi There,
          Actually the code is quite complex but if i can understand what causes this problem. i mean what kind of operation leads to this kind of error then i may be able to figure it out.

          Because everywhere i read it was like this results when we try to change the underlying dataset, and then tries to read the original value. Which i have checked and is not applicable in my case.

          Comment

          • kenobewan
            Recognized Expert Specialist
            • Dec 2006
            • 4871

            #6
            Sounds like a problem updating your dataset. How about a full error message, line and error number, and code immediately prior to this. If you type slowly I'm sure we'll understand :).

            Comment

            Working...