C# Programming
06-23-2009, 10:00 PM
Hello Everybody
I have a problem with retreiving data from Example Northwind.sdf database I need your help please !!!!
I`m very new to C# sharp so please be understanding.
So far I got a connection but cannot manage to get data into the text box(i`m using Microsoft Visual C# 2008 Express Edition) I looked into hundreds of examples and still nothing...
this is my CODE
-----------------
private void getDataButtton_Click(object sender, EventArgs e)
{
string conString = Properties.Settings.Default.NorthwindConnectionString;
using (SqlCeConnection connect = new SqlCeConnection(conString))
{
try
{
connect.Open();
MessageBox.Show("Connection Established");
.....................
.....................
.....................
}
catch
{
MessageBox.Show("Connection Error!!!");
}
}
}
Dim
I have a problem with retreiving data from Example Northwind.sdf database I need your help please !!!!
I`m very new to C# sharp so please be understanding.
So far I got a connection but cannot manage to get data into the text box(i`m using Microsoft Visual C# 2008 Express Edition) I looked into hundreds of examples and still nothing...
this is my CODE
-----------------
private void getDataButtton_Click(object sender, EventArgs e)
{
string conString = Properties.Settings.Default.NorthwindConnectionString;
using (SqlCeConnection connect = new SqlCeConnection(conString))
{
try
{
connect.Open();
MessageBox.Show("Connection Established");
.....................
.....................
.....................
}
catch
{
MessageBox.Show("Connection Error!!!");
}
}
}
Dim