How to resolve Assembly references problem

Views: 1,903 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,913 total views, 2 views today

Bind Data to GridView From Different Data Sources

Views: 318 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 …

911 total views, no views today

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

Views: 329 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 …

1,080 total views, no views today

Fix to FileUpload Control is Not Working in Update Panel

Views: 178 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 183 total views, no views today

183 total views, no views today

How to Log an Exception With a Simple Example in C#

Views: 52 Introduction In this article, I have shared how to log an exception in a text document so that it will be stored permanently in the database. I have attached the source code in the attachment section. Write the following code in catch block of any event:


144 total views, no views today