Click here to Skip to main content
14,926,313 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionc# crystal report asp.net Pin
linanina22-Aug-17 22:47
Memberlinanina22-Aug-17 22:47 
QuestionApplication Security Testing Tool to Check Security Vulnerability Pin
Member 1157377319-Aug-17 19:34
MemberMember 1157377319-Aug-17 19:34 
QuestionObject does not contain definition for substring. Pin
samflex18-Aug-17 4:47
Membersamflex18-Aug-17 4:47 
AnswerRe: Object does not contain definition for substring. Pin
Luc Pattyn18-Aug-17 5:12
sitebuilderLuc Pattyn18-Aug-17 5:12 
GeneralRe: Object does not contain definition for substring. Pin
Super Superman22-Aug-17 3:52
MemberSuper Superman22-Aug-17 3:52 
GeneralRe: Object does not contain definition for substring. Pin
Luc Pattyn22-Aug-17 3:58
sitebuilderLuc Pattyn22-Aug-17 3:58 
GeneralRe: Object does not contain definition for substring. Pin
Super Superman22-Aug-17 5:12
MemberSuper Superman22-Aug-17 5:12 
GeneralRe: Object does not contain definition for substring. Pin
Luc Pattyn22-Aug-17 7:00
sitebuilderLuc Pattyn22-Aug-17 7:00 
No, using Eval with one argument and expecting a string was a mistake,
the problem was he did not understand the compiler's error message which pointed to the following lines, not the line that was in conflict with his intentions, and which was not only late but also not as clear as one might hope, both effects due to the usage of var.


If he had written:
string Buyernames = Eval("buyername");

the compiler would have flagged THAT line, not the following ones, with a clearer message, something like "cannot implicitly convert type 'object' to string"; which everyone understands.

So: remove var, and you'll have no problem fixing the mistake.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Object does not contain definition for substring. Pin
ZurdoDev22-Aug-17 4:44
professionalZurdoDev22-Aug-17 4:44 
GeneralRe: Object does not contain definition for substring. Pin
Super Superman22-Aug-17 5:11
MemberSuper Superman22-Aug-17 5:11 
GeneralRe: Object does not contain definition for substring. Pin
Richard Deeming22-Aug-17 7:58
mveRichard Deeming22-Aug-17 7:58 
GeneralRe: Object does not contain definition for substring. Pin
ZurdoDev22-Aug-17 8:04
professionalZurdoDev22-Aug-17 8:04 
AnswerRe: Object does not contain definition for substring. Pin
Richard Deeming18-Aug-17 5:36
mveRichard Deeming18-Aug-17 5:36 
GeneralRe: Object does not contain definition for substring. Pin
samflex18-Aug-17 8:29
Membersamflex18-Aug-17 8:29 
GeneralRe: Object does not contain definition for substring. Pin
Richard Deeming18-Aug-17 8:46
mveRichard Deeming18-Aug-17 8:46 
GeneralRe: Object does not contain definition for substring. Pin
samflex18-Aug-17 8:58
Membersamflex18-Aug-17 8:58 
GeneralRe: Object does not contain definition for substring. Pin
Richard Deeming21-Aug-17 0:32
mveRichard Deeming21-Aug-17 0:32 
QuestionAnything new exist to test EF repository instead of Mock lib in .Net Core Pin
Mou_kol17-Aug-17 23:46
MemberMou_kol17-Aug-17 23:46 
AnswerRe: Anything new exist to test EF repository instead of Mock lib in .Net Core Pin
Richard MacCutchan18-Aug-17 1:34
mveRichard MacCutchan18-Aug-17 1:34 
QuestionRich Textbox Pin
Member 1336179216-Aug-17 0:16
MemberMember 1336179216-Aug-17 0:16 
AnswerRe: Rich Textbox Pin
Afzaal Ahmad Zeeshan16-Aug-17 1:36
mveAfzaal Ahmad Zeeshan16-Aug-17 1:36 
QuestionASP and SQL web application help Pin
Member 1336148915-Aug-17 18:12
MemberMember 1336148915-Aug-17 18:12 
AnswerRe: ASP and SQL web application help Pin
Richard MacCutchan15-Aug-17 21:20
mveRichard MacCutchan15-Aug-17 21:20 
QuestionUnable to delete a dynamically generated row in Repeater Pin
samflex13-Aug-17 17:23
Membersamflex13-Aug-17 17:23 
AnswerRe: Unable to delete a dynamically generated row in Repeater Pin
Kornfeld Eliyahu Peter13-Aug-17 19:09
professionalKornfeld Eliyahu Peter13-Aug-17 19:09 

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.