i hope to data in table to winform datagridview.
here's the working code
<body>
<form name="form1" method="post" action="CallOpen.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/w~~~~==" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
other aspx
<iframe frameborder="0" id="ifrmmain" class="mainiframe" scrolling="auto" style="display: inline;" src="/Category/Service/Call/CallOpen.aspx">
#document
<html ~~~>
<head> ~~~ />
<body>
<form name="form1" meothd="post" action="~~~" id="form1">
<div id="content">
</div>
</form>
</iframe>
i just show that iframe data in my winform.