delete button in Windows based application, help me plz

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AishaKhalfan
    New Member
    • Apr 2007
    • 23

    delete button in Windows based application, help me plz

    Hi all,


    I am doing a Library Management System by using VB2005. Net. I’m facing a problem which is deleting record from grid view. The application is Windows based.

    I have delete button and on this button I would like to delete the record that user choice.

    Kindly, can somebody help me one this. I will appreciate any help.


    I’m looking forward to answering my post.


    Thank you
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    This question is being moved to the .NET forum.

    ADMIN

    Comment

    • AishaKhalfan
      New Member
      • Apr 2007
      • 23

      #3
      Hi Admin


      Sorry for not putting the post under appropriate link. This is because it’s my first login to this wonderful website


      Thanks & Regards,

      Aisha

      Comment

      • MMcCarthy
        Recognized Expert MVP
        • Aug 2006
        • 14387

        #4
        Originally posted by AishaKhalfan
        Hi Admin


        Sorry for not putting the post under appropriate link. This is because it’s my first login to this wonderful website


        Thanks & Regards,

        Aisha
        No problem Aisha. Thanks for the reply.

        Comment

        • JSha
          New Member
          • Apr 2007
          • 17

          #5
          Originally posted by AishaKhalfan
          Hi all,


          I am doing a Library Management System by using VB2005. Net. I’m facing a problem which is deleting record from grid view. The application is Windows based.

          I have delete button and on this button I would like to delete the record that user choice.

          Kindly, can somebody help me one this. I will appreciate any help.


          I’m looking forward to answering my post.


          Thank you
          Hello,
          To delete one row at a time...you will have to add a template column which has a delete link button to it....

          then recognize that the link button is clicked by using itemcommand event and then doign a small script to delete the row....

          have a look at
          A data bound list control that displays the items from data source in a table. The DataGrid control allows you to select, sort, and edit these items.


          it describes a list of datagrid events....

          hopefully this helps in some way...

          -JSha
          I hear and I forget. I see and I remember. I do and I understand.

          Comment

          • AishaKhalfan
            New Member
            • Apr 2007
            • 23

            #6
            Dear all,

            I would like to thank all who posted replay to my message. I solved a problem, so please tell me if any one needs the code

            Regards,

            Aisha

            Comment

            Working...