Software / Technology Tips

Crystal Report viewer object – Why disposing is necessary

Disposing of object is necessary thing after the job is done, but we hardly take care of this fact. In recent scenario, it hardly mater any space consumption if we don’t dispose any object. But there are some cases where, if you ignore the disposition thing, your life could be hell. One among them is…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Creating a simple Line graph using PHP without using Flash

We have to create a php page and call it graph.php or anything else you want. In this page we have to first create a blank image with some height and width of deault values. What is 0,220,10,40 ? This is basically x1,y1,x2,y2 coordinate points on the blank image to create the line. Now lets…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Be Careful while dealing with dynamic type and System.DBNull in C# 4.0 (beta)

C# 4.0: Provides many new, useful and powerful features. One of those is “dynamic” type. “You can have a number of references with search keyword . I love to use it. I was facing a particular situation while executing sql statement (particulary returning a scalar value) and then returning the result. I thought of using…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Please Wait Message/ Image While Loading A Crystal Report

While working with CrystalReport we usually meet situations in which the report will take more then usual time in loading.Here i am talking about crystal report but it may be the situation of any heavy page. In these situation due to lack of information user may try to click or may be close the browser…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How To Encrypt All Store Procedure In SQL Server Database

By encrypting all stored procedures user can only execute but not see or modify any of the SPs CREATE TABLE #backup ( id BIGINT IDENTITY(1, 1), sptext NVARCHAR(MAX) NOT NULL, spname NVARCHAR(100) NOT NULL, encrypttext NVARCHAR(MAX) NULL, encryptstatus BIT NOT NULL DEFAULT ( 0 ) ) DECLARE @sptexttable TABLE ( id BIGINT IDENTITY(1, 1), sptext…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to change display text of a lookup field in Dynamics CRM 2011 using JavaScript

Usually when we select a value in a lookup field it displays the Primary Name Field in the text after selection. However it holds the PrimaryIDField in the background. While working on a requirement a need arose to display a field in the LookUp display which is not a PrimaryNameField. Let’s consider the Account Lookup…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

HttpHandler(ashx) Vs aspx with Json Data

Recently I came across a situation where I was using aspx page to return Json Data to bind a flex . It  was going well (mostly all the times ) except a situation (Probality with 1 out of 10 )  where  I was getting redundent  JSON data from aspx page . Then I  got a…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How To Make A LINQ Query Result To Be Specific Class Type

We have a requirement to parse an XML document.I have parsed the document with LINQ to XML which results the data type to be’ var’.But I want to make it to be a data type which is accepting a specific class type. XML Test 21 1 5 Test1 22 1 7 LINQ Query: XDocument msSqlDoc…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Display The Route Between Two Places Using Bing Maps Windows Store App JavaScript SDK In Windows Store App

Let’s first create a new project and add the Bing maps for JavaScript reference. Step 1: We need to  create two textboxes for  taking the values of two places so following code snippets we need to add in the default.html Enter the places From: To: Route clear Step 2: Let’s add a new Js file…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Warning the user before leaving the page

Warning the user before leaving the page !!! Difficulty Level : Intermediate You might have seen in many of the web form pages to warn the user before closing the page.When somebody refreshes the page, then there is a chance for loosing all filled data. In that case it is very helpful. Page life cycle…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!