把quickstart安装后在本地再使用。
路径:
%你的vs.net安装路径%\Microsoft Visual Studio .NET 2003\SDK\v1.1\Samples\Setup\ConfigSamples.exe

解决方案 »

  1.   

    leolmncn:
    可以用了,也没有错误,但那份是英文版的;
    而我手上有一份中文版的,我对比了一下,发现英文版中的一段程序是中文版中没有:
    如:1.引用:英文版中有using acme,中文版没有;并且英文版中有引用qstools,中文版中没有,也不知从何处引用;在中文版中加入using acme不能编译通过;可能是没有加入qstools引用;
    2.以下程序中文版中没有:
    foreach (DataRow row in ds.Tables["Customers"].Rows)
    {
    string[] colNames = new string[] {  "CustomerID", "CompanyName", "ContactName", "ContactTitle",  "Address", "City", "Region", "PostalCode", "Country",
     "Phone", "Fax"
     };
    foreach(string col in colNames)
    {
    if (!row.IsNull(col))
    {
    if ( !InputValidator.IsSafeText(row[col].ToString()) )
    {
    string msg = col + " can only contain limited punctuation\r\n";
    row.RowError += msg;
    row.SetColumnError(col, msg);
        }
       }
      }
     }
    为什么会是这样呢?是微软的错还是它另有企图?3.CustomersAndOrdersWebService.asmx.cs中的代码是全部手工编码还是有开发工具生成的?
    如果是手工,工作量太大了吧!如果是工具是哪种工具?4.CustomersAndOrdersDataSet.xsd是如何生成的?
    Customers和Orders可以数据库拖出来,但CustomersAndOrdersDataSet是如何出来的。欢迎大家一起讨论!!!