public enum BranchCode
{
Branch1=1,
Branch2,
Branch3
}
Console.Write(((int)BranchCode.Branch2));
public enum BranchCode
{
Branch1=1,
Branch2,
Branch3
}
Console.Write(((int)BranchCode.Branch2));
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
<input type="date" name="DOB" id="dob" placeholder="Date of Birth " >
Input type date takes date in format of yyyy-mm-dd. But it will show you as per your local clock setting.var dt = new Date($("#ddob").val().split("/").reverse().join("/"));
var td = dt.getFullYear() + "-";
month = (dt.getMonth() + 1);
if (month < 10)
td += "0" + month;
else
td += month;
td += "-";
day = dt.getDate();
if (day < 10)
td += "0" + day;
else
td += day;
$("#dob").val(td);
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Form Post is a simple process to submit data to the server. C# works the same as other languages like PHP works. Problems arise with the radio button and checkbox. These controls are different from the textbox. So we need different ways to detect user selection. This is post will help you to learn checkbox and radio button selection using form POST.
<form method="post" >
<input type="radio" name="SalaryPerson" value="1"
checked/> Salary Person
<input type="radio"
name="SalaryPerson"
value="0" /> Self Empployee
<input type="submit" value="Save"
>
</form>
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.