Author: idk | Posted on: 4/14/2009 5:14:10 AM | Views : 414

hi guys,

i need to generate a category report that calculates the percentage of the tickets whereby the ticketstatus are closed and opened.     

I have to get the percentage of opened tickets by:

(number of open tickets/total number of tickets) * 100

with that, i came up with a function in the class

below is the code:

   Public Function DBSelect_TicketCategoryOpen() As DataTable
            Dim local_dbConn As New SqlConnection
            Dim local_sqlCommand As New SqlCommand

            local_dbConn = db_conn.DBConn
            local_sqlCommand.Connection = local_dbConn

            l ...

Go to the complete details ...