I have made a ASP.net (aspx) website but need help to populate the textbox using the URL so I can send the URL to someone else and when they click/open the link the textbox is already filled out.
<asp:TextBox ID="txtMessages" runat="server" Width="300px"></asp:TextBox>
string strMessage = txtMessages.Text;
Something like this -
http://localhost/TextInput.aspx?txtMessages=HelloWorld
So when the link is pressed the txtMessages textbox already has HelloWorld inserted into it.
I think the URL format would be something like that but it doesn't work.