Click here to Skip to main content
15,888,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: FREE Password Hash Library Pin
Richard MacCutchan11-Apr-13 0:51
mveRichard MacCutchan11-Apr-13 0:51 
GeneralRe: FREE Password Hash Library Pin
AmitGajjar15-Apr-13 2:39
professionalAmitGajjar15-Apr-13 2:39 
Questionembed logo image in email Pin
Jassim Rahma10-Apr-13 23:30
Jassim Rahma10-Apr-13 23:30 
AnswerRe: embed logo image in email Pin
Richard MacCutchan11-Apr-13 0:50
mveRichard MacCutchan11-Apr-13 0:50 
AnswerRe: embed logo image in email Pin
Blikkies11-Apr-13 0:56
professionalBlikkies11-Apr-13 0:56 
Questionresponse.redirect ()doesnt work Pin
sara-setare10-Apr-13 4:33
sara-setare10-Apr-13 4:33 
AnswerRe: response.redirect ()doesnt work Pin
dusty_dex10-Apr-13 4:49
dusty_dex10-Apr-13 4:49 
GeneralRe: response.redirect ()doesnt work Pin
sara-setare10-Apr-13 6:03
sara-setare10-Apr-13 6:03 
thank you so much
I think that you are right;
I undrestood that the problem is in another file in my "add new user.aspx" file,in that I add a new user into my table but I think it doesnt work correctly,it doesnt add any row to my table,I dont know why?
this is my code in "add new user" file:
XML
protected void  CreateUserWizard1_CreatedUser(object sender, EventArgs e)
{
System.Data.SqlClient.SqlConnection con = new System.Data.SqlClient.SqlConnection();
       string connectionstr=@"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\EHSAN\Documents\Visual Studio 2010\Projects\The Club\The Club\App_Data\Database1.mdf;Integrated Security=True;User Instance=True";
       con.ConnectionString=connectionstr;
       string sqlstring;
       sqlstring ="insert into Authenticate (username,password)VALUES ("+ CreateUserWizard1.UserName+","+CreateUserWizard1.Password+")";
       System.Data.SqlClient.SqlCommand objcommand = new System.Data.SqlClient.SqlCommand(sqlstring, con);
       Response.Redirect("~/Login.aspx");
}
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="server">
<asp:CreateUserWizard ID="CreateUserWizard1" Runat="server"
        oncreateduser="CreateUserWizard1_CreatedUser">
</asp:CreateUserWizard>
</asp:Content>

plz help me!
thank you...
GeneralRe: response.redirect ()doesnt work Pin
dusty_dex10-Apr-13 6:26
dusty_dex10-Apr-13 6:26 
Questionchange notification in asp mvc Pin
alireza173510-Apr-13 0:39
alireza173510-Apr-13 0:39 
QuestionSMTP Email not delivert to receipient, back to sender Pin
AbidHussain1289-Apr-13 23:35
AbidHussain1289-Apr-13 23:35 
AnswerRe: SMTP Email not delivert to receipient, back to sender Pin
Bernhard Hiller10-Apr-13 0:05
Bernhard Hiller10-Apr-13 0:05 
GeneralRe: SMTP Email not delivert to receipient, back to sender Pin
AbidHussain12810-Apr-13 1:38
AbidHussain12810-Apr-13 1:38 
Questionvbscript do not work on windows 2003. Pin
buffering839-Apr-13 22:18
buffering839-Apr-13 22:18 
AnswerRe: vbscript do not work on windows 2003. Pin
Garth J Lancaster9-Apr-13 22:39
professionalGarth J Lancaster9-Apr-13 22:39 
GeneralRe: vbscript do not work on windows 2003. Pin
dusty_dex10-Apr-13 2:09
dusty_dex10-Apr-13 2:09 
AnswerRe: vbscript do not work on windows 2003. Pin
dusty_dex10-Apr-13 2:12
dusty_dex10-Apr-13 2:12 
QuestionScroll panel automatically to the node selected in a treeview. Pin
VishwaKL9-Apr-13 18:29
VishwaKL9-Apr-13 18:29 
AnswerRe: Scroll panel automatically to the node selected in a treeview. Pin
VishwaKL9-Apr-13 22:21
VishwaKL9-Apr-13 22:21 
QuestionIssues with show popup when paging in mvc Pin
tuannguyenf49-Apr-13 8:14
tuannguyenf49-Apr-13 8:14 
Questionhow to decrypt password? Pin
Jassim Rahma9-Apr-13 4:11
Jassim Rahma9-Apr-13 4:11 
AnswerRe: how to decrypt password? Pin
Richard Deeming9-Apr-13 4:27
mveRichard Deeming9-Apr-13 4:27 
GeneralRe: how to decrypt password? Pin
R. Giskard Reventlov9-Apr-13 8:51
R. Giskard Reventlov9-Apr-13 8:51 
GeneralRe: how to decrypt password? Pin
Jassim Rahma11-Apr-13 0:02
Jassim Rahma11-Apr-13 0:02 
Questionmvc3 razor Pin
pooja_verma9-Apr-13 2:07
pooja_verma9-Apr-13 2:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.