In the following tutorial, I will show you different techniques you can use to display command buttons in Grid View. Command Name Dim current Row Index As Integer = Int32. For this tutorial I am using Microsoft famous sample database Northwind. Also make sure you are setting Grid View Data Key Fields property to the Primary Key column of the Product Table such as Product ID. I created a custom event that I want to fire during a "submit" transition in my workflow.I followed the instructions in the "How to create a custom event in JIRA" page however the event is not firing. created new velocity template called and saved in html, subject, and text folders 2. updated the workflow defining a post function to fire the new event 6.
Text = "Product ID: " & Product ID End Sub The code did not work.. I fixed the syntax mistakes and it didnt work still. Now how do you get the those buttons to display data when clicked?
Net Grid View Add (Insert), Edit, Update and Delete functionality, but this is different and how I’ll explain as we progress.
My main objective in this article is to keep it simple and cover multiple aspects in one article.
Grid View control Row Command event will give you the Product ID of the product from the Grid View Rows when user will click any of the button in the Grid View. To handle click event of the buttons in Grid View you need to handle Row Command event of the Grid View control.
Following code will show you how you can get Row Index, Product ID and Command Name of the button when user click any button in the Grid View.