Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.
Dim ctrlname As String = Page.Request.Params.Get("__EVENTTARGET") Dim cntControl As Control = Nothing Dim strID As String = "" Dim lbtn As LinkButton = Nothing If Not (ctrlname Is Nothing) And (ctrlname <> String.Empty) Then cntControl = Me.Page.FindControl(ctrlname) lbtn = DirectCast(cntControl, LinkButton) If lbtn.CommandName = "AddRow" Then response.write("Add clicked") ElseIf lbtn.CommandName = "Delete" Then response.write("Delete clicked") Else response.write("Something Else triggered") End If Else response.write("No control was triggered") End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.