安装过程中出现错误提示:
windows installer 服务不能更新系统文件c:\program files\commom files\system\ado\msado27.tlb,因为该文件被windows保护,为使该程序正确工作,您可能需要更新操作系统。咋办?
windows installer 服务不能更新系统文件c:\program files\commom files\system\ado\msado27.tlb,因为该文件被windows保护,为使该程序正确工作,您可能需要更新操作系统。咋办?
在installshield 中能调用.net写的DLL吗?如何调用?
{
try
{
if(InfoID.Text!=""&&InfoContent.Text!=""&&PerInfoID.Text!=""&&InfoCommand.Text!="")
{
sqlDataAdapter1.InsertCommand.CommandText="insert into Info("+"InfoID,InfoContent,PerInfoID,InfoCommand,Note"+") values("+InfoID.Text+",'"+InfoContent.Text+"',"+PerInfoID.Text+",'"+InfoCommand.Text+"','"+Note.Text+"')";
statusBar.Text="添加:"+sqlDataAdapter1.InsertCommand.CommandText;
sqlDataAdapter1.InsertCommand.ExecuteNonQuery();
statusBar.Text="添加成功";
}
else statusBar.Text="操作不正确";
}
catch( System.Data.SqlClient.SqlException)
{
statusBar.Text="添加出现异常";
}
catch( System.NullReferenceException)
{
statusBar.Text="添加出现异常";
}
}
为什么我执行这个动作,总是出现异常呢?
我反复检查过,SQL语句应该是没有错的.
请高手指点指点---------急用~!