}
/////////////////////////================
public class od
{
public od()
{
//
// todo: 在此处添加构造函数逻辑
//
}
public od(string na,string cty,string timestr)
{
this.name=na;
this.city=cty;
this.time=timestr;
}
private string time="";
private string name;
private string city;
public string name
{
get{return this.name ;}
set{this.name=value;}
}
public string city
{
get{return this.city ;}
set{this.city=value;}
}
public string time
{
get{return this.time ;}
set{this.time=value;}
}
}
=======================app.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appsettings>
<!--computername-->
<!--dhz:是域控制器所在的计算机名:-->
<add key="qcname" value="dhz\formatname:public=620b1bfb-18e9-4d80-b869-ff6fb2dfdd08"></add>
</appsettings>