摘要:第一个就是要解决SL访问Web Service跨域访问的问题看MSDN和网上的资料,里面都说在在承载服务的域的根目录中放置一个 clientaccesspolicy.xml 文件,以配置服务允许跨域访问。 [代码]在承载服务的域的根目录中放置一个有效的 crossdomain.xml 文件。 该文件必须将整个域标记为 public。Silverlight 支持 crossdomain.xml 架构...
阅读全文
文章分类 - .net2.0&ajax
.net2.0,ajax,sql
摘要:子控件OnInit页面OnInit子控件构造函数子控件Property设置页面OnLoad子控件OnLoad页面Button Click事件
阅读全文
摘要:AjaxPro运行原理 Annce 2008-10-28服务器端调用Utility.RegisterTypeForAjax向客户端添加ashx脚本块引用AjaxPro.Utility.RegisterTypeForAjax(typeof(_Default))为.ashx设置处理程序<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro...
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections.Generic;usingS...
阅读全文
摘要:注:本文部份资料来自网络,如有侵权,请与我联系,我会在第一时间声明引用或将其删除! 当初学 C# 时是找个人大概问了一下数据类型和分支语句就开始做项目了。这两天又全面的看了一下相关的基础知识(学而时习之嘛),总结了25个问题:1.静态成员和非静态成员的区别?2.const 和 static readonly 区别?3.extern 是什么意思?4.abstract 是什么意思?5.internal 修饰符起什么作用?6.sealed 修饰符是干什么的?7.override 和 overload 的区别?8.什么是索引指示器?9.new 修饰符是起什么作用?10.this 关键字的含义?11.可
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Windows.Forms;using System.IO;#endregionnamespace DES_2nd{ partial class Form1 : Form { public Form1() { InitializeComponent(); } Func.Func F = new Func.Func(); // 初始化函数库 pri
阅读全文

浙公网安备 33010602011771号