Hi Alyssa,
There is nothing in your project that is referencing the
System.Data.SqlClient namespace. Add this line ontop of the file to solve
the problem:
using System.Data.SqlClient;
This is a common error and it is easy to fix. Just use the Documentation
(MSDN/SDK). At the bottom of the page is a link to the namespace. If you
don't have a using statement with that namespace, you will need to use the
full name in your code.
System.Data.SqlClient.SqlConnection conn = new
System.Data.SqlClient.SqlConnection();
On Wed, 16 Mar 2005 07:39:11 -0800, alyssa
<al****@discussions.microsoft.com> wrote:
C:\Documents and Settings\Yeoh Cheng Lin\My Documents\Visual Studio
Projects\CallBillingSystem\CallBillingSystem\Summa ryReport.cs(301): The
type
or namespace name 'SqlConnection' could not be found (are you missing a
using
directive or an assembly reference?)
may i know what does it means? thanks?
--
Happy Coding!
Morten Wennevik [C# MVP]