Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.Data.SqlClient
- Imports System.Reflection.MethodBase
- Public Class Form1
- ' Variables Globale pour la feuille
- Dim DR As SqlDataReader ' Un Seul
- Dim cn As SqlConnection ' Une seule
- Dim comRech As SqlCommand ' Plusieurs
- Public methodName
- Private Sub cmdNouveau_Click(sender As Object, e As EventArgs) Handles cmdNouveau.Click
- 'methodName = System.Reflection.MethodBase.GetCurrentMethod().Name
- methodName = GetCurrentMethod().Name
- MsgBox(methodName)
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement