Delete Session Record using C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spy27kid
    New Member
    • Oct 2007
    • 1

    Delete Session Record using C#

    Hi,

    I'm Alex Mark. I have face a problem in using C#. Hope anyone can help me.

    I want use C# to delete the session record.

    The session will look like the grid view.

    So when I click the remove button, it will help me remove the session record.

    Session record means record not save in the database, the record just save in the memory. When stop run the interface, the record that just now add in grid view will disappear.


    Thank You,

    Yoour Sincerely,
    Alex Mark
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Have you tried using session.end()?

    Comment

    • Munawar
      New Member
      • May 2007
      • 12

      #3
      Originally posted by spy27kid
      Hi,

      I'm Alex Mark. I have face a problem in using C#. Hope anyone can help me.

      I want use C# to delete the session record.

      The session will look like the grid view.

      So when I click the remove button, it will help me remove the session record.

      Session record means record not save in the database, the record just save in the memory. When stop run the interface, the record that just now add in grid view will disappear.


      Thank You,

      Yoour Sincerely,
      Alex Mark
      Hi,

      If you are using a datatable as datasource to Datagrid.. then you can update database on the base of data which in the table because that is not edited. as you have not yet called DataTable.Accep tchanges (which commits changes to datatable)
      Thanks
      Munawar

      Comment

      Working...