Click here to Skip to main content
14,934,560 members
Home / Discussions / C#
   

C#

 
GeneralRe: load a lot of Images to memory Pin
Guffa13-Jun-09 23:30
MemberGuffa13-Jun-09 23:30 
GeneralRe: load a lot of Images to memory Pin
nryk14-Jun-09 0:16
Membernryk14-Jun-09 0:16 
GeneralRe: load a lot of Images to memory Pin
Guffa14-Jun-09 21:18
MemberGuffa14-Jun-09 21:18 
QuestionDockPanel Suite Pin
Rafone13-Jun-09 6:24
MemberRafone13-Jun-09 6:24 
AnswerRe: DockPanel Suite Pin
Henry Minute13-Jun-09 6:34
MemberHenry Minute13-Jun-09 6:34 
GeneralRe: DockPanel Suite Pin
Rafone13-Jun-09 7:18
MemberRafone13-Jun-09 7:18 
Questioncannot load data from database to textbox in Visual c# 2008 Pin
Adekolurejo13-Jun-09 5:52
MemberAdekolurejo13-Jun-09 5:52 
AnswerRe: cannot load data from database to textbox in Visual c# 2008 Pin
Henry Minute13-Jun-09 6:38
MemberHenry Minute13-Jun-09 6:38 
here is your problem. I think!
SqlConnection conn = new SqlConnection(myBuilder.ConnectionString);

SqlDataReader myReader = null;

SqlCommand myCommand = new SqlCommand("select * from Company_Info", myBuilder); <===== HERE


You have gone to all the trouble to create a connection, why not use it?
SqlCommand myCommand = new SqlCommand("select * from Company_Info", conn); <===== CHANGE TO


Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

QuestionRe: cannot load data from database to textbox in Visual c# 2008 Pin
Adekolurejo13-Jun-09 7:02
MemberAdekolurejo13-Jun-09 7:02 
AnswerRe: cannot load data from database to textbox in Visual c# 2008 Pin
Dave Kreskowiak13-Jun-09 6:48
mveDave Kreskowiak13-Jun-09 6:48 
GeneralRe: cannot load data from database to textbox in Visual c# 2008 Pin
Adekolurejo13-Jun-09 7:23
MemberAdekolurejo13-Jun-09 7:23 
AnswerRe: cannot load data from database to textbox in Visual c# 2008 Pin
alamree13-Jun-09 7:08
Memberalamree13-Jun-09 7:08 
QuestionRe: cannot load data from database to textbox in Visual c# 2008 Pin
Adekolurejo13-Jun-09 7:25
MemberAdekolurejo13-Jun-09 7:25 
Question[Message Deleted] Pin
hkjghkj113-Jun-09 5:46
Memberhkjghkj113-Jun-09 5:46 
AnswerRe: Sound Delay Pin
Henry Minute13-Jun-09 6:40
MemberHenry Minute13-Jun-09 6:40 
AnswerRe: Sound Delay Pin
Dave Kreskowiak13-Jun-09 6:45
mveDave Kreskowiak13-Jun-09 6:45 
AnswerRe: Sound Delay Pin
0x3c013-Jun-09 7:34
Member0x3c013-Jun-09 7:34 
Questiona question for OOP experts and Presentation/Business/DB Layer Pin
pierpaolo paparo13-Jun-09 4:14
Memberpierpaolo paparo13-Jun-09 4:14 
AnswerRe: a question for OOP experts and Presentation/Business/DB Layer Pin
Colin Angus Mackay13-Jun-09 4:30
MemberColin Angus Mackay13-Jun-09 4:30 
GeneralRe: a question for OOP experts and Presentation/Business/DB Layer Pin
pierpaolo paparo14-Jun-09 0:27
Memberpierpaolo paparo14-Jun-09 0:27 
QuestionGot an error --&gt;An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
KIDYA13-Jun-09 2:34
MemberKIDYA13-Jun-09 2:34 
AnswerRe: Got an error --&gt;An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
Anthony Mushrow13-Jun-09 2:43
professionalAnthony Mushrow13-Jun-09 2:43 
GeneralRe: Got an error --&gt;An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
Luc Pattyn13-Jun-09 3:00
sitebuilderLuc Pattyn13-Jun-09 3:00 
GeneralRe: Got an error --&gt;An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
KIDYA13-Jun-09 18:17
MemberKIDYA13-Jun-09 18:17 
AnswerRe: Got an error --&gt;An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
Colin Angus Mackay13-Jun-09 3:35
MemberColin Angus Mackay13-Jun-09 3:35 

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.