摘要:
1.将某种数据类型的表达式显式转换为另一种数据类型。CAST 和 CONVERT 提供相似的功能。 语法:CAST ( expression AS data_type ) 例子:cast(replace(Code,'Guide','') as int ) code是表的某一列: code Guide2 Guide9 Guide10 Guide6 阅读全文
摘要:
数据库:SqlServer2000表:tree表结构:测试数据:算法:使用递归实现======================================asp.net代码:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using ... 阅读全文