cs0104错误 求助!!!在线等 急!!!!!!!
编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。
编译器错误消息: CS0104: “XlBorderWeight”是“Microsoft.Office.Core.XlBorderWeight”和“Microsoft.Office.Interop.Excel.XlBorderWeight”之间的不明确的引用
源错误:
行 331: public void Bord(int x, int y, int m, int n)
行 332: {
行 333: this._ws.get_Range(this._ws.Cells[x, y], this._ws.Cells[m, n]).BorderAround(XlLineStyle.xlContinuous, XlBorderWeight.xlThick,
行 334: XlColorIndex.xlColorIndexAutomatic, System.Drawing.Color.Black.ToArgb());
行 335: }