- 博客(10)
- 收藏
- 关注
原创 Repeater数据控件的嵌套
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCCategories.ascx.cs" Inherits="UserControls_UCCategories" %><%@ Register Src="~/UserControls/HelperUCCategoriesByParrent.ascx" TagNam
2012-06-08 00:09:18
445
转载 SQL高级语句
SQL Server T-SQL高级查询高级查询在数据库中用得是最频繁的,也是应用最广泛的。 Ø 基本常用查询 --selectselect * from student; --all 查询所有select all sex from student; --distinct 过滤重复select distinct sex from student;
2012-06-06 21:54:21
424
转载 99乘法表
//打印表头 Console.WriteLine("九九乘法表"); //打印九九表 for (int i = 1; i <= 9; i++) { //计算并格式化输出九九表的内容 for (int j = 1; j <= i;
2012-06-03 22:38:59
422
转载 调用用户控件
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class Admin_UserControls_UCBulletinCat
2012-05-27 23:45:25
297
原创 在后台调用FormView控件并赋值
(this.FormView1.FindControl("BeginDateTextBox") as TextBox).Text = DateTime.Now.ToString("yyyy-MM-dd"); (this.FormView1.FindControl("EndDateTextBox") as TextBox).Text = DateTime.Now.AddDays(7).ToStr
2012-05-27 23:41:54
668
转载 保存图片到数据库
protected void ButtonAdd_Click(object sender, EventArgs e) { if (this.UCCategoryTree1.SelectedCategoryID == -1) { this.Literal1.Text = "请选择商品类别"; retur
2012-05-27 01:15:04
443
转载 获取web 用户控件里的treeview 值
public event EventHandler CategorySelected = null; protected void TreeViewCategory_SelectedNodeChanged(object sender, EventArgs e) { if (this.TreeViewCategory.SelectedNode != null)/
2012-05-27 01:12:00
433
原创 SQL面试题目
/*SQL经典面试题及答案2007年07月27日 星期五 上午 8:421.一道SQL语句面试题,关于group by表内容:2005-05-09 胜2005-05-09 胜2005-05-09 负2005-05-09 负2005-05-10 胜2005-05-10 负2005-05-10 负如果要生成下列结果, 该如何写sql语句? 胜 负2005
2012-05-23 16:06:11
517
原创 绑定控件treeview
public class TreeBuilder{ public static StoreDataSetTableAdapters.CategoriesTableAdapter DA;//调用一个数据集 static TreeBuilder() { DA = new StoreDataSetTableAdapters.CategoriesTabl
2012-05-21 00:43:02
371
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人