Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. please help me.

please help me.

Scheduled Pinned Locked Moved ASP.NET
databasehelpcsharpasp-nettools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rohollahabadan
    wrote on last edited by
    #1

    explanation; I have one table in my sql database called tblStores .it have a column called name .i have created this table by using wizard in the enteprize manager what is problems: when i insert rows into the table (execute storedprocedure and pass the parameter value for it in query analyser)only the first character is inserted .if i call this procedure from asp.net this problem apear again.only if i use the datasheet view in enteprize manager the whole word is inserted . .when i create the script of this table the result was: if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tblStores]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tblStores] GO CREATE TABLE [dbo].[tblStores] ( [id] [int] IDENTITY (1, 1) NOT NULL , [Name] [nvarchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , ) ON [PRIMARY] GO thank you.

    S 1 Reply Last reply
    0
    • R rohollahabadan

      explanation; I have one table in my sql database called tblStores .it have a column called name .i have created this table by using wizard in the enteprize manager what is problems: when i insert rows into the table (execute storedprocedure and pass the parameter value for it in query analyser)only the first character is inserted .if i call this procedure from asp.net this problem apear again.only if i use the datasheet view in enteprize manager the whole word is inserted . .when i create the script of this table the result was: if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tblStores]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[tblStores] GO CREATE TABLE [dbo].[tblStores] ( [id] [int] IDENTITY (1, 1) NOT NULL , [Name] [nvarchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , ) ON [PRIMARY] GO thank you.

      S Offline
      S Offline
      S Sansanwal
      wrote on last edited by
      #2

      check your stored procedure parameters. It seems that you are not passing a parameter with type as nvarchar(500) Sanjay Sansanwal www.sansanwal.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups