使用UltraWebGrid运行出错处理[原创]
生活随笔
收集整理的這篇文章主要介紹了
使用UltraWebGrid运行出错处理[原创]
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
作者:pfengk
MSN: pfengk@hotmail.com
更多文章請訪問:http://www.cnblogs.com/pfengk/
編譯器錯誤信息: CS0234: 類型或命名空間名稱“Shared”在類或命名空間“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
源錯誤:
??????? 從錯誤信息看,是因為程序在運行時沒有找到dll。將Infragistics.WebUI.Shared.v2.1.dll,Infragistics.WebUI.UltraWebChart.v4.1.dll,Infragistics.WebUI.UltraWebGrid.v3.1.dll三個文件拷貝到程序的bin目錄下即可解決這個問題。但是微軟的控件還有其他廠商的控件都沒有出現這個問題呢!這是什么原因呢,帶著這個問題察看幫助,發現上面有一句話解答了我的疑慮:
??????? UltraWebGrid requires a reference to the Infragistics.WebUI.Shared Elements. Check to be sure that this DLL has been added to the project's references and that its CopyLocal property has been set to True. If you would like help on how to do this, click the heading below.?
MSN: pfengk@hotmail.com
更多文章請訪問:http://www.cnblogs.com/pfengk/
編譯錯誤
說明: 在編譯向該請求提供服務所需資源的過程中出現錯誤。請檢查下列特定錯誤詳細信息并適當地修改源代碼。編譯器錯誤信息: CS0234: 類型或命名空間名稱“Shared”在類或命名空間“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
源錯誤:
| 行 101: VerticalAlign="Center" Location="Bottom"></TitleBottom> 行 102: </igchart:ultrachart> 行 104: <DisplayLayout RowHeightDefault="20px" Version="3.00" SelectTypeRowDefault="Single" SelectTypeCellDefault="Single" 行 105: BorderCollapseDefault="Separate" Name="UltraWebGrid1"> |
??????? 從錯誤信息看,是因為程序在運行時沒有找到dll。將Infragistics.WebUI.Shared.v2.1.dll,Infragistics.WebUI.UltraWebChart.v4.1.dll,Infragistics.WebUI.UltraWebGrid.v3.1.dll三個文件拷貝到程序的bin目錄下即可解決這個問題。但是微軟的控件還有其他廠商的控件都沒有出現這個問題呢!這是什么原因呢,帶著這個問題察看幫助,發現上面有一句話解答了我的疑慮:
??????? UltraWebGrid requires a reference to the Infragistics.WebUI.Shared Elements. Check to be sure that this DLL has been added to the project's references and that its CopyLocal property has been set to True. If you would like help on how to do this, click the heading below.?
搜索一下相關內容 |
?
轉載于:https://www.cnblogs.com/pfengk/articles/218212.html
總結
以上是生活随笔為你收集整理的使用UltraWebGrid运行出错处理[原创]的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 软件开发的比喻:园艺
- 下一篇: 一款能拖拉的winform树形控件