Posts

Showing posts from September, 2012

get all the drop down list id and value from place holder c#

            // Retrieve the selected product options             string options = "";             foreach (Control cnt in Place.Controls)             {                 /*                 if (cnt is Label)                 {                     Label attrLabel = (Label)cnt;                     options += attrLabel.Text;                 }                 */                 if (cnt is DropDownList)                 {                     ...

dynamic dropDown

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.dropdownlist.dropdownlist.aspx

well c# data query site

http://coderscooler.com/2011/02/09/programmatically-querying-ms-sql-in-c/

ajax loader c#

Page: <% @ Page Title = "" Language = "C#" MasterPageFile = "~/RoseindiaMaster.master" AutoEventWireup = "true" CodeFile = "UpdateProgress.aspx.cs" Inherits = "UpdateProgress" %> < asp : Content ID = "Content1" ContentPlaceHolderID = "head" runat = "Server" > </ asp : Content > < asp : Content ID = "Content2" ContentPlaceHolderID = "ContentPlaceHolder1" runat = "Server" > < div > < h2 style = "color: Green" > UpdateProgress in ASP . NET 4 , C #</ h2 > < asp : ScriptManager ID = "ScriptManager1" runat = "server" > </ asp : ScriptManager > < asp : UpdateProgress ID = "UpdateProgress1" runat = "server" AssociatedUpdatePanelID = "UpdatePanel1" > < ProgressTemplate > < img alt = "" src = "Images/...

asp code standard

Nice .net coding standard tutorial Site Click Here

some network command

Host Name: hostname NetWork address: ipconfig

master new

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Net; using System.Text.RegularExpressions; namespace FusionChartTest {     public partial class SiteMaster : System.Web.UI.MasterPage     {         protected void Page_Load(object sender, EventArgs e)         {             string current_file = Path.GetFileName(Request.Path); ///Path.GetFileName(Request.Path);             if (current_file == "default.aspx" || current_file == "Default.aspx")             {                 //string inputString;        ...