Click here to Skip to main content
15,915,869 members
Home / Discussions / C#
   

C#

 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dr.Walt Fair, PE12-Jun-09 11:56
professionalDr.Walt Fair, PE12-Jun-09 11:56 
GeneralRe: Total Upload , Download Internet Traffic Pin
harold aptroot12-Jun-09 11:58
harold aptroot12-Jun-09 11:58 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dr.Walt Fair, PE12-Jun-09 12:10
professionalDr.Walt Fair, PE12-Jun-09 12:10 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dave Kreskowiak12-Jun-09 12:46
mveDave Kreskowiak12-Jun-09 12:46 
AnswerRe: Total Upload , Download Internet Traffic Pin
I Believe In GOD12-Jun-09 12:24
I Believe In GOD12-Jun-09 12:24 
QuestionReadig strings from a text file ? Pin
Jasmine Pomelo12-Jun-09 10:28
Jasmine Pomelo12-Jun-09 10:28 
QuestionRe: Readig strings from a text file ? Pin
led mike12-Jun-09 10:35
led mike12-Jun-09 10:35 
AnswerRe: Readig strings from a text file ? Pin
Luc Pattyn12-Jun-09 10:46
sitebuilderLuc Pattyn12-Jun-09 10:46 
AnswerRe: Readig strings from a text file ? Pin
Josh Martin12-Jun-09 12:26
Josh Martin12-Jun-09 12:26 
AnswerRe: Readig strings from a text file ? Pin
PIEBALDconsult12-Jun-09 13:23
mvePIEBALDconsult12-Jun-09 13:23 
Questionhow can I get data from database and display in textbox Pin
Adekolurejo12-Jun-09 10:15
Adekolurejo12-Jun-09 10:15 
AnswerRe: how can I get data from database and display in textbox Pin
Dave Kreskowiak12-Jun-09 11:23
mveDave Kreskowiak12-Jun-09 11:23 
QuestionRe: how can I get data from database and display in textbox Pin
Adekolurejo12-Jun-09 11:33
Adekolurejo12-Jun-09 11:33 
AnswerRe: how can I get data from database and display in textbox Pin
Dave Kreskowiak12-Jun-09 12:42
mveDave Kreskowiak12-Jun-09 12:42 
AnswerRe: how can I get data from database and display in textbox Pin
Josh Martin12-Jun-09 12:36
Josh Martin12-Jun-09 12:36 
AnswerRe: how can I get data from database and display in textbox Pin
DavidKiryazi12-Jun-09 13:35
DavidKiryazi12-Jun-09 13:35 
Ademola,

can you post the latest code your using. It is difficult to diagnose the problem without the code you are currently trying to run.

In the meantime, try to initialise your connection string using the connection string builder to rule out any typos in connection string.

// create the connection string
SqlConnectionStringBuilder conn_str = new SqlConnectionStringBuilder();
conn_str.UserID = "your user_id";
conn_str.Password = "your password";
conn_str.InitialCatalog = "database name";
conn_str.DataSource = "sql server instance name";
conn_str.ConnectTimeout = "connection timeout (as an int)";

// instantiate and initialise the sql connection object
SqlConnection conn = new SqlConnection(conn_str.ConnectionString);


Also, make sure you rule out any accidently brain explosions, ie make sure datatable actually has data in it, your connecting to the right database, etc

Dave
AnswerRe: how can I get data from database and display in textbox Pin
ishandeb12-Sep-11 3:06
ishandeb12-Sep-11 3:06 
QuestionHow To Locate Form Pin
gal00012-Jun-09 9:57
gal00012-Jun-09 9:57 
AnswerRe: How To Locate Form Pin
Nagy Vilmos12-Jun-09 10:14
professionalNagy Vilmos12-Jun-09 10:14 
GeneralRe: How To Locate Form Pin
gal00012-Jun-09 10:17
gal00012-Jun-09 10:17 
GeneralRe: How To Locate Form Pin
Luc Pattyn12-Jun-09 10:28
sitebuilderLuc Pattyn12-Jun-09 10:28 
AnswerRe: How To Locate Form Pin
I Believe In GOD12-Jun-09 10:27
I Believe In GOD12-Jun-09 10:27 
GeneralRe: How To Locate Form Pin
gal00012-Jun-09 10:34
gal00012-Jun-09 10:34 
Questionusing errorprovider control with C# form with checkboxes Pin
johnnysmith112-Jun-09 7:17
johnnysmith112-Jun-09 7:17 
AnswerRe: using errorprovider control with C# form with checkboxes Pin
OriginalGriff12-Jun-09 8:30
mveOriginalGriff12-Jun-09 8:30 

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.