Well I guess it is time to start being a true programmer and master arrays. So what did I learn day one about using arrays.
If you are going to use C# and want a dynamic array you better use the following code... (HINT USE AN ARRAY LIST)
int i = 0;
ArrayList al = new ArrayList();
while (myReader.Read())
{
al.Add(myReader.GetInt32(0));
i = i + 1;
}
Software engineering and business solutions blog featuring SaaS reviews, automation tools, and business insurance guides. Buyer-intent content designed to drive high-quality traffic and conversions.
Friday, January 20, 2006
Subscribe to:
Post Comments (Atom)
Best coding practices every developer should follow
Best Coding Practices Every Developer Should Follow Introduction In today’s fast-paced software development environment, adhering to...
-
How to clear SharePoint People Picker suggestion cache If you have been SharePoint Site owner long enough, you would have definitely ...
-
The problem was that the remote connection needed to utilize Named Pipes, but in order to utilize Named Pipes both the machine hosting the i...
-
Getting the following error (Figure 1): Server Error in '/' Application. ID4014: A SecurityTokenHandler is not registered to ...
No comments:
Post a Comment