Method 'fill_sample' has multiple definitions with identical signatures

C

Chuck Insight

Here is the code that produced this error:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ Page Language="VB" AutoEventWireup="True" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="Microsoft.VisualBasic" %>
<html>
<script runat="server">
sub fill_sample()
Dim II As Integer
Dim Ball_ As Integer
Dim Sample_ as ArrayList() = New ArrayList()
for II = 1 to 3000 ' this populates the initial array
Ball_ = int((rnd * 48) +1)
Sample_.add(ball_.ToString)
next II
end sub
</script>

Please answer two questions.

What is this error trying to tell me?
How should I revise the code?

Thanks very much,
Chuck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top