通过操作数据的模块物业
民生娱乐 2021-08-24 13:34 字号: 大 中 小
// 保存数据
if( myRows != null unt 0 )
{
LDocument myDoc = nerDocument ;
for( int RowCount = 0 ; RowCount unt ; RowCount ++ )
{
string[] strValue = ( string[] ) myRows[RowCount];
RowElement = eateElement(\"r\");
pendChild( RowElement );
for( int iCount = 0 ; iCount ngth ; iCount ++ )
{
FieldElement = eateElement(\"f\" + String());
pendChild( FieldElement );
if( strValue[iCount] == null )
nerText = c_NullFlag ;
else
nerText = strValue[iCount];
}
}// for
return unt ;
}
return -1 ;
}// ToXML
///
/// 从XML元素加载对象数据
///
/// XML节点
/// 加载的数据的行数
public int FromXML( LElement RootElement )
{
LElement RowElement = null;
strHead = null;
ear();
在这些街区基础上 intRowIndex = -1 ;
if( RootElement == null ) return -1 ;
// 获得列信息
rayList myHeads = new rayList();
for( int iCount = 0 ; iCount 255 ; iCount ++ )
{
if( sAttribute( \"f\" + String()))
{
string strName = tAttribute(\"f\" + String());
d( Lower().Trim());
}
else
break;
}
//strHead = new string[ unt ];
strHead = ( string[]) Array( typeof(string));
// 获得数据
foreach( LNode myNode in ildNodes )
{
if( myNode is LElement )
{
RowElement = ( LElement ) myNode ;
// 获得数据
string[] strValues = new string[ ngth];
d( strValues );
int iFieldCount = 0 ;
foreach(LNode myFieldNode in ildNodes)
{
if( myFieldNode is LElement )
{
strValues[iFieldCount] = ( nerText == c_NullFlag ? null : nerText ) ;
iFieldCount ++ ;
}
}// foreach
}// if
}// foreach
return unt ;
}// FromXML
#region IDataReader 成员
///
/// 未实现
///
public int RecordsAffected
{
get {return 0; }
}
///
/// 已重载:关闭对象
///
public bool IsClosed
{
get{ return bolClosed ; }
}
///
/// 未实现
///
///
查看本文来源
华润江中治疗骨关节炎的药物
十大阳光房品牌加盟那个好
-
-
恩惠深度吞下万帮火箭拿下甜瓜老鹰图的啥
深度|吞下万帮火箭拿下甜瓜 老鹰图的啥?安东尼随着老鹰买...
2020-09-14 | 民生娱乐
-
-
英媒克洛普将不会被禁赛口头警告罚款榜搭配
英媒:克洛普将不会被禁赛 口头警告+罚款榜克洛普直播吧12月...
2020-06-07 | 民生娱乐
-
-
中国房地产市场泡沫的存在是不争的事实搭配
中国房地产市场泡沫的存在是不争的事实自4月14日国务院调控...
2020-06-06 | 民生娱乐
-
-
NBA大富豪老板最壕是他灰熊老板帅出天际搭配
NBA大富豪老板:最壕是他!灰熊老板帅出天际NBA老板们北京时间...
2020-05-31 | 民生娱乐
-
-
阿根廷主帅意甲两神锋还有戏之前也招过他们搭配
阿根廷主帅:意甲两神锋还有戏 之前也招过他们桑保利表示迪...
2020-05-29 | 民生娱乐
-
-
7月海南新房均价环比下跌后市房价仍将小幅搭配
7月海南新房均价环比下跌 后市房价仍将小幅下调数据显示,...
2020-05-28 | 民生娱乐