Datagridview in Visual Studio 2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • godhulirbalaka
    New Member
    • Oct 2007
    • 26

    Datagridview in Visual Studio 2005

    Hello sir,

    I have a datagridview in a form with few items. There is 4 columns. ID, Name, TotalPrice, PaidPrice.

    In the number 4 column there is no data. Now i want to enter data for each items in that column manually. when i will click any specific row and that column then there will be the cursor point and the amount i will type it will be there.

    Another is Serial number. There is a fixed colum for each row means the first colum wherer the rows arrow shows. I want that there will be the serial number means if there is 5 row then the serial number will show in that column i.e. 1, 2, 3, ....


    how can i set it. please help me
  • mohitpande
    New Member
    • Jun 2008
    • 3

    #2
    edit item template and edit template for your grid

    Comment

    • godhulirbalaka
      New Member
      • Oct 2007
      • 26

      #3
      I dont understand clearly. please explain in details

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Originally posted by godhulirbalaka
        I dont understand clearly. please explain in details
        Use edit item template. If you are unsure how to this check out MSDN.

        Comment

        • godhulirbalaka
          New Member
          • Oct 2007
          • 26

          #5
          DatagridView in VS 2005

          Hello sir,

          I have a datagrid in a form with 4 column and a database table in access 2000 with 3 field.

          Now i want to set those 3 field in the datagrid 3 column and in the 4th column i want to make the cells edible. that means there is no data and i can enter data manually by typing

          how can i do this??????

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Originally posted by godhulirbalaka
            Hello sir,

            I have a datagrid in a form with 4 column and a database table in access 2000 with 3 field.

            Now i want to set those 3 field in the datagrid 3 column and in the 4th column i want to make the cells edible. that means there is no data and i can enter data manually by typing

            how can i do this??????
            Please do not double post your question.
            This behaviour breaks the Posting Guidelines' rule on Not Posting Duplicate Questions.

            -Moderator Frinny

            Comment

            Working...