Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server SDK > Ordergroupmanag...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 213 of 274
Post > Topic >>

Ordergroupmanager class c#

by "=?Utf-8?B?bW5pY2U=?=" <mnice@[EMAIL PROTECTED] > May 9, 2005 at 05:06 AM

Using: Commerce Server 2000
Visual Studio 2002/C#

Trying to get hold on ordergroup-table columns...

---Code:---
CS_Req._OrderGroupManager myTOrder=new CS_Req.OrderGroupManagerClass();
			CS_Req._SimpleFindSearchInfo mySearch=new 
CS_Req.SimpleFindSearchInfoClass();
			CS_Req._SimpleFindResultInfo mySearchRes=new 
CS_Req.SimpleFindResultInfoClass();
myTOrder.Initialize (ref oConn);
//mySearch.set_order_number(ref oOrdergroupid);

myTOrder.SimpleFind((CS_Req.SimpleFindSearchInfo)mySearch,
				(CS_Req.SimpleFindResultInfo)mySearchRes,ref oTest_2);

---Code---

That works ok and returns _all_ rows in ordergroup table. Now that I would

like to have only one, so I try to set order_number in search but it
always 
gives:

[COMException (0x800a000d): Type mismatch]
   CS_Req.SimpleFindSearchInfoClass.set_order_number(Object& order_number)
+0
   DictItem.WebForm1.Page_Load(Object sender, EventArgs e) in 
c:\inetpub\wwwroot\dictitem\dictitem.aspx.cs:41
   System.Web.UI.Control.OnLoad(EventArgs e)
   System.Web.UI.Control.LoadRecursive()
   System.Web.UI.Page.ProcessRequestMain()
 




 3 Posts in Topic:
Ordergroupmanager class c#
"=?Utf-8?B?bW5pY2U=?  2005-05-09 05:06:01 
RE: Ordergroupmanager class c#
=?Utf-8?B?UmF2aSBTaGFua2F  2005-05-09 08:41:05 
RE: Ordergroupmanager class c#
"=?Utf-8?B?bW5pY2U=?  2005-05-09 21:10:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:21:07 CST 2008.