Reputation: 25701
I have this input in my web form:
<input type="text" id="keywordSearch" value="Keyword" runat="server" />
How do I get this data into there (it's from my Page_Load):
string keywords = "This is my keywords!";
Thanks!
Upvotes: 0
Views: 1021
Reputation: 88044
Missed the part about it being a regular HTML control:
keywordSearch.Value = keywords;
Upvotes: 4