Dynamic Controls in VB.NET.............................
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Try ...
Image Upload and Display in VB.NET........................
<ajaxToolkit:AsyncFileUpload ID="pfepimage" Width="205px" runat="server" UploaderStyle="Modern" ...
Database Connection and Function in one class using VB.NET
DataConnect.vb Imports System.Configuration.ConfigurationManager Imports System.Data Imports System.Data.Sql Imports System.Data.SqlClient Public Class DataConnect Private Shared _DataConnect As DataConnect Private...
Dynamic numeric and null validation for textbox in VB.NET
Dim txt As New TextBox() txt.ID = "txt" & i.ToString() ...
Dynamically load usercontrols in vb.net
Dim lanedoors As New LaneDoors lanedoors = LoadControl("~/LaneDoors.ascx") ...
Property setting in usercontrol in vb.net
Public Property DoorNo() As String Get Return m_DoorNo ...
Property setting in usercontrol in vb.net
Public Property DoorNo() As String Get Return m_DoorNo ...
Attributes add for controls in gridview in asp.net with c#
protected void dglistinner_ItemDataBound(object sender, DataGridItemEventArgs e) { try { ...
Jquery form validation in asp.net
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Show Inline validation Messages</title> <link href="css/template.css" rel="stylesheet" type="text/css" /> <link href="css/validationEngine.jquery.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.6.min.js" type="text/javascript"></script> <script...
Jquery form validation in asp.net
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Show Inline validation Messages</title> <link href="css/template.css" rel="stylesheet" type="text/css" /> <link href="css/validationEngine.jquery.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.6.min.js" type="text/javascript"></script> <script...
Ajax cascading dropdownlist with database using asp.net
<%@ Register Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" tagPrefix="ajax" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="scriptmanager1" runat="server"></asp:ScriptManager> <div> <table> <tr>...
Show gridview images with lightbox effect using asp.net
<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <style type="text/css"> .Gridview { font-family:Verdana; font-size:10pt; font-weight:normal; color:black; } .black_overlay{ display:none; position: absolute; top: 0%; left:...
SQL query to create table
USE [Surgere1] GO /****** Object: Table [dbo].[asn] Script Date: 04/28/2012 10:08:14 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET...
Passing values to Stored Procedure in VB.NET
Dim cmd As New SqlCommand cmd.CommandType = CommandType.StoredProcedure cmd.CommandText =...
Ajax ConfirmationBox using jQuery in asp.net
Default.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>...