Ask a Question related to ASP.NET General, Design and Development.
-
tzahi2010 #1
Help with Sql Server
this is my code:
and it doesnt get registeredCode:SqlDataAdapter da = new SqlDataAdapter(); SqlConnection sqlcon = new SqlConnection(@"Data Source=TZAHI-PC\SQLEXPRESS;Initial Catalog=RegisterDb;Integrated Security=True"); DataBinder ds = new DataBinder(); sqlcon.Open(); SqlCommand sqlcmd = new SqlCommand("INSERT INTO Table1 (username, password, repassword, email, reemail , name , age) VALUES (@username,@password,@repassword,@email,@reemail,@name,@age)"); sqlcmd.Parameters.AddWithValue("@username", usernametb.Text); sqlcmd.Parameters.AddWithValue("@password", passtb.Text); sqlcmd.Parameters.AddWithValue("@repassword", rpasstb.Text); sqlcmd.Parameters.AddWithValue("@email", emailtb.Text); sqlcmd.Parameters.AddWithValue("@reemail", remailtb.Text); sqlcmd.Parameters.AddWithValue("@name", nametb.Text); sqlcmd.Parameters.AddWithValue("@age", agetb.Text); sqlcmd.Connection = sqlcon; sqlcmd.ExecuteNonQuery(); sqlcon.Close();
u know why?
Junior Member
- Join Date
- Oct 2011
- Posts
- 1
-
I have a flash movie running a http server but it needsto connect to another server in https.
I have a flash movie running a http server but it needs to connect to another server in https. I am having problems when trying to open the url in... -
I have a flash movie running a http server but it needsto connect to another server in https
I have a flash movie running a http server but it needs to connect to another server in https. I am having problems when trying to open the url in... -
deploying from Windows 2003 staging server to remote production server
What do you guys use to deploy from your staging servers to your remote production servers in team environments? Normally I FTP the files myself,... -
error while installing on-board NIC on Proliant 1600 server in SCO Open Server 5.0.5
dear all, While installing the EFS, when I configure the TCP/IP then i get the messages while relinking the kernel. i encountered the message... -
SQL Server 2000, Exchange, COM-Add in for Outlook XP; Dynamically link ACCESS xp & SQL SERVER???
Can SQL Server 2000 manage the contacts in Exchange? Is there any connectivity between SQL Server and Outlook XP? Furthermore, can SQL Server...



Reply With Quote

