开发者

Get HTML Element Data with PostBack on an ASP.NET Page

One site would take data from the site var. C# PostBack method.But when the page's source code as submitted does not renewed开发者_C百科. Object Can not Be Coming Referanced error. So I do post but the page refresh itself. This post has been displayed next to new data coming from the user how can I get?


I can't follow your question, but your title makes it sound like you want to get the data from an HTML form element on a post back in C#. To do that, all you have to say is

Request["myElement"]

if you have an HTML element defined as

<input name="myElement" ...
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜