public class studentsRow : DataRow {
private studentsDataTable tablestudents;
internal studentsRow(DataRowBuilder rb) :
base(rb) {
this.tablestudents = ((studentsDataTable)(this.Table));
}......这是DataRow的子类而
[System.Diagnostics.DebuggerStepThrough()]
public class studentsDataTable : DataTable, System.Collections.IEnumerable {
private DataColumn columnId;
private DataColumn columnName;
....
internal studentsDataTable() :
base("students") {
this.InitClass();
}
public studentsRow this[int index] {
get {
return ((studentsRow)(this.Rows[index]));
}
}
但通篇未找到studentsRow的构造函数的实参调用DataRowBuilder rb,为什么?
private studentsDataTable tablestudents;
internal studentsRow(DataRowBuilder rb) :
base(rb) {
this.tablestudents = ((studentsDataTable)(this.Table));
}......这是DataRow的子类而
[System.Diagnostics.DebuggerStepThrough()]
public class studentsDataTable : DataTable, System.Collections.IEnumerable {
private DataColumn columnId;
private DataColumn columnName;
....
internal studentsDataTable() :
base("students") {
this.InitClass();
}
public studentsRow this[int index] {
get {
return ((studentsRow)(this.Rows[index]));
}
}
但通篇未找到studentsRow的构造函数的实参调用DataRowBuilder rb,为什么?
解决方案 »
- 怎样获取当前执行的函数名,和所传如的参数。
- 怎么检测客户端是否已安装.net framework
- 窗体问题,怎么实现不了?
- c#中的事件event 如果不取消订阅(-=) 会有什么坏处?
- 如何向WebBrowser载入的页面中添加一段代码?
- 请问AxWebBrowser如何禁止CTRL+n,打开新窗口呢?
- 求助!关于测试比较基于TCP、UDP的接收端和发送端之间传输的准确性和传输速度
- 求将oracle数据到出excel 中方案?
- c#如何获得当前文件夹的相对路径
- 共同学习,交流思想,通过MCSD for .NET
- 关于颜色的自定义问题
- DataGrid显示的问题(数据库中的0显示为使用,1显示为停用),急
yourClassName.studentsRow studentsrow = studentsDataTable.NewstudentsRow();
然后就可以引用studentsrow 中的方法和属性了。