Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Simple Ticketing system

    Hi, I'm trying to create a simple ticketing system with ASP.NET MVC (C#) as a first project (seems simple enough I guess).

    I followed this tutorial from Microsoft's http://www.asp.net/mvc/tutorials/get...o-aspnet-mvc-3 And used it to create a page where customers can be added

    Now that I have a simple system to add and edit customers, I need to be able to 'create a ticket' for a customer. I figured I'd do the same thing, just for tickets, but that just gets me a page to create customers and a page to create tickets, but no way to 'link' a ticket to a customer/customer ID

    I want to be able to 'create a ticket' from the customer details page.

    I'm sure this is very very simple to do, I'm just new to it and I've been googling for days without finding what i need. I just need pointed in the right direction so i can take that and run with it

    Thanks in advance if you can help me!

  • #2
    New Coder
    Join Date
    Jul 2012
    Location
    Bug Tracking, Isssue Tracking
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, this is very simple. You can simply pass customerid via querystring like
    CreateTicket.aspx?CustomerID=5

    And then in ticket add page, just set this querystring customerid as default customer id.

    To get customer id passed in query string
    CustomerID = Request("CustomerId")

    Thanks

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Awesome, i'm trying it now to see if I can get something to work. Do I need to do anything with the databases? Thanks again!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •