Tag Archives: C#

ref – out : at a glance

The ref The ref keyword causes argument passed by reference. The effect is that any chnages is made to the parameter in the method will be reflected in that variable when control passes back to the calling method. To use a ref parameter, both the method definition and the calling method must explicitly use the

Read More

Control State, Partial Class, Iterators, Nullable ā€“ At a glance

Control State Control State is a new feature added in Asp.net2.0 framework. Control state is very similar to View State, where value is stored in the hidden_VIEWSTATE form field, with a little difference i.e. Control State cannot be disabled. Control state is intended to be used only for storing crucial information across postbacks. Partial Classes

Read More

A Simple VideoPlayer Custom COntrol – Uses in application

In my previous post, I have presented a Video Player Custom control which plays all type of streaming media. Now, here I am presenting a simple way to apply the same custom control in web application. File Name : VideoPLayerCustomControl.aspx<%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=”VideoPLayerCustomControl.aspx.cs” Inherits=”VideoPLayerCustomControl” %> <%@ Register TagPrefix=”whPlayer” TagName= “vaPlayer” Src=”~/videoPlayer.ascx” %><!DOCTYPE html PUBLIC

Read More

A VideoPlayer – Custom Control

Some day ago, I have faced a little problem to show streaming contents on my Web-Projects, I have gone through many R & dā€™s and then decided to write a custom control for the same, then I have written a custom control. Here, the same, I want to share with you:File Name : videoPlayer.ascx <%@

Read More

random

How to shuffle results – SqlServer?

This is an interesting question asked by Mr. Ram Nath Rao.The history is: Mr. Nath wants to shuffle his record(s) every time when the page refreshes, the same has been tried with the use of rand() function by him. Unfortunately, the results were not as expected. Now, lets elaborate some of interesting points towards this

Read More

Code-Review-Guidelines

How to review .net application?

This is not the end when any application has been developed. After development there are many steps which must have to pass by an application. The same process is know as Code-Review process. Here are certain guidelines which are assembled by me for my work, I hope these will suits you. Your comments and further

Read More