DataSet   ds=new   DataSet();   
  DataTable   table=new   DataTable("TestTable");   
  ds.Tables.Add(table);   
  DataColumn   dc=new   DataColumn("InfoSetKey",typeof(int));   
  table.Columns.Add(dc);   
  table.Rows.Add(new   object[]{100});   
 
  int   i=Convert.ToInt32(ds.Tables[0].Rows[0]["infosetkey"]);//i=100? 还是抛出异常(找不到该列)?//请各位验证一下是否出问题。我在1年前在vs2005里面测试,会抛出异常。
//但现在没有正常。到底是否跟.NET 2.0框架有关系?