Category Archives: Asp, Asp.net

ArrayList Example In Asp.Net

ArrayList Example In Asp.Net In this post we will learn how to use ArrayList in asp.net.ArrayList dynamically resizes, as elements are added, it grows in capacity to accommodate them. Design: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>ArrayList Example In Asp.Net</title> <style type="text/css"> body { width: 980px; margin: 0px auto;

How To Store GridView Data In SQL Server Database Row By Row Basis

How To Store GridView Data In SQL Server Database Row By Row Basis In this tutorial we will learn Gridview Rows Store In Database Rows or how to store gridview data in SQL Server database row by row basis. Design View: <div> <table> <asp:Panel ID="panelgrid" runat="server" BackColor="White" BorderStyle="None"> <tr><td colspan="5"> <asp:GridView ID="GridView1" runat="server" AllowPaging="true" HeaderStyle-ForeColor="white" AutoGenerateColumns="false"

Hide Label Automatically After Some Seconds Using JavaScript

Hide Label Automatically After Some Seconds Using JavaScript In this tutorial we will explain how to Hide Label Automatically After Some Seconds Using JavaScript.Here we are using Textbox, Label and a submit button.By default label is set invisible, on click of button label is visible and will be invisible after 4 seconds automatically. Design View: <%@

How To Create New Asp.Net MVC 5 Site From Empty Template

How To Create New Asp.Net MVC 5 Site From Empty Template In this tutorial we will learn How To Create New Asp.Net MVC 5 Site From Empty Template. We will start to create a new asp.net MVC 5 site from scratch with empty template. Here we are using Visual Studio 2013 so some controls differ in

How To Check Website URL Exists Or Not Using C#

How To Check Website URL Exists Or Not Using C# In this tutorial we will explain How To Check Website URL Exists Or Not Using C#.Sometime during registration we require website URL or web address, to check that URL or web address is correct this tip is very useful. Code: using System.Net; protected void btnwebStatus_Click(object sender,

What is the Difference Between RegisterStartupScript() Method and RegisterClientScriptBlock() Method?

What is the Difference Between RegisterStartupScript() Method and RegisterClientScriptBlock() Method? Both, RegisterStartupScript() method and RegisterClientScriptBlock() method will inject Javascript code that will fire during start up of subsequent postback. The RegisterClientScriptBlock method inserts the client-side script immediately below the opening tag of the Page object’s element. The code cannot access any of the form’s elements

Check Username Availability Using Ajax In Asp.Net

Check Username Availability Using Ajax In Asp.Net In this post we will learn how to Check Username Availability Using Ajax In Asp.Net.Here we are using Asp.Net Ajax functionality to accomplish this.On TextChanged event of textbox we are checking in Database for the same username existence. Design: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit"