Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Getting error of String[11]: the Size property on

Author  Topic 

krishnet
Starting Member

29 Posts

Posted - 2007-05-09 : 13:35:03
Hello frdz,

I have created web-applications in asp.net with C# 2005.
Getting the following error why it can be soo...pls help



String[11]: the Size property has an invalid size of 0.
Exception Details: System.InvalidOperationException: String[11]: the Size property has an invalid size of 0.

Source Error:

Line 53: SqlDataSource1.Insert();




Can anyone tell me why m i gettin this error...
The storedprocedure is running fine in sqlserver..

Thanxs

norty911
Starting Member

41 Posts

Posted - 2007-05-21 : 05:28:39
You have to specifically specify the size of the string via the size property
Go to Top of Page
   

- Advertisement -