Previous in Forum: Recover Lost Outlook Data   Next in Forum: DownloadHelper Not Working in Latest Firefox
Close
Close
Close
Rate Comments: Nested
Active Contributor

Join Date: Sep 2012
Posts: 13

Visual Studio Connectivity PRoblem

02/27/2015 10:40 AM

Friends

I am working for my project in VIsual Studio Ultimate 2010 with SQL Server 2008. My project is about asp.net using C# for connectivity

For me COnnectivity works in the morning and i updated my tables using my code. But after restarting my OS in VMWare its not working even i cant trigger any button in that asp page.

My Coding for Connectivity is

SqlConnection con = new SqlConnection(@"Data Source=WINDOWS32BIT-PC\SQLEXPRESS;Initial Catalog=Userdetails;Integrated Security=True");

SqlCommand cmd;

con.Open();

cmd = new SqlCommand("insert into NewEntryTable values('" + tbname.Text + "','" + tbregisteremailID.Text + "','" + rbgender.SelectedItem.Text + "','" + tbcontactnumber.Text + "' ,'" + tbDOB.Text + "','" + tbnewno.Text + "','" + tboldno.Text + "','" + tbstreet.Text + "','" + tbarea.Text + "','" + tbdistrict.Text + "','" + tbpincode.Text + "','" + tbregisterpassword.Text + "')", con);

cmd.ExecuteNonQuery();

con.Close();

i tried Rebuilding PRoject and Rebuilding that page. Nothing Works. Please Help me

I am in hurry.. Thanks in Advance..

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#1

Re: Visual Studio Connectivity PRoblem

02/27/2015 6:26 PM
__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Register to Reply

Previous in Forum: Recover Lost Outlook Data   Next in Forum: DownloadHelper Not Working in Latest Firefox

Advertisement