Inserting new record to database.

Hi,

I am new to AX,

I have a requirement to insert new record in the Database.
Iam developing a new thing like HelpDesk in AX.

  1. I have created a table HD_TicketDetails in AOT
  2. I have created a Usercontrol in VS 2008 and added it to AX.
  3. I have create a WebPartPage in EP and attached the user control to the WebParatPage.

till know it’s ok, But i don’t know how to save the data to Database with button click.

Please can any one let me know how to do it.

Thanks
Hari Krishna