ASP。net中怎么调用Com+组建 - .NET技术 / ASP.NET
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.InteropServices;
namespace CMMS.WebSite.Common
{
public partial class get : System.Web.UI.Page
{
//[DllImport("user32.dll")]FPCom.dll
//[DllImport("Match.dll", EntryPoint = "Process", SetLastError = true, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
//static extern bool Process(string a, string b);
[DllImport("FPCom.dll", EntryPoint = "FPProicess", SetLastError = true, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
static extern bool FPProicess(string a, string b);
protected void Page_Load(object sender, EventArgs e)
{
string finger = CMMS.Utility.PageClass.QueryString("finger");
Response.Clear();
Response.Write(GetMemberID(finger));
Response.End();
}
private string GetMemberID(string Finger)
{
DAL.Member _member = new CMMS.DAL.Member();
var q = _member.GetList().Where(o => o.Finger != null && o.Finger != "");
foreach (var p in q)
{
相关问答:
万网的服务器支持伪静态的,直接用rewrite在web.config文件写规则,也不用安装组件就可以实现伪静态,但是在时代互联服务器就用不了了,咨询它的客服,他说他们服务器(基本型C)不支持伪静态的.请问一下各位我该用什么方法 ......
Microsoft JET Database Engine '80040e07'
标准表达式中数据类型不匹配。
\wwwroot\update.asp, line 20
--------------------------------------------------------------------------------
Ho ......
1.asp.net做的一个答题页面,如何实时限时后自动提交,请大家给点思路
限时的时间信息存放在数据库中
2.如果答题时间设置的较长,如何方式session超时后页面无效
谢谢
用js方法来控制
回复内容太短了。。
js ......
怎样将ASP程序转换为.NET程序 ?
找个全才翻译。
手动去写
感觉写过asp的,来写asp.net,上手应该快点。
更能理解asp.net的一些内部技术
asp.net都被封装了
我是做.Net的,对ASP一直没接触到,很陌生。
公 ......
我有两个dropdownlist都绑好了值,想选中一个dropdownlist中的值,然后在另一个dropdownlist中选中相应的一项。
不是从新绑定第二个dropdownlist,是在已经绑好的值当中选中一个。
我想用js写
求助
你可以把drop ......