I have html page i want to save data into the sql table using javascript below is my code but my data is not saving i am not getting any exception , how to check weather the connection is working properly or not
----------------------
style="font-size: x-large; font-weight: bold; height: 298px; color: #009999;">
Insert Employee Record
Employee Id
Name
Salary
City
---------------------
My table contains
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Emp_Info](
[Emp_Id] [int] NOT NULL,
[Name] [nvarchar](50) NULL,
[Salary] [int] NULL,
[City] [nvarchar](50) NULL,
CONSTRAINT [PK_Emp_Info] PRIMARY KEY CLUSTERED
(
[Emp_Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Afzaal Ahmad ZeeshanPosted Nov 24, 2015, 5:01 PM