Author: kjp6uk3 | Posted on: 11/20/2008 8:28:44 AM | Views : 308

Hi
I have a long database insert/update sub routine with an example below.  I want to use this in several parts of my site without having to copy and paste it each time :)  I am not sure how I can reuse it with the specific inserts and details shown below. Is it possible, if it is in the code behind of a page to access just this sub from another page or control?
Thanks in advance.
Kevin 
===================================================== 
Sub ButtonContinue_Click(ByVal sender As Object, ByVal e As EventArgs)
                   
        'get current date     
        dtmDateNow = DateTime.Now()
       
        strConString = WebConfigurationMana ...

Go to the complete details ...