我正在使用PhoneGap构建来打包我的应用程序是否有任何PhoneGap或第三方插件,我可以包含在我的config.xml中以获取运行时的应用程序版本?
任何关于获得应用程序版本的最佳方式的建议都会受到关注.
我正在开发这个简单的应用程序来上传Excel文件(.xlsx)并将该Excel工作表中的数据导入.NET中的SQL Server Express数据库
我在浏览并选择要执行此操作的文件后单击导入按钮时使用以下代码.
protected void Button1_Click(object sender, EventArgs e)
{
String strConnection = "Data Source=.\\SQLEXPRESS;AttachDbFilename='C:\\Users\\Hemant\\documents\\visual studio 2010\\Projects\\CRMdata\\CRMdata\\App_Data\\Database1.mdf';Integrated Security=True;User Instance=True";
//file upload path
string path = FileUpload1.PostedFile.FileName;
//string path="C:\\ Users\\ Hemant\\Documents\\example.xlsx";
//Create connection string to Excel work book
string excelConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + path + ";Extended Properties=Excel 12.0;Persist Security Info=False";
//Create Connection to Excel work book
OleDbConnection excelConnection = new OleDbConnection(excelConnectionString);
//Create OleDbCommand to fetch data from Excel
OleDbCommand cmd = new OleDbCommand("Select [ID],[Name],[Designation] from [Sheet1$]", excelConnection); …Run Code Online (Sandbox Code Playgroud) 我开发了一个自定义应用程序,它能够使用CRM Web服务并在自定义.NET页面中执行CRM中的Windows Live Id身份验证,创建,读取和更新操作.当我在Visual Studio 2010中调试应用程序时,它运行得非常好,但是当我部署相同的应用程序并尝试进行身份验证时,它显示以下错误:
无法加载文件或程序集"Microsoft.IdentityModel,Version = 3.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35"或其依赖项之一.该系统找不到指定的文件.
我无法理解问题发生在哪里.