Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1928: 'System.Data.DataRowCollection' does not contain a definition for 'Cast' and the best extension method overload 'System.Data.EnumerableRowCollectionExtensions.Cast<TResult>(System.Data.EnumerableRowCollection)' has some invalid arguments

Source Error:


Line 552:{
Line 553:    // 将取出的数据行显式声明为 List<DataRow>
Line 554:    System.Collections.Generic.List<DataRow> rows = dsms.Tables[0].Rows.Cast<DataRow>().ToList();
Line 555:    
Line 556:    // 显式声明选择后的行集合类型

Source File: d:\web\jb10\jb10.gskabs.com\0814.aspx.cs    Line: 554






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4136.0
Egyptian Medical Imaging Company

Image Trading

 

 

粉ه«©ه…¬ن¸»çڑ„و——舰ن؛§ه“پ粉ه«©ه…¬ن¸»é…’é…؟蛋وک¯ç²‰ه«©ه…¬ن¸»é…’é…؟蛋,ه…¶é€‰و‌گو–™é€‰ç”¨ç¥‍ç§کهŒ—ç؛¬30آ°ه­‌و„ںوœ±و¹–çڑ„ن¸°èƒ¸é£ں物وœ‰وœ؛çڈچçڈ ç³¯ç±³م€پو³°ه›½è؟›هڈ£هژںç”ںé‡ژè‘›و ¹م€پè‡ھç„¶و•£ه…»هœںé¸،ه­µه‡؛çڑ„هœںé¸،蛋م€پèµ£ه·‍è‘—هگچ特ن؛§ه§œو±پç؛¢ç³–,ه†چ结هگˆن¸°èƒ¸و•ˆو‍œه®«ه»·ن¼ و‰؟çڑ„é…؟هˆ¶و–¹و³•,ه°†وœ‰وœ؛çڈچçڈ ç³¯ç±³é…؟هˆ¶وˆگ香醇甜ç¾ژçڑ„é…’é…؟ن¸°èƒ¸ن؛§ه“پ粉ه«©ه…¬ن¸»ï¼ŒهگŒو—¶وœ€ه¤§ç¨‹ه؛¦ن؟‌留酒é…؟蛋çڑ„èگ¥ه…»وˆگهˆ†م€‚