Datagridview wont load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sl1ver
    New Member
    • Mar 2009
    • 196

    Datagridview wont load

    I've created a datagridview on my one table. i linked it up to the database(access ) and followed all the instruction. ive got lines in the db but when i run the program it wont show.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What kind of code do you have?
    Does the compiler give any warnings?

    Comment

    • Sl1ver
      New Member
      • Mar 2009
      • 196

      #3
      I dont have any code, everything is generated my visual studio. all i did was insert a new datagrid and then it asked me to choose a source for it, and everything followed, didn't use any code with it

      Comment

      • semomaniz
        Recognized Expert New Member
        • Oct 2007
        • 210

        #4
        Are you passing in the right criteria ? Your data grid might be working but query might not be returning any data to display.

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          Everything VS creates for you should put code somewhere, its just a matter of finding it

          Comment

          • Sl1ver
            New Member
            • Mar 2009
            • 196

            #6
            i changed the connection string it said |Directory Path| and i changed it to C:\, now my data doesn't want to insert(did work before i changed the dataset string)

            Comment

            Working...