原创 SharePoint2010與SQL Server 2008 Reporting Services集成方案
來源:http://www.cr173.com/html/15463_1.html 1 Reporting Services簡介 SQL Server 2008 Reporting Services 是一個基於服務器架構的報表服務器的
原创 用GridView讀取XML文檔中的數據
[WebMethod(Description = "用GridView讀取XML文檔中的數據")] public XmlDataDocument xdd_GetXMLData() {
原创 一張表數據轉換成xml格式數據(dataset2XML)
[WebMethod(Description = "[xml格式死板不建議使用]一張學生信息表返回XML格式(dataset轉換成stream 再加載到xml)")] public XmlDocument
原创 XML 字符串轉化成DataSet
/// <summary> /// 將XML格式字符串轉化成DataSet /// </summary> /// <param name="xml">xml字符串</param>
原创 遍歷頁面所有Textbox控件並給他賦值爲string.empty
foreach(system.windows.forms.control control in this.controls) { if(control is system.windowd.forms.textbox) { system.w
原创 WebService 傳輸圖片
[WebMethod] /* WebService中實現了一個方法GetImage(),在內存中生成一張100x100的Bitmap.然後在該Bitmap上畫一條線, 再將這個圖片轉換爲byte[]傳
原创 產生a--z之間的10爲隨機數
分兩種情況: //產生a--z之間的10爲隨機數(不可重複) static void Main(string[] args) Hashtable hashtable = new Hashtable();
原创 boris_WebService
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using S
原创 求和1-2+3-4+……+m
int Num =this.textbox.text.tostring(); int Sum =0; for(int i=1;i<=Num;i++) { if(i%2==1) { Sum+=i; } else { Sum=Sum-i; }
原创 冒泡排序 方法 C#
int[] array =new int[*] int temp =0; for (int i=0;i<array.length-1;i++) { for(int j =1;j <arra.length;j++) { if(arr
原创 序列化基本概念
原文來源:http://blog.sina.com.cn/s/blog_49f485700100gfsl.html 當兩個進程在進行遠程通信時,彼此可以發送各種類型的數據。無論是何種類型的數據,都會以二進制序列的形式在網絡上傳送。發送
原创 GridView 分頁
<asp:GridView ID="gv_1" runat="server" AllowPaging="True" PageSize="10" onpageindexchangin
原创 多表數據(學生表、初中成績表及高中成績表)輸出XML格式
[WebMethod(Description = "學生表、初中成績表及高中成績表輸出XML格式")] public XmlDocument xd_GetM_Grade() { /
原创 遞歸--1 ,2,3,5,8----
public class MainClass { public static void Main() { console.WriteLine(Foo(30)); } public static intFoo(int i) { if(i
原创 向空XML自己添加數據成XML格式
[WebMethod(Description = "向空XML自己添加數據")] public XmlDocument XD() { XmlDocument xmldoc = n