日期:2014-05-18  浏览次数:20483 次

CS1501: “CongCongInit”方法没有采用“4”个参数的重载
运行时出现题目中的错误,麻烦大家帮我看看是怎么回事,谢谢!

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class 新书入库单信息查询条件 : System.Web.UI.Page
{
  protected void Page_Load(object sender, EventArgs e)
  {
  if (!IsPostBack)
  {
  WUCSearchInformation1.CongCongInit("Bill_In_No", "入库单号", "string");
  WUCSearchInformation2.CongCongInit("Internal_No", "入库单自编号", "string");
  WUCSearchInformation3.CongCongInit("Client_Name", "出版社名称", "string");
  WUCSearchInformation4.CongCongInit("Enterprise_Name", "供应商名称", "string");
  WUCSearchInformation5.CongCongInit("Bill_State", "单据状态", "string", "作废?作废;未确认?未确认;已确认?已确认");
  WUCSearchInformation6.CongCongInit("Bill_In_Type", "入库方式", "string", "正常入库?正常入库;调拨入库?调拨入库;特殊入库?特殊入库");
  }
  }
  protected void ButtonSearch_Click(object sender, EventArgs e)
  {
  TextBoxSearchInformation.Text = "";
  if (WUCSearchInformation1.GetsSearchList() != "" & WUCSearchInformation1.GetsSearchList() != null)
  {
  if (TextBoxSearchInformation.Text == "")
  {
  TextBoxSearchInformation.Text = WUCSearchInformation1.GetsSearchList();
  }
  else
  {
  TextBoxSearchInformation.Text = TextBoxSearchInformation.Text + " and " + WUCSearchInformation1.GetsSearchList();
  }
  }
  if (WUCSearchInformation2.GetsSearchList() != "" & WUCSearchInformation2.GetsSearchList() != null)
  {
  if (TextBoxSearchInformation.Text == "")
  {
  TextBoxSearchInformation.Text = WUCSearchInformation2.GetsSearchList();
  }
  else
  {
  TextBoxSearchInformation.Text = TextBoxSearchInformation.Text + " and " + WUCSearchInformation2.GetsSearchList();
  }
  }
  if (WUCSearchInformation3.GetsSearchList() != "" & WUCSearchInformation3.GetsSearchList() != null)
  {
  if (TextBoxSearchInformation.Text == "")
  {
  TextBoxSearchInformation.Text = WUCSearchInformation3.GetsSearchList();
  }
  else
  {
  TextBoxSearchInformation.Text = TextBoxSearchInformation.Text + " and " + WUCSearchInformation3.GetsSearchList();
  }
  }
  if (WUCSearchInformation4.GetsSearchList() != "" & WUCSearchInformation4.GetsSearchList() != null)
  {
  if (TextBoxSearchInformation.Text == "")
  {
  TextBoxSearchInformation.Text = WUCSearchInformation4.GetsSearchList();
  }
  else
  {
  TextBoxSearchInformation.Text = TextBoxSearchInf