您当前的位置: 首页 >  ar

衣舞晨风

暂无认证

  • 1浏览

    0关注

    1156博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

C# DataRow.ItemArray 属性

衣舞晨风 发布时间:2014-03-04 14:15:10 ,浏览量:1

DataRow.ItemArray 属性 通过一个数组来获取或设置此行的所有值。 命名空间:System.Data

程序集:System.Data(在 system.data.dll 中)

代码示例:

private void CreateRowsWithItemArray()
{
    // Make a DataTable using the function below.
    DataTable dt = MakeTableWithAutoIncrement();
    DataRow relation;
    // Declare the array variable.
    object [] rowArray = new object[2];
    // Create 10 new rows and add to DataRowCollection.
    for(int i = 0; i             
关注
打赏
1647422595
查看更多评论
0.0460s