Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
AnswerRe: PDF Files Pin
Calla12-Oct-09 20:16
Calla12-Oct-09 20:16 
GeneralRe: PDF Files Pin
Pavan Navali9-Nov-09 20:07
Pavan Navali9-Nov-09 20:07 
AnswerRe: PDF Files Pin
0x3c012-Oct-09 20:38
0x3c012-Oct-09 20:38 
QuestionSQLDBCommandwrapper Pin
NICE TO MEET12-Oct-09 18:10
NICE TO MEET12-Oct-09 18:10 
QuestionSqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 16:57
snayler012-Oct-09 16:57 
AnswerRe: SqlDataAdapter.Fill() error. Pin
PIEBALDconsult12-Oct-09 17:04
mvePIEBALDconsult12-Oct-09 17:04 
AnswerRe: SqlDataAdapter.Fill() error. Pin
Not Active12-Oct-09 17:04
mentorNot Active12-Oct-09 17:04 
GeneralRe: SqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 17:12
snayler012-Oct-09 17:12 
yeah, lol sorry bout that.

i had already found that line to not be causing any problems, but because command was being defined locally in the try block, it wasnt accepting it further down, because there was a chance it would be undefined (if there was an exception) and wouldn't compile because of it. so i just threw them i nthe catch as well since i knew those particular parts were working, (instead of doing away with the try/catch's for those parts alltogether)

the only place an exception is coming up from is:

try
{
    da.Fill(dt);
}
catch (Exception ex)
{
    MessageBox.Show("Error: " + ex);
}

GeneralRe: SqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 17:25
snayler012-Oct-09 17:25 
GeneralRe: SqlDataAdapter.Fill() error. Pin
Mycroft Holmes12-Oct-09 17:29
professionalMycroft Holmes12-Oct-09 17:29 
GeneralRe: SqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 17:35
snayler012-Oct-09 17:35 
GeneralRe: SqlDataAdapter.Fill() error. Pin
Mycroft Holmes12-Oct-09 17:44
professionalMycroft Holmes12-Oct-09 17:44 
QuestionIn XNA, how to recognize mouse gestures? Pin
hoyomi12-Oct-09 14:23
hoyomi12-Oct-09 14:23 
AnswerRe: In XNA, how to recognize mouse gestures? Pin
benjymous12-Oct-09 22:29
benjymous12-Oct-09 22:29 
GeneralRe: In XNA, how to recognize mouse gestures? Pin
hoyomi13-Oct-09 3:37
hoyomi13-Oct-09 3:37 
GeneralRe: In XNA, how to recognize mouse gestures? Pin
benjymous14-Oct-09 2:46
benjymous14-Oct-09 2:46 
QuestionHow can I send Ctrl-C using Telnet to a host machine? Pin
zenlc200012-Oct-09 14:19
zenlc200012-Oct-09 14:19 
AnswerRe: How can I send Ctrl-C using Telnet to a host machine? Pin
PIEBALDconsult12-Oct-09 15:18
mvePIEBALDconsult12-Oct-09 15:18 
GeneralRe: How can I send Ctrl-C using Telnet to a host machine? Pin
zenlc200012-Oct-09 15:33
zenlc200012-Oct-09 15:33 
GeneralRe: How can I send Ctrl-C using Telnet to a host machine? Pin
PIEBALDconsult12-Oct-09 16:17
mvePIEBALDconsult12-Oct-09 16:17 
Questionxml Document Pin
arkiboys12-Oct-09 13:22
arkiboys12-Oct-09 13:22 
AnswerRe: xml Document Pin
Luc Pattyn12-Oct-09 13:40
sitebuilderLuc Pattyn12-Oct-09 13:40 
GeneralRe: xml Document Pin
arkiboys12-Oct-09 13:52
arkiboys12-Oct-09 13:52 
GeneralRe: xml Document Pin
Luc Pattyn12-Oct-09 14:04
sitebuilderLuc Pattyn12-Oct-09 14:04 
GeneralRe: xml Document Pin
arkiboys12-Oct-09 14:07
arkiboys12-Oct-09 14:07 

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.