How to resolve Assembly references problem

Views: 1,374 Error: The type ‘System.IO.Packaging.Package’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘WindowsBase, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ Simple Solution: just right click , reference in  solution of the project and search for the “windowbase” , like the below snagit then click …

2,676 total views, no views today

Bind Data to GridView From Different Data Sources

Views: 178 Introduction:  In this Article, I have tried my best, to create  different data source and bind it to the grid view. Since datasource and grid view are very much important to work in any application. In the future, if I have found any another datasource will append it …

856 total views, no views today

Open Xml: Simple/Entire Excel Parser application code to import large excel to any data source

Views: 147 Introduction: In this article, I have provided the real time code which is used in one of my project to read the data from the excel and put that data into the sql server database (you can put into any database). Here in this parser I have written …

399 total views, no views today

Beginners guide: How to Install IIS and setup your first Web site

Views: 207 Introduction: In this article you will learn about how to install IIS and setup your first website. As a first step, we need to enable the IIS in our system; by default it won’t be available To enable just go to Control panel->Program and features->Turn windows features …

958 total views, no views today

Convert Code Behind Files or Class Files into One dll File in Visual Studio

Views: 37 Background A few days back, I got a requirement from a client saying that they needed a package of the project which should not explicitly contain any code behind files or class files because their code had some confidential data and they didn’t want to explicitly transfer it. …

185 total views, no views today

Fix to FileUpload Control is Not Working in Update Panel

Views: 48 Reason for Problem File upload control will not work in the Partial (asyn) Post back and it requires full post back. Solution for Problem Just add marked three lines of code like the below screen shot, Sample snag it, Before Fix AfterIt’s Fixed 176 total views, no views today

176 total views, no views today

Read Excel Files Using Microsoft Office Interop Assemblies in ASP.NET C#

Views: 71 Background A few days ago I got a requirement to read Excel files and store those values in the Sql server database. So in this example am going to show how to get the basic four import datas such as Excel Work Book Name, Worksheet Count in that …

192 total views, no views today