Posts

Showing posts from July, 2015

Alert Message using C#

Alert Message Using C# in ASP.NET  --------------------- Method 1 ScriptManager .RegisterClientScriptBlock( this , this .GetType(), "alertMessage" , "alert('Your Selected AccountID is : " + AccountID + "')" , true ); -------------------- Method 2 ClientScript.RegisterStartupScript ( this .GetType(), "alert" , "alert('Insert is successfull')" , true ); 

Calculate Simple Interest

Calculate Simple Intersert  Calculate Simple Interest in Sql Server 2008 DECLARE @P float ; DECLARE @R float ; DECLARE @T float ; DECLARE @SI float ;     set @P = 50000 ;     set @R = 05;     set @T = 05;     set @SI = @P*@R*@T/100     select @SI as 'Simple Interest'   Calculate Compound Interest select @P* POWER ((1+@R/100),@T)-@P as 'compoundInterest'