aspx thread: Binding XML - Example from Book
Message #1 by "Raghuram" <jraghuram@u...> on Wed, 29 Nov 2000 08:51:44 -0000
|
|
I am getting the following error when I compile bindxml.aspx
How do I overcome this??
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the specific error details
below and modify your source code appropriately.
Compiler Error Message: CS1002: ; expected
Source Error:
Line 22: fs.Close()
Line 23:
Line 24: DataGrid1.DataSource = ds.Tables[0].DefaultView;
Line 25: DataGrid1.DataBind();
Line 26: }
Source File: c:\sites\aspx1\jraghuram\bindxml.aspx Line: 24
Message #2 by =?iso-8859-1?Q?Fredrik_Norm=E9n?= <fredrik.normen@e...> on Wed, 29 Nov 2000 09:51:23 +0100
|
|
You need to add ; after fs.CLose()
/Fredrik Normén
-----Original Message-----
From: Raghuram [mailto:jraghuram@u...]
Sent: den 29 november 2000 09:52
To: ASP+
Subject: [aspx] Binding XML - Example from Book
I am getting the following error when I compile bindxml.aspx
How do I overcome this??
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the specific error details
below and modify your source code appropriately.
Compiler Error Message: CS1002: ; expected
Source Error:
Line 22: fs.Close()
Line 23:
Line 24: DataGrid1.DataSource = ds.Tables[0].DefaultView;
Line 25: DataGrid1.DataBind();
Line 26: }
Source File: c:\sites\aspx1\jraghuram\bindxml.aspx Line: 24
Message #3 by Minh Truong <minht@V...> on Wed, 29 Nov 2000 08:02:01 -0800
|
|
You're missing a ; in line 22
-----Original Message-----
From: Raghuram [mailto:jraghuram@u...]
Sent: Wednesday, November 29, 2000 3:52 AM
To: ASP+
Subject: [aspx] Binding XML - Example from Book
I am getting the following error when I compile bindxml.aspx
How do I overcome this??
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the specific error details
below and modify your source code appropriately.
Compiler Error Message: CS1002: ; expected
Source Error:
Line 22: fs.Close()
Line 23:
Line 24: DataGrid1.DataSource = ds.Tables[0].DefaultView;
Line 25: DataGrid1.DataBind();
Line 26: }
Source File: c:\sites\aspx1\jraghuram\bindxml.aspx Line: 24
|