Banner Ad

Sunday, December 21, 2014

An easy way to construct the Connection String in ASP.Net

By Francis   Posted at   7:26 AM   Connection String 2 comments
Connection strings are necessary when you want to interact with any databases like SQL Server, MSAccess etc. Most probably if you are using ADO.Net Concepts to interact with Database then you can aware about the connection string. In this article

Saturday, December 20, 2014

ASP.Net MVC – Create Custom HTML Helpers

By Francis   Posted at   11:52 AM   Razor No comments
Html Helpers are classes that helps to render HTML controls in Views. We can also create our own HTML Helpers. In this post, I’m going to explain how to create a simple Custom HTML Helper. The main purpose creating custom

Tuesday, December 9, 2014

Design Pattern - An Introduction

By Francis   Posted at   5:08 PM   Design Pattern No comments
                                  Few weeks ago, I commit to take an session about design pattern in my organization. As a matter of fact, I’m not a big fan of design pattern. However, I began dwell with design pattern, I found interesting on

Sunday, October 5, 2014

ASP.Net Forums–FAQ #6: ASP.Net Session Expired Problem

By Francis   Posted at   12:29 AM   IIS Tips and Tricks 1 comment
Most of the asp.net application using session, especially data driven applications. Mostly these kind of application using “Inproc” mode of session. During development the developer does not face any kind of problem with the session. When deploy the application the

Saturday, September 27, 2014

How to disable the “tooltip” for a Asp.net control programmatically?

By Francis   Posted at   12:31 AM   ASP.Net with Javascript No comments
One of the forum member ask this question in the asp.net forum. The answer is yes, we can use a simple javascript to achieve this functionality. Take a look at the below code: Using Javascript: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title>

Monday, September 15, 2014

ASP.Net Forums - FAQ #5: How to change the Title Case of a string to Uppercase in Server Side?

By Francis   Posted at   12:04 PM   ASP.Net Forums No comments
One of the user in the forum asked similar to this question. In server side, I thought take the string, and covert it to character array and loop thru the character and change the first Letter alone to capital letter.

Wednesday, August 27, 2014

Settled with Cognizant!!!

By Francis   Posted at   7:08 AM   General No comments
           After a last couple of month (serious ) job hunt ended with an offer with Cognizant, an multinational IT giant in India. As a asp.net blogger, I missed out a lot for the last few months. Hope this change

Thursday, July 17, 2014

Daily Interview Question #14 : What is Cross-Page Posting?

By Francis   Posted at   1:22 PM   ASP.Net Interview Questions No comments
Cross page posting is used to submit a page (page1.aspx) to another page (page2.aspx). However, the user can still able to access the first page’s (page1.aspx) controls, properties etc in the second page (page2.aspx). In order to access the first

Sunday, July 13, 2014

Daily Interview Question #13 : What is “Postback”?

By Francis   Posted at   4:42 PM   ASP.Net Interview Questions No comments
                     In ASP.Net postback means, page posted back itself to the server(IIS) whenever an event triggered. That is, page is submitted to the same url. The event may be a button click or dropdown list changed etc. Postback can be

Tuesday, July 8, 2014

Daily Interview Question #12 : What is the purpose of “sealed” keyword in C#?.

By Francis   Posted at   6:31 PM   C# Interview Questions No comments
1. When you want to prevent an class from being inherited by another class, you should use “sealed” keyword in front of the class.

Wednesday, June 25, 2014

Daily Interview Question #11 : What are the different Session Modes available in ASP.Net?

By Francis   Posted at   5:07 PM   ASP.Net Interview Questions No comments
                              In ASP.Net, “Session Mode” denotes where the ASP.Net application is going to store the user session information.  This can be specified in the Web.Config file

Sunday, June 1, 2014

Daily interview Question #10 : what is the purpose of "explicit" implementation of interface?

By Francis   Posted at   7:32 AM   CodeProject No comments
There are 2 purposes of explicit implementation of Interface: First, it is used to avoid name collision between interface methods. That is if you are going to create a class library, there may be a chance to use the same

Friday, May 16, 2014

Daily interview Question #9: what is the purpose of ref and out parameters in C#?

By Francis   Posted at   9:00 AM   No comments
          Ref keyword is used to send the particular parameter as a reference to the function or subroutine.           In some cases we may want to return value from the function but we don't want to use that variable within

Sunday, May 11, 2014

ASP.Net Forums - FAQ #4 : Running ASP.Net website from Home

By Francis   Posted at   3:20 PM   ASP.Net Forums 1 comment
                                           Here is the next question for a newbie who are wish to run a ASP.Net website from home or going with a hosting company. However, as per my experience I suggest to instead of running website from home, you

Thursday, May 1, 2014

A List of Developer Tools : A Tech blogger must have

By Francis   Posted at   6:27 PM   Blogging No comments
                    I Love Technology blogging. Since the beginning of this blog, I have lot of troubles to write my articles, to show my output of my demo, Convert code from vb.net to C# and vice versa etc. So some useful

Monday, April 21, 2014

File Upload Control–How to give same UI in all browsers?

By Francis   Posted at   6:56 PM   CodeProject No comments
                                  As all of know, the File Upload control is used to upload your favourite files to the server. One of the biggest challenge while using this control is UI issue. That is this control is rendered in a different

Friday, April 18, 2014

ASP.Net Forums - FAQ #2 : ASP.Net Project Ideas

By Francis   Posted at   8:17 AM   ASP.Net Forums No comments
                                              ASP.Net Forums have tons of Questions. I have preferred some most frequently questions and give a detailed explanation here. This one also I encountered a lot in the ASP.Net Forums. Most of the college students and beginners are asked

Wednesday, April 16, 2014

Daily Interview Question #8 : What are the efficient ways to show million records in a page?

By Francis   Posted at   1:27 PM   No comments
The below answer is my own suggestions that I gave as an answer.                   In practical there is no need of pull million of records at one call. Instead of that we can show 10 or 100 of records in

Monday, April 14, 2014

JQuery Tips and Tricks #1–Simple Addition using JQuery

By Francis   Posted at   5:51 AM   JQuery Tips No comments
                                In this post we are going to see a simple addition of 2 numbers using JQuery. Copy and paste the below code:

Sunday, April 13, 2014

ASP.Net Forums – FAQ #1 : How to enable Adsense in my site?

By Francis   Posted at   8:14 PM   Enable Adsense 1 comment
                         This is the most frequently asked question in ASP.Net Forums. As a Adsense user (struggled with google over 6 months I got my adsense approval), I’m going to explain how to enable adsense in your website regardless of technology

Sunday, March 16, 2014

Daily Interview Question #7: Implicit and Explicit Implementation of Interface

By Francis   Posted at   12:22 AM   OOPS interview Questions No comments
                                                   This is the most common interview question for experienced professionals. Normally an interface can be implemented in a class in a normal way which is a implicit implementation. Sometime, we may have same method name in different interfaces. If

Tuesday, March 11, 2014

Visual Studio Tips & Tricks - 8: Breakpoint will not currently be hit. No symbols have been loaded for this project.

By Francis   Posted at   5:50 PM   Visual Studio Tips and Tricks 2 comments
Most of the developers who are using Visual studio have encountered the above problem. As a ASP.Net Developer I have this atleast once a day. So the below are my tricks to get ride of this issue.   1) Just

Saturday, March 8, 2014

Using MSCaptcha

By Francis   Posted at   9:08 PM   MSCaptcha No comments
                                    Recently, in one of my project I need a captcha for my application. Just a google search provides number of options. I need a open source solution, so I go with krisanov’s solution. I just download and try to

Wednesday, March 5, 2014

VisualStudio Tips & Tricks - 7 : Using Transact-SQL Editor in Visual Studio 2010

By Francis   Posted at   10:13 AM   Visual Studio Tips and Tricks No comments
                           Few months ago, when we upgrade from VSS to TFS, somehow we lost intellisense in SQLServer Management studio 2008 R2. We struggle a lot to obtain. But no luck till now. However, currently we are using Visual Studio 2010,

Tuesday, March 4, 2014

Visual Studio Tips & Tricks – 6 : Multi-Copy functionality in Visual Studio

By Francis   Posted at   12:26 PM   Visual Studio Tips and Tricks No comments
                                    Some time we may need to copy the multiple code snippets (that is we may need to copy and paste lines that are not in order) in a file and paste it in another location of the file inside

Tuesday, February 4, 2014

Daily Interview Question #6: What are the different types of Constructor in C#?

By Francis   Posted at   1:03 PM   C# Interview Questions No comments
Below is the list of Constructors available in C#: 1. Default Constructor 2. Parameterized constructor 3. Static Constructor.   By default constructor have “public” as access specifier. A class can have more than one Constructor. In C# “this” keyword is

Monday, February 3, 2014

Attach Javascript to Button

By Francis   Posted at   2:01 PM   No comments
In this tutorial I’m going to explain how to add a javascript snippet to the ASP.Net server side Button Control.   Code: Copy the below code in an .aspx file:  <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <table> <tr>

Tuesday, January 28, 2014

Daily Interview Question #5 : What is the difference between “Method Overloading” and “Method Overriding”?

By Francis   Posted at   1:47 PM   OOPS interview Questions No comments
td { border: solid 2px lightgrey;} Method overloading Method overriding method overloading used to achieve “early binding” or “static binding”. method overriding used to achieve “late (dynamic) binding” or “runtime polymorphism”. method overloading means, in a class method can be

Monday, January 27, 2014

Daily Interview Questions #4: What is the difference between Abstract Method and Virtual Method?

By Francis   Posted at   1:29 PM   OOPS interview Questions No comments
Abstract Method: Abstract method specified by “abstract” keyword. An abstract method contains no definition. Derived class must implement the abstract methods. Object cannot be created for abstract class. That is abstract class can not be instantiated. Virtual Method: Virtual method

Friday, January 24, 2014

Daily Interview Question #3: What are the MEPs available in WCF?

By Francis   Posted at   11:12 PM   ASP.Net Interview Questions No comments
              MEP is the short form for Message Exchange Pattern. In Windows communication foundation, 3 types of Message exchange patterns are allowed. They are:

Thursday, January 23, 2014

Daily Interview Question#2 : What are the events will be fired when the “gridview.DataBind()” method called?

By Francis   Posted at   11:34 AM   ASP.Net Interview Questions No comments
When the Gridview.DataBind() method called, below events are fired in the following order: Databinding RowCreated  (Called for Each row) RowDatabound (called for each row) DataBound

Wednesday, January 22, 2014

Daily Interview Question #1 : What is Abstract Class?

By Francis   Posted at   10:49 AM   ASP.Net Interview Questions No comments
  An abstract class is like a class with some future. That is: i. It contains at least one or more abstract method(s). ii. It will always act as a base class. iii. It cannot be instantiated. That is not

Grid View : Binding Dropdown inside a Gridview

By Francis   Posted at   9:15 AM   Gridview Sample No comments
In this gridview tutorial, I’m going to explain how to bind a drop down list with in a gridview. The drop down list located inside gridview in a “Template” Column. Paste the below code in an aspx page.
Page 1 of 231234567Next
Connect with Us

Powered by Blogger .
back to top