I am a student and I dont know what a partial class
is. The following code belongs to a partial class
I automatically created the partial class:
public partial class EGUI: Form
{
private OleDbConnection dbConn; // Connectionn object
private OleDbCommand dbCmd; // Command object
private OleDbDataReader dbReader; // Data Reader object
private Emp Edetails;
private string sConnection;
private string sql;
}
Here is the definitive answer: http://msdn.microsoft.com/en-us/library/wa80x488(v=vs.80).aspx
It is possible to split the definition of a class or a struct, or an interface over two or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With