logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Flash Remoting + Recordset...how do I use it?: msg#00596

Subject: RE: Flash Remoting + Recordset...how do I use it?
have you tried casting the result as a Recordset?
var rs:RecordSet = Recordset(re.result);


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx]On 
Behalf Of Michael D.
Randolph
Sent: 26 April 2005 16:58
To: FlashComm Mailing List
Subject: RE: [FlashComm] Flash Remoting + Recordset...how do I use it?


If I take all of my data types out, everything seems to work fine.  I'd
like to declare the result as a RecordSet though...is this not possible?
It looks like this now:

function GetPresentationData_Result(re):Void {
        trace (re.result.getLength());
}

But I'd like to use data types, so it should look like this:

function GetPresentationData_Result(re:ResultEvent):Void {
        var rs:RecordSet = re.result;  //returns "Type mismatch in
assignment statement: found Object where mx.remoting.RecordSet is
required."
        trace (rs.getLength());
}

Michael Randolph

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@xxxxxxxxxxxxxxxx] On 
Behalf Of Michael D.
Randolph
Sent: Tuesday, April 26, 2005 11:50 AM
To: FlashComm Mailing List
Subject: [FlashComm] Flash Remoting + Recordset...how do I use it?

I have a .NET function returning a DataTable to a flash client.  As far
as I know, this should get converted to a RecordSet before it gets to
the client.  I get the ResultEvent just fine, but when I try to cast the
result as a RecordSet, it tells me that is an invalid data type and that
it is expecting an object.  How do I return a DataTable from a .NET
function and receive it as a recordset in Flash Remoting?  (preferably
the AS2 iteration of FR)

 

Michael Randolph




This e-mail and any attached files are for the exclusive use of the addressee 
and may contain privileged and/or confidential information. If you receive this 
e-mail in error you should not disclose the contents to any other person nor 
take copies but should delete it and telephone us immediately on +44(0)20 7440 
1100.

TEQUILA\ London Limited does not make any warranty as to the accuracy or 
completeness of this e-mail and we accept no liability for its content or use. 
Any opinions expressed in this e-mail are those of the author and do not 
necessarily reflect the opinions of TEQUILA\ London Limited.

TEQUILA\ London Limited operates within the parameters set by the Data 
Protection Act 1998 with regard to the use of personal information including 
e-mail addresses. We accept no liability for the forwarding of this e-mail to 
other parties that may result in unsolicited e-mails being received by those 
whose email addresses appear in this e-mail.

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe