Click here to Skip to main content
15,912,665 members

Comments by Nikunj Pandav (Top 4 by date)

Nikunj Pandav 13-Sep-16 8:13am View    
DataTable dt = new DataTable();
// Fill dt

//Store dt in Viewstate
ViewState["myTable"] = dt;

// Access dt back from viewstate
DataTable dt2 = (DataTable)ViewState["myTable"];
Nikunj Pandav 20-Jul-16 5:19am View    
ohhhhh tnx mitrooo
Moz aavi gai hooo Ha Ha Ha
Nikunj Pandav 20-Jul-16 5:16am View    
<asp:textbox id="txtAmount4" xmlns:asp="#unknown" onkeyup="calc() ;"
runat="server" Width="56px" Height="13px">

then replace every line of
a1=document.getElementById(<%='txtAmount1'%>).value;

with
a1=document.getElementById("<=txtAmount1.ClientID>").value;
Nikunj Pandav 20-Jul-16 5:16am View    
<asp:textbox id="txtAmount4" xmlns:asp="#unknown" onkeyup="calc() ;"
runat="server" Width="56px" Height="13px">

then replace every line of
a1=document.getElementById(<%='txtAmount1'%>).value;

with
a1=document.getElementById("<=txtAmount1.ClientID>").value;