Posts

Showing posts from 2018

Calculator WebService

Image
Calculator WebService Consume in yourApplication Steps : New Project- Add Webservice(asmx) name-  CalculatorWebservice Adding Methods or Function Code ------------------------------- CalculatorWebservice.cs ------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; /// <summary> /// Summary description for CalculatorWebService /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.  // [System.Web.Script.Services.ScriptService] public class CalculatorWebService : System.Web.Services.WebService {     public CalculatorWebService()     {         //Uncomment the following line if using designed components  ...

Forms With Uploading Images

Forms

Creation of Two TextBox in a Single Row

How to Create Two TextBox in a Single-row ?  Please find below code to (Using Bootstrap) __________ ASPX Code __________ <%@ Page Language="C#" AutoEventWireup="true" CodeFile="twworows.aspx.cs" Inherits="twworows" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Two Rows</title>     <meta charset="utf-8" />     <meta name="viewport" content="width=device-width, initial-scale=1" />     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" />     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>     <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>     <script src="https://maxc...

Add Social Links in Website Using BootStrap

Add Social Links in Website Using Bootstrap ____________ ASPX Code ____________ <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Link.aspx.cs" Inherits="Links_Portal.Link" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Links</title>     <link rel="stylesheet" href="StyleSheet1.css" />     <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"          integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous"/> </head> <body>     <form id="form1" runat="server">         <div>             <ul>                 <li><a href="#"><i class="fa fa-faceb...

Forms

Registration Form  ---------------- ASPX Code ---------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Form.aspx.cs" Inherits="Form" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Form</title>     <meta charset="utf-8"/>   <meta name="viewport" content="width=device-width, initial-scale=1"/>   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"/>   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>   <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></s...

Registration form with validation

Registration form with validation --------------------- Aspx Designing --------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Details.aspx.cs" Inherits="Details" %> <!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>       <link rel="Stylesheet" type="text/css" href="StyleSheet.css" />    <script src="jquery-3.3.1.min.js" type="text/javascript"></script>    <script type="text/javascript">           /*code: 48-57 Numbers        8  - Backspace,        35 - home key, 36 - End key        37-40: Arrow keys, 46 - Delete key*/        function restrictAlphabets(e...