ASP.NET 获取MSN联系人列表
2008-07-22 16:32
369 查看
用到的是 DOTMSN 大家可以从 这里 下到它的代码....
功能很简单...写的有点槽了...不过功能是实现了....
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div align="center">
<ul>
<li>
用户名:<asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>
</li>
<li>
密 码:<asp:TextBox ID="txtPassWd" TextMode="Password" runat="server"></asp:TextBox>
</li>
</ul>
<asp:Button ID="Button1" runat="server" Text="登陆" onclick="Button1_Click" />
<br />
<asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
<br />
<hr />
<asp:ListBox Height="200" ID="ListBox1" runat="server" SelectionMode="Multiple"></asp:ListBox>
</div>
</form>
</body>
</html>
CS
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;
using XihSolutions.DotMSN;
using XihSolutions.DotMSN.Core;
using XihSolutions.DotMSN.DataTransfer;
public partial class _Default : System.Web.UI.Page
您还可以点 这里 下载全部代码.
功能很简单...写的有点槽了...不过功能是实现了....
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div align="center">
<ul>
<li>
用户名:<asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>
</li>
<li>
密 码:<asp:TextBox ID="txtPassWd" TextMode="Password" runat="server"></asp:TextBox>
</li>
</ul>
<asp:Button ID="Button1" runat="server" Text="登陆" onclick="Button1_Click" />
<br />
<asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
<br />
<hr />
<asp:ListBox Height="200" ID="ListBox1" runat="server" SelectionMode="Multiple"></asp:ListBox>
</div>
</form>
</body>
</html>
CS
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;
using XihSolutions.DotMSN;
using XihSolutions.DotMSN.Core;
using XihSolutions.DotMSN.DataTransfer;
public partial class _Default : System.Web.UI.Page
您还可以点 这里 下载全部代码.
相关文章推荐
- ASP.NET 获取MSN联系人列表
- asp.net如何获取msn联系人啊
- ASP.NET MVC下使用AngularJs语言(六):获取下拉列表的value和Text
- ASP.NET 获取域列表
- ASP.NET通过反射获取泛型列表,从而节省代码量
- asp.net中,我们使用ashx获取数据列表,在前端使用$.ajax()解析
- asp.net一般处理程序(2)获取列表
- Asp.net 获取服务器文件列表并绑定到DropDownList
- Asp.net 获取图片列表并打包下载
- ASP.NET 获取文件夹内所有文件及文件夹列表
- asp.net 从资源文件中获取资源内容、获取资源列表
- asp.net获取MSN、邮箱好友信息
- asp.net中,我们使用ashx获取数据列表,在前端使用$.ajax()解析
- asp.net 从资源文件中获取资源内容、获取资源列表
- asp.net WebForm 前台获取后台c#代码信息
- ASP.NET中的DropDownList控件出错"DropDownList有一个无效 SelectedValue,因为它不在项目列表中。"
- C# ASP.NET通过IP地址获取归属地的方法
- 通过ASP.NET获取URL地址
- asp.net 后台获取前台的 Html 元素的值.
- ASP.NET Tips: 获取插入记录的ID