Posted on: 9/18/2012 1:38:31 AM | Views : 263

Hello i am trying to create a pop up after a user done entering his id code. but when he  press the buttoin, whether his a member or not the pop up "you've join" will appear. So i am trying to place this script in my .aspx.cs. Is it possible?
this is my .aspc.cs:
<script> function myFunction() { alert("You have successfully become a member!"); } </script> <asp:Button ID="button" runat="server" OnClick="Button1_Click" OnClientClick="myFunction()" Text="Click" /> How can i place that script into this if else function? protected void Button1_Click(object sender, EventArgs e) { con.Open(); cmd = new OleDbCommand("select * from Table1 where member='" + id.Text + "'", con); da = new OleDbDataAdapter(cmd); da.Fill(dt); if (dt.Row ...

Go to the complete details ...