日期:2014-05-16 浏览次数:21077 次
asp.net中函数返回参数和调用的实例!
一、接收 read.aspx.cs调用
string cpuInfo = Read.Pro();
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Management; using System.Management.Instrumentation; /// <summary> /// read 的摘要说明 /// </summary> /// public class Read { public Read() { } public static string Pro() { return "ok!"; } }