query string - querystring to a hyperlink in vb.net or maybe another solution -
I'm new to vb.net I have two ASPX pages I have with I already pre-populated with a SQL Server backend There is a table with the result. Firstly, "Firstname" keeps me hyperlinking, so when I click on it, it should get the second ASPX page and all the data for that "firstname" should be displayed in the SQL server. Data on the first name is on 3 other tables, which is phone, address and hobby. Then -
First name Samuel - & gt; Redirect it to another page - Samuel - Phone Address Interests 3104445656 123 Main St. Climbing
Please tell me whether I need a query string or a second solution (better solution). How can I capture a query string in another page?
Which link (href) can you run secondpage.aspx in code for the second page? Firstname = Samuel
and you can recover this value again by request. JQuerystring ("firstname"). But there are other ways to do this with webforms and postback after receiving the selected first name (primarily in a variable) you can use it for whatever data retrieval methods you want.
In addition, I would actually recommend using the name as a key in my database, if there is an experiment to know it, I think that does not make any difference to it, but Secondly, you want to run two people named "John" in your database in a hassle.
Comments
Post a Comment