Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
QuestionOpen Source Alternatives to Word Library and Word Compnents Pin
ASPnoob17-Sep-12 3:29
ASPnoob17-Sep-12 3:29 
AnswerRe: Open Source Alternatives to Word Library and Word Compnents Pin
Andrei Straut17-Sep-12 3:50
Andrei Straut17-Sep-12 3:50 
GeneralRe: Open Source Alternatives to Word Library and Word Compnents Pin
Pete O'Hanlon17-Sep-12 3:55
mvePete O'Hanlon17-Sep-12 3:55 
GeneralRe: Open Source Alternatives to Word Library and Word Compnents Pin
Andrei Straut17-Sep-12 4:08
Andrei Straut17-Sep-12 4:08 
Question[Solved] Problem #20 Pin
WebMaster17-Sep-12 2:10
WebMaster17-Sep-12 2:10 
AnswerRe: Problem #20 Pin
Ingo17-Sep-12 2:29
Ingo17-Sep-12 2:29 
GeneralRe: Problem #20 Pin
WebMaster17-Sep-12 2:42
WebMaster17-Sep-12 2:42 
GeneralRe: Problem #20 Pin
Ingo17-Sep-12 3:05
Ingo17-Sep-12 3:05 
GeneralRe: Problem #20 Pin
Keith Barrow17-Sep-12 2:45
professionalKeith Barrow17-Sep-12 2:45 
AnswerRe: Problem #20 Pin
PIEBALDconsult17-Sep-12 4:25
mvePIEBALDconsult17-Sep-12 4:25 
GeneralRe: Problem #20 Pin
Shameel17-Sep-12 5:09
professionalShameel17-Sep-12 5:09 
GeneralRe: Problem #20 Pin
PIEBALDconsult17-Sep-12 5:37
mvePIEBALDconsult17-Sep-12 5:37 
GeneralRe: Problem #20 Pin
Dave Kreskowiak17-Sep-12 6:16
mveDave Kreskowiak17-Sep-12 6:16 
AnswerRe: Problem #20 Pin
Clifford Nelson17-Sep-12 10:50
Clifford Nelson17-Sep-12 10:50 
AnswerRe: Problem #20 Pin
WebMaster17-Sep-12 11:01
WebMaster17-Sep-12 11:01 
QuestionData Transfer Between Two Thread Pin
sinpulay17-Sep-12 0:12
professionalsinpulay17-Sep-12 0:12 
AnswerRe: Data Transfer Between Two Thread Pin
Manfred Rudolf Bihy17-Sep-12 0:27
professionalManfred Rudolf Bihy17-Sep-12 0:27 
GeneralRe: Data Transfer Between Two Thread Pin
sinpulay19-Oct-12 22:35
professionalsinpulay19-Oct-12 22:35 
Questionhow to ... Pin
john563216-Sep-12 23:16
john563216-Sep-12 23:16 
AnswerRe: how to ... Pin
Mycroft Holmes16-Sep-12 23:37
professionalMycroft Holmes16-Sep-12 23:37 
GeneralRe: how to ... Pin
john563216-Sep-12 23:43
john563216-Sep-12 23:43 
AnswerRe: how to ... Pin
Bernhard Hiller16-Sep-12 23:37
Bernhard Hiller16-Sep-12 23:37 
AnswerRe: how to ... Pin
Shameel17-Sep-12 0:06
professionalShameel17-Sep-12 0:06 
QuestionDataGridView throwing Drawing exception when assigning datasource Pin
Groulien16-Sep-12 6:42
Groulien16-Sep-12 6:42 
Hello CP,

I've run into a problem while working on an interface for the result of raw SQL.
The user inputs the raw SQL code and the form renders a result, it's an educational piece of software so nothing too fancy.

Now, the problem I have is that after putting the result into a DataTable, it crashes when I pass it as a DataSource for the DataGridView.
The database I'm querying is an MSAccess (2003, mdb) database.
Oddly enough, it doesn't misbehave (crash) when I'm using an SQLite database.

I would like some help since the stacktrace isn't making sense to me.


Quote:
A first chance exception of type 'System.ArgumentException' occurred in System.Drawing.dll
System.Transactions Critical: 0 : <tracerecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" severity="Critical"><traceidentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled<description>Unhandled exception<appdomain>SimpelQL.Net.vshost.exe<exception><exceptiontype>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089<message>Parameter is not valid.<stacktrace> at System.Drawing.Font.GetHeight(Graphics graphics)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.DataGridViewRow..ctor()
at System.Windows.Forms.DataGridView.get_RowTemplateClone()
at System.Windows.Forms.DataGridView.RefreshRows(Boolean scrollIntoView)
at System.Windows.Forms.DataGridView.RefreshColumnsAndRows()
at System.Windows.Forms.DataGridView.OnDataSourceChanged(EventArgs e)
at System.Windows.Forms.DataGridView.set_DataSource(Object value)
at Proj.Net.MainForm.evt_Exec(Object sender, EventArgs e) in L:\Dev\Proj.Net\MainForm.cs:line 139

The first rule of CListCtrl is you do not talk about CListCtrl - kornman

QuestionRe: DataGridView throwing Drawing exception when assigning datasource Pin
Eddy Vluggen16-Sep-12 14:58
professionalEddy Vluggen16-Sep-12 14:58 

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.