Method 'fill_sample' has multiple definitions with identical signatures

Discussion in 'ASP .Net Web Controls' started by Chuck Insight, Mar 11, 2005.

  1. 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
     
    Chuck Insight, Mar 11, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kivak Wolf
    Replies:
    1
    Views:
    3,089
    Kivak Wolf
    Jun 29, 2005
  2. Replies:
    3
    Views:
    347
    Chris Uppal
    Feb 19, 2004
  3. David S.
    Replies:
    0
    Views:
    240
    David S.
    May 30, 2005
  4. David Hilton

    searching for method signatures

    David Hilton, Sep 2, 2008, in forum: C Programming
    Replies:
    1
    Views:
    292
    Ben Bacarisse
    Sep 2, 2008
  5. david.karr
    Replies:
    4
    Views:
    391
    Joshua Cranmer
    Jun 16, 2009
Loading...

Share This Page