最近一段时间我想玩玩强类型Dataset,我建立了一个数据集,然后用设计器编辑数据集, 在数据集右键添加 Relation(r),建立了一个主表与子表的关系(就跟sql server 一样),编译的时候就报错了,出现 常量中有换行符的提示,代码中有好几段如下乱码
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string saleb {
get {
try {
return ((string)(this[this.tableDsale.salebColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("琛ㄢ€淒sale鈥濅腑鍒椻€渟aleb鈥濈殑鍊间负 DBNull銆?, e);
}
}
set {
这是怎么回事呀
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string saleb {
get {
try {
return ((string)(this[this.tableDsale.salebColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("琛ㄢ€淒sale鈥濅腑鍒椻€渟aleb鈥濈殑鍊间负 DBNull銆?, e);
}
}
set {
这是怎么回事呀
理解不了啊。混了20分惭愧。。