-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: vipin_gkv
Message 1 in Discussion
Hello Every One, I am Uploading at Brinkster.com
Problem 1: Should I upload the
webform1.aspx, Renaming it as index.aspx
as a simple text file. And Not Upload all
other files like- web.config
global.asax etc.. If I need to Upload All the
above files.Then Renaming Webform1.aspx to index.aspx will cause my application
not to run and giving Errors. Problem2: I am
Reading an XML file news.xml. Showing it in a DataGrid
using DataSet: Code is as folllows-- <script Language="c#" runat="server">
void Page_Load(object sender, EventArgs e)
{
try
{
DataSet objDataSet = new DataSet();
objDataSet.ReadXml(Server.MapPath("news.xml"));
DataGrid1.DataSource = objDataSet.Tables[0].DefaultView;
DataGrid1.DataBind();
}
catch
{
Response.Write("We will Be Back very Soon"); // Catch Not Working
}
}
</script> Its Throwing the Following Error: The type or namespace name 'DataSet' could
not be found (are you missing a using directive or an assembly reference?)
While I have Included the Following at TOP: using System;
using System.Data;
using System.Data.Sqlclient; // though not needed
Please Help Whats Wrong.
Sincerely Vipin Gaur
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]