首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

求高人指点.net有关问题

2012-09-18 
求高人指点.net问题using Systemusing System.Collections.Genericusing System.Linqusing System.Web

求高人指点.net问题
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
  protected void Page_Load(object sender, EventArgs e)
  {
  net.webservicex.www.StockQuote st = new net.webservicex.www.StockQuote();
  string [] s = st.GetQuote(TextBox1.Text, "");  
  Label1.Text = s[1];
  Label2.Text = s[3];
  Label3.Text = s[4];
  Label7.Text = s[5];
  TextBox2.Text = s[6];


这个红色部分显示No overload for method 'GetQuote' takes '2' arguments
是怎么解决的,求指点

[解决办法]
GetQuote这个方法没有带2个参数的重载版本。
[解决办法]
意思是,没有提供两个参数的GetQuote方法
GetQuote是什么方法,自己写的么。贴出来。

热点排行