Click here to Skip to main content
15,894,267 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: SqlDataAdapter.Fill() error. Pin
snayler012-Oct-09 17:25
snayler012-Oct-09 17:25 
after removing all the try/catch's that weren't needed anymore, i have recieved a different error (on the same line ( da.Fill(dt); )

the error is now SQL specific... but i think my syntax looks fine.. be prepared... its a long error message, here it is:

Error: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'Key'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at Keystore.FindKey.FindKey_Load(Object sender, EventArgs e) in C:\Users\Shane\Documents\Visual Studio 2008\Projects\Keystore1\Keystore1\FindKey.cs:line 46
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 
GeneralRe: xml Document Pin
Not Active12-Oct-09 15:26
mentorNot Active12-Oct-09 15:26 

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.