I get a warning using this code:
<code>
public class Xsl : System.Web.UI.Page
        {
        private void Page_Load(object sender, System.EventArgs e)
         {
        SqlConnection conNorthwind;
        SqlDataAdapter dadProducts;
        DataSet dstProducts;
        XmlDataDocument objDataDocument;
        XslTransform objXsl;
conNorthwind = new SqlConnection( @"Server=localhost;Integrated 
Security=SSPI;Database=Northwind" );
dadProducts = new SqlDataAdapter( "Select * From Products", 
conNorthwind );
dstProducts = new DataSet();
dadProducts.Fill( dstProducts, "Products" );
objDataDocument = new XmlDataDocument( dstProducts );
objXsl = new XslTransform();
objXsl.Load( MapPath( "TransformProducts.xsl" ) );
objXsl.Transform( objDataDocument, null, Response.OutputStream );
  }

When I hover over the last line this is the message:
"System.IO.Stream is obsolete, you should pass XmlResolver
to the Transform() method"
</code>

That would be O.K., except that XmlResolver is an abtract class.
any suggestions?




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to