Click here to Skip to main content
16,021,004 members
Home / Discussions / C#
   

C#

 
GeneralRe: database path Pin
Dave Kreskowiak15-Apr-11 1:54
mveDave Kreskowiak15-Apr-11 1:54 
AnswerRe: database path Pin
Prasanta_Prince15-Apr-11 8:15
Prasanta_Prince15-Apr-11 8:15 
GeneralRe: database path Pin
arkiboys15-Apr-11 10:21
arkiboys15-Apr-11 10:21 
Questionbeginner question Pin
ace30014-Apr-11 7:16
ace30014-Apr-11 7:16 
AnswerRe: beginner question Pin
gavindon14-Apr-11 9:08
gavindon14-Apr-11 9:08 
AnswerRe: beginner question Pin
BobJanova14-Apr-11 22:53
BobJanova14-Apr-11 22:53 
AnswerRe: beginner question Pin
Prasanta_Prince15-Apr-11 6:30
Prasanta_Prince15-Apr-11 6:30 
Questionvarchar(max) in database - how to put the size in ADO.NET Pin
Member 779716714-Apr-11 5:54
Member 779716714-Apr-11 5:54 
Hi,

I have field in database and it is defined as Varchar(max).
And in the front in ADO.NET I am trying with the options


AddParamToSQLCmd(sqlCmd, "@Comments", SqlDbType.VarChar, -1,
ParameterDirection.Input, pArg.Comments);


SqlDbType.NVarChar, -1
SqlDbType.VarChar, -1
SqlDbType.NText, -1


and nothing seemed working. I am trying to insert over some 48000
charecters but it is storing only 43500 some charecters. Not sure if I
am missing some thing. Am I doing it right or can some one please help
me how to get around this issue.


Thanks in advance

L
AnswerRe: varchar(max) in database - how to put the size in ADO.NET Pin
Ennis Ray Lynch, Jr.14-Apr-11 7:24
Ennis Ray Lynch, Jr.14-Apr-11 7:24 
GeneralRe: varchar(max) in database - how to put the size in ADO.NET Pin
Member 779716714-Apr-11 8:46
Member 779716714-Apr-11 8:46 
GeneralRe: varchar(max) in database - how to put the size in ADO.NET Pin
jschell14-Apr-11 9:38
jschell14-Apr-11 9:38 
GeneralRe: varchar(max) in database - how to put the size in ADO.NET Pin
Ennis Ray Lynch, Jr.14-Apr-11 9:52
Ennis Ray Lynch, Jr.14-Apr-11 9:52 
GeneralRe: varchar(max) in database - how to put the size in ADO.NET Pin
Prasanta_Prince15-Apr-11 6:32
Prasanta_Prince15-Apr-11 6:32 
AnswerRe: varchar(max) in database - how to put the size in ADO.NET Pin
jschell14-Apr-11 9:41
jschell14-Apr-11 9:41 
QuestionC# very basic basic` Pin
daveThawley14-Apr-11 2:29
daveThawley14-Apr-11 2:29 
AnswerRe: C# very basic basic` Pin
Wayne Gaylard14-Apr-11 2:47
professionalWayne Gaylard14-Apr-11 2:47 
GeneralRe: C# very basic basic` Pin
fjdiewornncalwe14-Apr-11 3:08
professionalfjdiewornncalwe14-Apr-11 3:08 
AnswerRe: C# very basic basic` PinPopular
Richard MacCutchan14-Apr-11 2:50
mveRichard MacCutchan14-Apr-11 2:50 
AnswerRe: C# very basic basic` Pin
PIEBALDconsult14-Apr-11 2:51
mvePIEBALDconsult14-Apr-11 2:51 
AnswerRe: C# very basic basic` Pin
V.14-Apr-11 4:06
professionalV.14-Apr-11 4:06 
AnswerRe: C# very basic basic` Pin
Luc Pattyn14-Apr-11 4:13
sitebuilderLuc Pattyn14-Apr-11 4:13 
AnswerRe: C# very basic basic` Pin
daveThawley14-Apr-11 11:53
daveThawley14-Apr-11 11:53 
QuestionWhich is more usefull Abstract Class or Interface and Why? Pin
Prasanta_Prince13-Apr-11 19:26
Prasanta_Prince13-Apr-11 19:26 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? PinPopular
David198713-Apr-11 19:34
David198713-Apr-11 19:34 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
BobJanova13-Apr-11 23:17
BobJanova13-Apr-11 23:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.