开发者

Passing data to a web from from a aspx.cs file in ASP.NET

开发者 https://www.devze.com 2023-03-28 01:36 出处:网络
I have this开发者_如何学Python input in my web form: <input type=\"text\" id=\"keywordSearch\" value=\"Keyword\" runat=\"server\" />

I have this开发者_如何学Python 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!


Missed the part about it being a regular HTML control:

keywordSearch.Value = keywords;
0

精彩评论

暂无评论...
验证码 换一张
取 消