help!!I'm stuck here!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written this to show table in the database on this datagrid...but when
i implement my click event i had an error msg and i don't know how to correct
it...here's the code..
private void Form1_Load(object sender, System.EventArgs e)
{
this.sqlDataAdapter1.Fill(this.dsCall_Details_Record2);

}

private void button1_Click_3(object sender, System.EventArgs e)
{
Call_Details_Record frmCall_Details_Record = new Call_Details_Record();
frmCall_Details_Record.ShowDialog();

}
the error is..
C:\Documents and Settings\Yeoh Cheng Lin\My Documents\Visual Studio
Projects\CallBillingSystem\CallBillingSystem\Main_Page.cs(377):
'CallBillingSystem.Form1.dsCall_Details_Record2' denotes a 'field' where a
'class' was expected

C:\Documents and Settings\Yeoh Cheng Lin\My Documents\Visual Studio
Projects\CallBillingSystem\CallBillingSystem\Main_Page.cs(378): The type or
namespace name 'frmCall_Details_Record' could not be found (are you missing a
using directive or an assembly reference?)

can u help me?
 
Maria,

Could you post the code that is giving you the compiler error, along
with any declarations, etc? Maybe the rest of us can help you, in case
alyssa isn't reading any more.
 
Post the line where you declare dsCall_Details_Record2

Gabriel Lozano-Morán
 
Back
Top