Monday, August 20, 2018

icici bank lone calculation Online software | Web applications | Dynamically lone and interest calculation online software | Sradha Webcreations

icici bank lone calculation Online software | Web applications | Dynamically lone and interest calculation online software 

ICICI.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ICICI.aspx.cs" Inherits="ICICI" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            height: 23px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
       
        <asp:MultiHandleSliderExtender ID="multiHandleSliderExtenderTwo"
            runat="server" TargetControlID="TextBox2"
            BehaviorID="multiHandleSliderTwo" Minimum="1" Maximum="100"
            Steps="50" Length="150" TooltipText="{0}">
            
            <MultiHandleSliderTargets>
            <asp:MultiHandleSliderTarget ControlID="TextBoxYearTo" />
            <asp:MultiHandleSliderTarget ControlID="TextBoxYearFrom"/>
            </MultiHandleSliderTargets>
        </asp:MultiHandleSliderExtender>
       
        <table align="center" style="font-weight: 700">
            <tr>
                <td colspan="2">
                    IcIcI Prudencial Rate of Interest Calculation</td>
            </tr>
            <tr>
                <td>
                    Investment Amount</td>
                <td>
                    <asp:TextBox ID="TextBoxInvestmentAmount" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Term Of Years</td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <
            <tr>
                <td>
                    Years to</td>
                <td>
                    <asp:TextBox ID="TextBoxYearTo" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Year form</td>
                <td class="style1">
                    <asp:TextBox ID="TextBoxYearFrom" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
               
                <td>
              <asp:Button ID="ButtonReturn_Value" runat="server" style="font-weight: 700"
                        Text="Return Value" onclick="ButtonReturn_Value_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    Interest Value
                    To</td>
                <td style="margin-left: 40px">
                    <asp:TextBox ID="TextBoxReturnValue" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Total Return Value</td>
                <td style="margin-left: 40px">
                  <asp:TextBox ID="TextBoxTotalReturnValue" runat="server"></asp:TextBox>
                </td>
            </tr>
           
            <tr>
                <td>
                    Interest Value
                    From</td>
                <td style="margin-left: 40px">
                   <asp:TextBox ID="TextBoxReturnValueFrom" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Total Return Value From</td>
                <td style="margin-left: 40px">
             <asp:TextBox ID="TextBoxTotalReturnValueFrom" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
ICICI.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ICICI : System.Web.UI.Page
{
        protected void ButtonReturn_Value_Click(object sender, EventArgs e)
    {
        double dInvestMent;
        double dinterest;
        double dTotalInterestAmount;
        double DtotalReturn;

        dInvestMent = Convert.ToDouble(TextBoxInvestmentAmount.Text);
        dinterest = Convert.ToDouble(TextBoxYearTo.Text);
        dTotalInterestAmount = dInvestMent * dinterest / 100;
        TextBoxReturnValue.Text = Convert.ToString(dTotalInterestAmount);
        DtotalReturn = dInvestMent + dTotalInterestAmount;
        TextBoxTotalReturnValue.Text = Convert.ToString(DtotalReturn);
        dinterest = Convert.ToDouble(TextBoxYearFrom.Text);
        dTotalInterestAmount = dInvestMent * dinterest / 100;
        TextBoxReturnValueFrom.Text = Convert.ToString(dTotalInterestAmount);
        DtotalReturn = dInvestMent + dTotalInterestAmount;
        TextBoxTotalReturnValueFrom.Text = Convert.ToString(DtotalReturn);
    }
}




No comments:

Post a Comment