C#中当前上下文中不存在名称'systemfunction' [英] The name 'systemfunction' does not exist in the current context in C#

查看:97
本文介绍了C#中当前上下文中不存在名称'systemfunction'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第63行:price =(decimal)tbl.Rows [i] [SalePrice]; 
第64行:数量=(十进制)tbl.Rows [i] [SaleQuantity];
第65行:SystemFunction.GetProductInfo(id,out code,out name,out module,out color);
第66行:DataRow dr = AddNewRow(dt,id,代码,名称,模块,颜色,价格,数量);
第67行:dt.Rows.Add(dr);





我尝试过:



我正在尝试在visual studio中配置aliceerp 

解决方案

如果您使用Visual Studio,您可以尝试右键单击SystemFunction并查看它的建议;也许你错过了使用文件顶部的...; 。如果不是这样,那么请检查您的应用程序是否具有对外部库的所有必要引用,因为 SystemFunction 似乎不是任何.NET Framework类。

Line 63:                 price = (decimal)tbl.Rows[i]["SalePrice"];
Line 64:                 quantity = (decimal)tbl.Rows[i]["SaleQuantity"];
Line 65:                 SystemFunction.GetProductInfo(id, out code, out name, out module, out color);
Line 66:                 DataRow dr = AddNewRow(dt, id, code, name, module, color, price, quantity);
Line 67:                 dt.Rows.Add(dr);



What I have tried:

i am trying to configure aliceerp in visual studio

解决方案

If you use Visual Studio, you can try right-clicking on "SystemFunction" and see what it suggests; perhaps you are missing a using ...; at the top of your file. If that's not the case, then check that your application has all the necessary references to external libraries, because SystemFunction doesn't seem to be any .NET Framework class.


这篇关于C#中当前上下文中不存在名称'systemfunction'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆