Is It Possible to Load XML File data into Adapter???
Code:
protected void Page_Load(object sender, EventArgs e)
    {
        
        DataSet ds1 = new DataSet();
        DataSet ds2 = new DataSet();

        if (!IsPostBack)
        {
            
            ds1.ReadXml("C:\\Users\\indel_intern96\\Desktop\\SONIA FOLDER\\sonia1.xml");
            OracleDataAdapter da = new OracleDataAdapter();
            da.Fill(ds2, 0, 4,"Table1");
            GridView1.DataSource = ds1;
            GridView1.DataBind();
            GridView2.DataSource = ds2;
            GridView2.DataBind(); 
        }
    }
Cz in my above when i executed,I m getting the error -- VALUE cannot be null. Cz da is null. SO plz help me out.


If Not Possible to Load XML file Data into Adapter,then wats the alternative way to do??