摘要:
C# 控件的缩写1 btn Button 2 chk CheckBox 3 ckl CheckedListBox 4 cmb ComboBox 5 dtp DateTimePicker 6 lbl Label 7 llb LinkLabel 8 lst ListBox 9 lvw ListView 10 mtx MaskedTextBox 11 cdr MonthCalendar 12 icn N... 阅读全文
摘要:
在webform上实现走马灯效果 前台:<MARQUEE.stop().start() scrollamount=1 scrolldelay=1 direction= left border="1" style="width: 31%; height: 16px;"><%=Structure%></MARQUEE> 后台:public string Struct... 阅读全文
摘要:
WebUserControl.ascx.cs 文件public delegate void myDelegate(string a,string b); public event myDelegate EventRefresh; private string _客户id; private string _录音编号; public string p_客户id { set { _客户id = valu... 阅读全文
摘要:
在webform开发中难免会遇到将GrilView中的数据转换成DataTable,下面的类将实现这个功能,但仅是显示出来的数据,如有分页得另行处理。 using System;using System.Collections.Generic;using System.Text;using System.Web.UI.WebControls;using System.Data;using Syst... 阅读全文
摘要:
在Ajax Control Toolkit控件包中,发现CalendarExtender日历控件,只要把控件拖入就能够使TextBox弹出日期选择。可显示的都是英文。解决方案:在<asp:ScriptManager>控件里设置两个属性,如:<asp:ScriptManager EnableScriptGlobalization=true EnableScriptLocalizat... 阅读全文
摘要:
基本用法:<frameset rows="20%,*"> <!--水平划分的第一个部分加载sample25_top.htm文件--> <frame src="sample_top.htm" name="top"> <!--水平划分的第二个部分并没有加载文件,是再垂直划分为两个部分--> <frameset cols="30%,*">... 阅读全文
摘要:
在Asp.net 中Cookie的用法 protected void Page_Load(object sender, EventArgs e) { HttpCookie cookie = new HttpCookie("aspcn");//声明 Response.AppendCookie(cookie); } protected void Button1_Click(object sender,... 阅读全文
摘要:
以下是html调用示例,ClassID为用vb自带的打包工具,打包获得的。<html><br><OBJECT ID="CtiClient"CLASSID="CLSID:FA2B1B95-359E-4320-BAB5-286450B9D863"CODEBASE="Cti_Client1100504.CAB#version=1,0,0,8"></OBJECT&... 阅读全文