PROBLEM IN GETTING TEXT PROPERTY FOR SENDER OBJECT

Total Post:11

Points:77
VB.Net 
 2063  View(s)
Ratings:
Rate this:
how we get the text property of sender in vb.net?

  1. Post:103

    Points:721
    Re: problem in getting text property for sender object

    hi, mahesh
    check this code

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)Handles Button1.Click
            Dim btnTest As Button = sender
            Dim strBtnText As String = btnTest.Text
        End Sub

      Modified On Mar-29-2018 03:48:11 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!