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)
{
相关问答:
我一个项目,有个插入操作,具体是这样的:
我有进货信息表。在出货时选择相应的进货信息,输入数量,选择部门后,点保存按钮,由于网络延时,点一下没有反映,于是用户就又点一下,导致一次插入了两条记录:
例:
......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
Microsoft JET Database Engine '80040e07'
标准表达式中数据类型不匹配。
\wwwroot\update.asp, line 20
--------------------------------------------------------------------------------
Ho ......
我有两个dropdownlist都绑好了值,想选中一个dropdownlist中的值,然后在另一个dropdownlist中选中相应的一项。
不是从新绑定第二个dropdownlist,是在已经绑好的值当中选中一个。
我想用js写
求助
你可以把drop ......