Click here to Skip to main content
15,921,548 members

Comments by Member 12954126 (Top 15 by date)

Member 12954126 6-Mar-17 4:27am View    
it showing invalid arguments in string.Join function
Member 12954126 27-Feb-17 0:49am View    
I found the error in my code, that was i can't write two statements using comma(,) or can't use slace(/) in that script...
Member 12954126 27-Feb-17 0:23am View    



<asp:ScriptManager ID="ScriptManager1" runat="server">




Member 12954126 27-Feb-17 0:22am View    
da2 = new SqlDataAdapter(cmd2);
ds2 = new DataSet();
da2.Fill(ds2);
int res_2 = Convert.ToInt32(ds2.Tables[0].Rows[0]["flag"].ToString());
string res2_2 = ds2.Tables[0].Rows[0]["Action_Status"].ToString();
if ((res_2 == 1) && (res2_2 == "Approved by circleadmin"))
{
//ScriptManager.RegisterStartupScript(this, this.GetType(), Guid.NewGuid().ToString(), "alert('Already Approved Done by another Circle Admin!!!');", true);
Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "alert('Action already taken on this mail, you can't approve/reject!!!');");
}
Member 12954126 27-Feb-17 0:18am View    
i have used ScriptManager but its not working