Click here to Skip to main content
14,424,063 members
   

ASP.NET

 
SuggestionRe: Problem with Using Directive Pin
Richard Deeming3-Dec-19 1:47
communityengineerRichard Deeming3-Dec-19 1:47 
QuestionShould I begin with razor pages or mvc? Pin
Dawud Ahmad29-Nov-19 7:29
MemberDawud Ahmad29-Nov-19 7:29 
AnswerRe: Should I begin with razor pages or mvc? Pin
Richard MacCutchan29-Nov-19 8:27
communityengineerRichard MacCutchan29-Nov-19 8:27 
AnswerRe: Should I begin with razor pages or mvc? Pin
Richard Deeming29-Nov-19 9:01
communityengineerRichard Deeming29-Nov-19 9:01 
QuestionNewbie here. Why is my array list not working? Pin
Marc Hede28-Nov-19 1:31
MemberMarc Hede28-Nov-19 1:31 
AnswerRe: Newbie here. Why is my array list not working? Pin
phil.o28-Nov-19 1:41
mvephil.o28-Nov-19 1:41 
AnswerRe: Newbie here. Why is my array list not working? Pin
Richard Deeming28-Nov-19 2:24
communityengineerRichard Deeming28-Nov-19 2:24 
GeneralRe: Newbie here. Why is my array list not working? Pin
Marc Hede28-Nov-19 7:14
MemberMarc Hede28-Nov-19 7:14 
Okay, I removed the property and also changed "ListBoxResults" to simply "ListBox".
There are some problems remaining.
I will list the errors here (sorry for not doing so at first)

ListBox.Items.Add(d1.ToString());
ListBox.Items.Add(d2.ToString());
ListBox.Items.Add(a1.ToString());

Here I get the error: "An object reference is required for the non-static field, method, or property."
If I remember correctly, a solution to this would be to make a static ArrayList, but I am not sure how I can do it for this code.

Error no. 2
<pre lang="c#">public virtual bool ChangeEmail(string email)
        {
            Email = email;
            return true;
        }

Error: "Property or indexer cannot be assigned to -- it is read only"

Error no. 3
public Driver(string v1, string v2, string v3, string v4, string v5)
{
    this.v1 = v1;
    this.v2 = v2;
    this.v3 = v3;
    this.v4 = v4;
    this.v5 = v5;
}

Error message: There is no argument given that corresponds to the required formal parameter of 'firstName' of 'Person.Person (string, string, int, string)'

Thanks a ton for being patient with me, you guys.
GeneralRe: Newbie here. Why is my array list not working? Pin
Richard Deeming28-Nov-19 7:39
communityengineerRichard Deeming28-Nov-19 7:39 
GeneralRe: Newbie here. Why is my array list not working? Pin
Marc Hede28-Nov-19 10:09
MemberMarc Hede28-Nov-19 10:09 
GeneralRe: Newbie here. Why is my array list not working? Pin
Richard Deeming29-Nov-19 1:34
communityengineerRichard Deeming29-Nov-19 1:34 
GeneralRe: Newbie here. Why is my array list not working? Pin
Marc Hede29-Nov-19 4:00
MemberMarc Hede29-Nov-19 4:00 
QuestionDuring redirection localhost is not attached and page failed to load Pin
Member 1115418828-Nov-19 0:59
MemberMember 1115418828-Nov-19 0:59 
AnswerRe: During redirection localhost is not attached and page failed to load Pin
Richard Deeming28-Nov-19 2:18
communityengineerRichard Deeming28-Nov-19 2:18 
QuestionASP.net In Visual Studio 2019 Pin
Ebrahimaw20-Nov-19 14:09
MemberEbrahimaw20-Nov-19 14:09 
AnswerRe: ASP.net In Visual Studio 2019 Pin
Eddy Vluggen20-Nov-19 15:03
mveEddy Vluggen20-Nov-19 15:03 
QuestionSQL Parameter Collection - Not able to assign to SQLCommand Pin
Member 1115418819-Nov-19 7:11
MemberMember 1115418819-Nov-19 7:11 
AnswerRe: SQL Parameter Collection - Not able to assign to SQLCommand Pin
Richard MacCutchan19-Nov-19 7:19
communityengineerRichard MacCutchan19-Nov-19 7:19 
General[Solved] Re: SQL Parameter Collection - Not able to assign to SQLCommand Pin
Member 1115418819-Nov-19 20:10
MemberMember 1115418819-Nov-19 20:10 
QuestionWhat's so bad about webforms? Pin
DerekT-P18-Nov-19 5:29
professionalDerekT-P18-Nov-19 5:29 
AnswerRe: What's so bad about webforms? Pin
jkirkerx18-Nov-19 14:47
professionaljkirkerx18-Nov-19 14:47 
PraiseRe: What's so bad about webforms? Pin
Eddy Vluggen18-Nov-19 15:19
mveEddy Vluggen18-Nov-19 15:19 
GeneralRe: What's so bad about webforms? Pin
jkirkerx18-Nov-19 17:07
professionaljkirkerx18-Nov-19 17:07 
GeneralRe: What's so bad about webforms? Pin
Eddy Vluggen19-Nov-19 3:47
mveEddy Vluggen19-Nov-19 3:47 
GeneralRe: What's so bad about webforms? Pin
F-ES Sitecore19-Nov-19 0:18
mveF-ES Sitecore19-Nov-19 0:18 

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.