日期:2014-05-18  浏览次数:20931 次

求救vs2005和dev express的问题 机器上面装了vs2003 dev express和vs 2005 devexpress
不知道是兼容性问题 还是上面问题 系统已经重装好几遍了 昨天用还是好的今天又出问题了  



警告 2 类型“DevExpress.XtraEditors.Repository.RepositoryItemTextEdit”的对象无法转换为类型“DevExpress.XtraEditors.Repository.RepositoryItem”。


设计器上面就是一串html和一些乱码

<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyleVisible { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}.StackStyleHidden { display:none; font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}</style></head><body><DIV class="DetailsStyle" width="100%"><table border="0" width="100%" id="table1" height="100%" cellspacing="0" cellpadding="0"><tr><td height="40" bgcolor="#FF9999" width="8%" style="letter-spacing: 0" align="center"><img border="0" src="C:\Users\Administrator\AppData\Local\Temp\1691AB.tmp" width="35" height="35" alt="ErrorImage" ></td><td height="40" bgcolor="#FF9999" width="91%" style="vertical-align: top; letter-spacing: 0" align="left"><b><font size="2" face="Arial" fontsize="70%">锷犺浇璁捐鍣ㄦ椂阆囧埌涓€涓垨澶氢釜阌欒銆傝繖浜涢敊璇湪涓嬮溃鍒楀嚭銆备竴浜涢敊璇彲阃氲绷阅嶆柊鐢熸垚椤圭洰鏉ヤ慨澶嶏紝钥屽彟涓€浜涢敊璇垯闇€瑕佹洿鏀逛唬镰

------解决方案--------------------
看看你的Form窗体对应的.Designer里 this.components = new System.ComponentModel.Container();这一句是不是有两行,删除一行