Waiting for localhost, forever!

I have a gridview on my homepage with a view and an edit link that use query strings to display table data in read-only and editable pages, respectively. I get no error messages from my code, it’s simple enough that it doesn’t seem to be missing anything, but when I try to debug or view in browser, I get the permanent pinwheel on my status bar and the message “waiting for localhost”. What am I missing? Does anyone out there have some experience with this particular issue? I’m using C# and ASP.NET in visual studios with sql server 2008.

What exactly does cmd.ExecuteNonQuery() do in my program

string connection = "Provider=Microsoft.JET.OLEDB.4.0;Data Source=D:\it101\LoginForm\App_Data\registration.mdb"; string query = "INSERT INTO [registration] ([UserID] , [Name] , [Contact_no] , [City]) values (123, 'abc' ,12345, 'pqr')"; OleDbConnection con = new OleDbConnection(connection); OleDbCommand cmd = new OleDbCommand(); cmd.CommandText = query; cmd.CommandType = CommandType.Text; cmd.Connection = con; con.Open(); cmd.ExecuteNonQuery(); And what if i do not write cmd.ExecuteNonQuery() at the end … Read more

How to debug Web Service?

I am using visual studio and I have asp.net application as one project and a web service as another project.I am using web service in my asp.net application. There is some sort of problem im my webservice code.But i am unable to debug continuosly from asp.net application to web service.I put break point both in … Read more