add field to query string

This example shows how to add fields to query string of the Hyperlink column. When the value of field needs to be passed to another page, it has to be added to the query string.

Pick a Theme:

Products 
ProductID AscendingProductNameCategory Name
QuantityPerUnitUnitPriceUnitsInStockDiscontinued 
1ChaiBeverages10 boxes x 20 bags$18.0040
2ChangBeverages24 - 12 oz bottles$19.0017
3Aniseed SyrupCondiments12 - 550 ml bottles$10.0013
4Chef Anton's Cajun SeasoningCondiments48 - 6 oz jars$22.0053
5Chef Anton's Gumbo MixCondiments36 boxes$21.350
6Grandma's Boysenberry SpreadCondiments12 - 8 oz jars$25.00120
7Uncle Bob's Organic Dried PearsProduce12 - 1 lb pkgs.$30.0015
8Northwoods Cranberry SauceCondiments12 - 12 oz jars$40.006
9Mishi Kobe NikuMeat/Poultry18 - 500 g pkgs.$97.0099
10IkuraSeafood12 - 200 ml jars$31.0031
1 - 10 / 95 RecordsPage / 10 

  Design   Source  
  1. Open DataForm.NET Manager. In DataForm.NET List page, choose Products by clicking the link.
  2. In the DataForm.NET Designer on the right hand side, switch to GridForm tab.
  3. Have a look at the ProductName field which is a Hyperlink Column. Click ProductID hyperlink to bring up a GridForm Fields Designer window.
  4. In the opening window, please have a look at the Link URL and Target attributes. If the checkbox is checked, the field will be added to query string(It's checked by default if the field is the primary key). The Name textbox shows the corresponding key in the query string. Default, it's the field name. You can change it to another key if receiving page requires different key. If you want to pass a constant value, enter that constant value in the Value textbox.
  • Click HERE to open up a READ ONLY DataForm.NET Manager.
  • Click HERE to try for yourself.