Use the link to DataGrid.

xiaoxiao2021-03-06  43

Recently, I have made such a thing, that is, in the DataGrid displays the corresponding information according to the query condition, then set a link on a list. When the user clicks on this link, transfer to another edited page, and put the current link The value is passed to the corresponding page. Maybe this is not a difficult thing to some masters, but I really thought for a while, in order to let friends who are almost like me to go less, give a method.

As shown in the figure above, this is a property setting of DataGrid, I believe everyone will not be unfamiliar. Focus is setting "

URL FORMAT STRING: "

Item, such as I set it as poentry.aspx? Refresh = y & cntrno = {0}, I think the most worthwhile is this {0}, it represents the quad column of DataGrid. If it is {1} The value of the PO column.

转载请注明原文地址:https://www.9cbs.com/read-57003.html

New Post(0)