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)
{
相关问答:
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
就是类似以上的在线测试系统,需要有一个后台的,语言是asp的,数据库是access的,还需要能在后台对信息进行添删改查的。谢谢各位了。。。
程序真的很多,不知 ......
有一个类
class adc
{
dim a,b,c
}
如何在另外一个类中取得类成员及成员个数
class getmenber
{
dim menbers()
function getmenbers(resclass)
'res为一未知类
'getmenber ......
我一个项目,有个插入操作,具体是这样的:
我有进货信息表。在出货时选择相应的进货信息,输入数量,选择部门后,点保存按钮,由于网络延时,点一下没有反映,于是用户就又点一下,导致一次插入了两条记录:
例:
......
function CheckOpwd(){//验证用户名
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
Microsoft JET Database Engine '80040e07'
标准表达式中数据类型不匹配。
\wwwroot\update.asp, line 20
--------------------------------------------------------------------------------
Ho ......