ASP.NET数据库设计器不会加载

时间:2014-12-30 03:20:42

标签: asp.net

当我尝试将默认信息插入我的数据库时,我收到错误,有什么帮助吗?

Error

    CREATE TABLE [dbo].[User]
(
    [Id] INT NOT NULL PRIMARY KEY, 
    [Username] NVARCHAR(25) NOT NULL, 
    [firstName] NVARCHAR(50) NOT NULL, 
    [lastName] NVARCHAR(50) NOT NULL, 
    [Address1] NVARCHAR(50) NULL, 
    [City] NVARCHAR(50) NULL, 
    [State] NVARCHAR(50) NULL, 
)

INSERT INTO User VALUES ('testuser1','firsttest1','lastname1','testadd1','testcity','teststate')

0 个答案:

没有答案