Thanks ramramesh, but nvarchar has nothing to do with it, i even tried by da way but hadn't any positive effect.
Okay.
Put breack point in your methode .and check your querystring value and check your database return value. and
check your if condtion used bye quickwatch .
sarathi125
Star
13599 Points
2691 Posts
Re: else block execution
Jan 02, 2013 03:16 PM|LINK
Hi,
Both the ids having same values or not???
Remember to click Mark as Answer on the post that helps to others.
My Blog :MyAspSnippets
ramramesh
Member
458 Points
158 Posts
Re: else block execution
Jan 02, 2013 03:20 PM|LINK
Hey are you try my answer?
Hunain Hafee...
Member
238 Points
639 Posts
Re: else block execution
Jan 02, 2013 03:22 PM|LINK
Hey Sarathi125, yes i tried what you said but still it has the same problem, its annoying , help me out please
ramramesh
Member
458 Points
158 Posts
Re: else block execution
Jan 02, 2013 03:39 PM|LINK
hey are you try my answer.varchar(50) was get your value and also get extra 50 char.So u got the problem. please change varchar to nvarchar
hmm My forum Points was low.But my answer is solve your problem.
Good luck.
Hunain Hafee...
Member
238 Points
639 Posts
Re: else block execution
Jan 02, 2013 04:01 PM|LINK
ramramesh
Member
458 Points
158 Posts
Re: else block execution
Jan 02, 2013 04:12 PM|LINK
Okay.
Put breack point in your methode .and check your querystring value and check your database return value. and check your if condtion used bye quickwatch .
Quick watch: http://blogs.msdn.com/b/zainnab/archive/2010/10/12/understanding-quickwatch-vstiptool0108.aspx
and must check your querystring value and database value as same?
Thank you..