ASP.net assigning values to arrays help?

  • Thread starter Thread starter SedativeChunk
  • Start date Start date
S

SedativeChunk

Guest
My installation of ASP.net was smooth and so far I am having fun. But I am stuck on using an array.

I am using Visual Basic language just to clear any confusion. I am trying to create an array and then assign values to array like so:
Dim errors() As String
errors(0) = "Username cannot be blank"

Whenever I assign the first value, I get the error "variable "errors" is used before it has been assigned a value." Why is is saying this when I try to assign a value to the first array variable? What can I do to fix it?
 
I have a lot of ebooks of ASP.NET by Microsoft , if you want then I can
send all those ebooks to you so that you can learn ASP.NET better and in a effective way..
Let me know abt that because only then I will upload them on my webserver.

Akshat
http://akshat.co.nr
 
Back
Top