Advertisement
Advertisement
| 05.09.2008 at 02:29AM PDT, ID: 23388748 | Points: 500 |
|
[x]
Attachment Details
|
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.09.2008 at 02:35AM PDT, ID: 21531326 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
Protected Sub btnCancelClass_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancelClass.Click
Dim con As New SqlConnection(ConnectionStrings("dev").ConnectionString)
Dim cmd As New SqlCommand("sp_cancelClass", con)
cmd.CommandType = CommandType.StoredProcedure
Dim pClassID As SqlParameter = cmd.Parameters.AddWithValue("@classID", txtClassID.Text pClassID.Direction = ParameterDirection.Input
Try
con.Open()
cmd.ExecuteNonQuery()
Catch ex As Exception
Dim objLE As New JCBSecurity
objLE.logEntry(ex.Message, Request.Cookies("userid").Value, "btnCancelClass_Click", "", "", "", "")
Finally
con.Close()
End Try
End Sub
|
| 05.09.2008 at 02:54AM PDT, ID: 21531384 |
| 05.09.2008 at 02:58AM PDT, ID: 21531394 |
| 05.09.2008 at 03:10AM PDT, ID: 21531446 |
| 05.09.2008 at 03:14AM PDT, ID: 21531460 |
| 05.09.2008 at 03:19AM PDT, ID: 21531474 |
| 05.09.2008 at 03:29AM PDT, ID: 21531503 |
| 05.09.2008 at 03:46AM PDT, ID: 21531566 |
| 05.09.2008 at 03:49AM PDT, ID: 21531575 |