Code for Validating Checkbox in asp.net with required field validator asprockers 17:04:00 Above I have placed an ASP.Net Custom Validator besides the ASP.Net Checkbox control. For the ASP.Net Custom Validator I have specified the... Continue Reading
Get (Read) Connectionstring from App.Config File in C# asprockers 16:47:00 Introduction : Here I will explain how to read or get connectionstring from app.config file in c# . By using System.Configuration refe... Continue Reading
Discount Code In C# asprockers 17:27:00 Discount Coding In C# double a = Convert.ToDouble(DropDownList1.SelectedItem.ToString()); double b = Convert.ToDouble(2); ... Continue Reading
Generate Random Code In C# asprockers 10:15:00 Generate Random Code In C# private void generate() { var chars = "0123456789"; var stringChars = n... Continue Reading
Email Validation in Windows Application C# asprockers 17:45:00 System.Text.RegularExpressions.Regex rEMail = new System.Text.RegularExpressions.Regex(@"^[a-zA-Z][\w\.-]{2,28}[a-zA-Z0-9]@[a-zA-Z0-9]... Continue Reading
How To Validate Dropdownlist In Asp asprockers 16:07:00 While binding dropdownlist add the line below dd1.Items.Insert( 0 , " Select" ); And for validation you can write below code... Continue Reading
script for display message on browser TechQtum 15:01:00 ScriptManager.RegisterStartupScript(this, typeof(string), "alert", "alert(' write you want to... ')", true... Continue Reading
Get Mac Address On C# TechQtum 18:23:00 public string GetMACAddress() { NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); S... Continue Reading
Show Country Name Using Dropdown TechQtum 19:07:00 <font size="2" color="#3F621F" face="Arial"> Country Name </font> <asp:DropDownList ID=... Continue Reading
Print Page Using Script TechQtum 19:01:00 Html Code........... <div Id="print"> // Contain U Want to Print....... </div> <input id="Butto... Continue Reading
Using Gridview Row Command Event fetch data on textbox on form TechQtum 18:23:00 Step 1: Create web Page and Insert Following Control in Form tag: <form id="form1" runat="server" > ... Continue Reading
Add data from Textbox to GridView on button click asprockers 17:07:00 C# Code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using... Continue Reading
Download Pdf Using Hyperlink asprockers 12:10:00 <asp:HyperLink ID="HyperLink1" runat="server" Text="kaushik" NavigateUrl="kaushik.pdf" /... Continue Reading
Delete Previous version files in all windows asprockers 10:12:00 1) Run 2) Cleanmgr 3) Scan Your Files And Select Previous Windows Installation 4) Delete Files Happy To Help You Continue Reading
How to Dynamically Add current date using C# asprockers 19:56:00 DateTime datetime = DateTime . Now; this . time_lbl . Text = datetime . ToString ( ); Continue Reading
Create a bootable USB flash drive TechQtum 17:52:00 Create a bootable USB flash drive 1. CMD 2. DISKPART 3. LIST DISK 4. SELECT DISK (number) 5. CLEAN 6. CREATE PARTITION PRIMARY 7. F... Continue Reading