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
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 problem with showing char values

Author  Topic 

yosi83
Starting Member

2 Posts

Posted - 2010-05-06 : 12:02:18
hi,

i have table with users and passwords located in database of
sql express server 2005. when i show the table in datagridview of
c#, there are 3 dots (...) after each char value.

someone know why this happen?

yosi83
Starting Member

2 Posts

Posted - 2010-05-07 : 10:23:44
The problem solved,
i mistakenly defined the columns as char(50) instead of varchar(50), thus
sql put spaces to complete to 50 characters in the end of the values.
Go to Top of Page
   

- Advertisement -