Skip to Main Content
ADOBE® FLEX® 3: USING FLEX WITH DATA SERVICES - DEVELOPING FLEX APPLICATIONS WITH BLAZEDS
book

ADOBE® FLEX® 3: USING FLEX WITH DATA SERVICES - DEVELOPING FLEX APPLICATIONS WITH BLAZEDS

by Adobe Systems
January 2008
Intermediate to advanced content levelIntermediate to advanced
217 pages
7h 34m
English
Adobe Systems
Content preview from ADOBE® FLEX® 3: USING FLEX WITH DATA SERVICES - DEVELOPING FLEX APPLICATIONS WITH BLAZEDS
BLAZEDS
BlazeDS Developer Guide
103
}
[WebMethod]
public DataSet getMultiTableDataSet() {
string cnStr = "[Your_Database_Connection_String]";
string query1 = "SELECT TOP 10 CustomerID, CompanyName FROM Customers";
string query2 = "SELECT TOP 10 OrderID, CustomerID, ShipCity,
ShipCountry FROM Orders";
SqlConnection cn = new SqlConnection(cnStr);
cn.Open();
SqlDataAdapter adpt = new SqlDataAdapter(new SqlCommand(query1, cn));
DataSet ds = new DataSet("TwoTableDataSet");
adpt.Fill(ds, "Customers");
adpt.SelectCommand = new SqlCommand(query2, cn);
adpt.Fill(ds, "Orders");
return ds;
}
}
Using capabilities specific to WebService components
Flex applications can interact ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Getting Started with the INRANGE FC/9000 FICON Director

Getting Started with the INRANGE FC/9000 FICON Director

Bill White
Introducing IBM Tivoli License Manager

Introducing IBM Tivoli License Manager

Edson Manoel, John Aronis, Ron Falciani, Sebastien Fardel, Aniruddha Parnaik
IBM FlashSystem A9000 Product Guide (Version 12.3.2)

IBM FlashSystem A9000 Product Guide (Version 12.3.2)

Bert Dufrasne, Stephen Solewin, Francesco Anderloni, Roger Eriksson, Lisa Martinez
Windows-based Single Signon and the EIM Framework on the IBM eServer iSeries Server

Windows-based Single Signon and the EIM Framework on the IBM eServer iSeries Server

Gary Lakner, Gregory Bobak, Jan Cifka, Kim Greene, Axel Lachmann, John Taylor, Craig Wayman

Publisher Resources

ISBN: 00120090010SI