Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get value of REG_NONE in registry Pin
Manas Bhardwaj23-Jun-09 9:31
professionalManas Bhardwaj23-Jun-09 9:31 
QuestionCommunicating with a serial port Pin
12425623-Jun-09 8:55
12425623-Jun-09 8:55 
AnswerRe: Communicating with a serial port Pin
Luc Pattyn23-Jun-09 9:25
sitebuilderLuc Pattyn23-Jun-09 9:25 
AnswerRe: Communicating with a serial port Pin
Wes Aday23-Jun-09 9:50
professionalWes Aday23-Jun-09 9:50 
Question.LastIndexOf("%") [modified] Pin
Jasmine Pomelo23-Jun-09 8:26
Jasmine Pomelo23-Jun-09 8:26 
AnswerRe: .LastIndexOf("%") Pin
Luc Pattyn23-Jun-09 8:49
sitebuilderLuc Pattyn23-Jun-09 8:49 
GeneralRe: .LastIndexOf("%") Pin
EliottA23-Jun-09 9:07
EliottA23-Jun-09 9:07 
GeneralRe: .LastIndexOf("%") Pin
Jasmine Pomelo23-Jun-09 9:09
Jasmine Pomelo23-Jun-09 9:09 
GeneralRe: .LastIndexOf("%") Pin
Luc Pattyn23-Jun-09 9:18
sitebuilderLuc Pattyn23-Jun-09 9:18 
Question[Message Deleted] Pin
Gilberto Muñoz23-Jun-09 7:38
Gilberto Muñoz23-Jun-09 7:38 
AnswerRe: convert from php to c# Pin
Ennis Ray Lynch, Jr.23-Jun-09 7:59
Ennis Ray Lynch, Jr.23-Jun-09 7:59 
AnswerRe: convert from php to c# Pin
EliottA23-Jun-09 9:00
EliottA23-Jun-09 9:00 
AnswerRe: [Message Deleted] Pin
EliottA23-Jun-09 9:13
EliottA23-Jun-09 9:13 
Questionhow can i get data from SQL northwind.sdf into the textBox ????????? need help Pin
dimo198223-Jun-09 7:37
dimo198223-Jun-09 7:37 
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)<br />
{<br />
string conString = Properties.Settings.Default.NorthwindConnectionString;<br />
using (SqlCeConnection connect = new SqlCeConnection(conString))<br />
{<br />
try<br />
{<br />
connect.Open();<br />
MessageBox.Show("Connection Established");<br />
<br />
.....................<br />
.....................<br />
.....................<br />
<br />
}<br />
catch<br />
  {<br />
   MessageBox.Show("Connection Error!!!");<br />
  }<br />
}<br />
}


Dim
AnswerRe: how can i get data from SQL northwind.sdf into the textBox ????????? need help Pin
dan!sh 23-Jun-09 8:02
professional dan!sh 23-Jun-09 8:02 
GeneralRe: how can i get data from SQL northwind.sdf into the textBox ????????? need help Pin
dimo198223-Jun-09 8:37
dimo198223-Jun-09 8:37 
GeneralRe: how can i get data from SQL northwind.sdf into the textBox ????????? need help Pin
Eddy Vluggen23-Jun-09 9:23
professionalEddy Vluggen23-Jun-09 9:23 
AnswerRe: how can i get data from SQL northwind.sdf into the textBox ????????? need help Pin
EliottA23-Jun-09 9:03
EliottA23-Jun-09 9:03 
GeneralRe: how can i get data from SQL northwind.sdf into the textBox ????????? need help Pin
dimo198223-Jun-09 13:03
dimo198223-Jun-09 13:03 
QuestionGetting the last line in a string Pin
Jasmine Pomelo23-Jun-09 6:56
Jasmine Pomelo23-Jun-09 6:56 
AnswerRe: Getting the last line in a string Pin
EliottA23-Jun-09 7:06
EliottA23-Jun-09 7:06 
AnswerRe: Getting the last line in a string Pin
Luc Pattyn23-Jun-09 7:36
sitebuilderLuc Pattyn23-Jun-09 7:36 
AnswerRe: Getting the last line in a string Pin
dan!sh 23-Jun-09 8:17
professional dan!sh 23-Jun-09 8:17 
Questionto know about virtual, override & protected Pin
Niton9023-Jun-09 6:50
Niton9023-Jun-09 6:50 
AnswerRe: to know about virtual, override & protected Pin
Luc Pattyn23-Jun-09 6:53
sitebuilderLuc Pattyn23-Jun-09 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.