Have you tried using this method to return a .Net DataTable?  Then bind
the datatable to the BindingSource.DataSource   Then bind this to the
DataGridView.DataSource.

 

Another option is to return a BMC EntryFieldValueList object and iterate
over it to populate a datatable.

 


Server.GetListEntryWithFields Method (String, String, Int32[], UInt32,
UInt32, Int32, ArrayList, String, Boolean, String[], Type[])


Get the list of entries with values for specified fields. Also gets the
number of matches. Allows for retrieving the results in specified sort
order. Also allows for specifyinig the vui name to use to translate
field labels (expressed in the qualifications) to field ids, and the
whether to consider the locale. 

public DataTable
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemDataDataTableCla
ssTopic.htm>  GetListEntryWithFields(
   string
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic
.htm>  formName,
   string
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic
.htm>  qualification,
   int[]
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.
htm>  fieldIdList,
   uint
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemUInt32ClassTopic
.htm>  firstRetrieve,
   uint
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemUInt32ClassTopic
.htm>  maxRetrieve,
   out int
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.
htm>  numMatches,
   ArrayList
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemCollectionsArray
ListClassTopic.htm>  sortInfoList,
   string
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic
.htm>  vuiName,
   bool
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopi
c.htm>  useLocale,
   string[]
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic
.htm>  colNames,
   Type[]
<ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemTypeClassTopic.h
tm>  colTypes
);

 

 

HTH

 

Stephen

Remedy Skilled Professional

 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Rem Valenzuela
Sent: Thursday, October 25, 2007 11:20 AM
To: [email protected]
Subject: Creating objectdatasource in asp.net

 

Hi All,
 
I am familiar with how to connect using asp/vbscript to access remedy
and update/retrieve data using the API.  I am not familiar with creating
a objectdatasource in asp.net 2005 and using a datagrid to view data
(not necessarily to update it).  Has anyone done this successfully?  If
so, How?
 
I'm using API v7.1, ASP.NET 2005, ARServer is 6.3 patch 20.  Not sure
that matters, but there it is.
 
Thanks.
 

________________________________

Boo! Scare away worms, viruses and so much more! Try Windows Live
OneCare! Try now!
<http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hot
mailnews> 

__20060125_______________________This posting was submitted with HTML in
it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to