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

Views: 35 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. …

182 total views, no views today

Use JavaScript Function on blur() and on focus() in ASP.NET

Views: 24 Step 1 Just drag one simple textbox from toolbox and just add attributes like the below screen shot. Step 2 Then as we know, just write the required functions inside the Script tag like below: That’s it, now this function will be triggered inthe  client side and you …

151 total views, no views today

Import and Export Excel Files into Varbinary (Max) in SQL Server

Views: 127 Introduction In this article you will get the detail about How to Import and Export Excel files into varbinary(max)in Sql server Using C# What are advantages of storing as varbinary file? We need not to depend on the file system, It will avoid the legal issues and …

325 total views, no views today

Fix to FileUpload Control is Not Working in Update Panel

Views: 39 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 170 total views, no views today

170 total views, no views today

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

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

188 total views, no views today

Fix To: The Out Parameter Must Be Assigned to Before Control Leaves the Current Method

Views: 20 Introduction The out keyword causes arguments to be passed by reference. To use an out parameter, both the method definition and the calling method must explicitly use the out keyword. Although variables passed as out arguments do not have to be initialized before being passed, the called method …

122 total views, no views today