Hello all, I have used ASP Classic for many years but am new to asp.net and cannot figure out what should be a relatively simple problem. I am hopefull you can help.
I have a datagrid bound to a dataset.
I have the first column as a hyperlink column showing the Department name and using DataNavigateUrlField passing the department ID to the next web page. This works fine in that I get a link like this:
webform2.aspx?pk_Department=3
I would like to pass the Department name along with the ID to the next page to give me the following link:
webform2.aspx?pk_Department=3&department=Finance
Is there a way to have more than one parameter in the querystring?
Is there a better way to get data from one page to another in asp.net?
any help would be appreciated
bassguy
I have a datagrid bound to a dataset.
I have the first column as a hyperlink column showing the Department name and using DataNavigateUrlField passing the department ID to the next web page. This works fine in that I get a link like this:
webform2.aspx?pk_Department=3
I would like to pass the Department name along with the ID to the next page to give me the following link:
webform2.aspx?pk_Department=3&department=Finance
Is there a way to have more than one parameter in the querystring?
Is there a better way to get data from one page to another in asp.net?
any help would be appreciated
bassguy