Can anyone help. I have a simply constructor that i build on a form which basically sets up a form to display some data in a datagrid
But it keeps giving me an error when assigning DataSource.... can anyone help?
here is the error
An unhandled exception of type 'System.NullReferenceException' occurred in Clientes.exe
And the code. (the form is called statement)
public Statement(string title, DataSet statementData )
this.Text = title;
//dataGrid1.Read = statementData;
I also checked the row count of statementData.Tables["Record"] and it equals 6... so data is there..
I am missing something i know, but i don't know what it is...
It would be really appreciated if anyone can help