What is partial class?



What is partial class?..

Answer / Sachchida Nand Gupta

A partial class in C# is a class that can be split across multiple files. This feature allows you to separate a class into multiple pieces for easier code organization, collaboration, or modularity. Each piece (or file) of the class has access to all members declared within the class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What is defaultview in datatable?

1 Answers  


How do you filter the data in datagrid?

2 Answers   Apps Lab, Choice Solutions,


OleDbDataAdapter ole=new OleDbDataAdapter(new OleDbCommand ("select * from login",oleDbConnection1)); OleDbCommandBuilder cmd=new OleDbCommandBuilder(ole); ole.Fill(dataSet11,"login"); DataRow drow=dataSet11.Tables ["login"].NewRow(); drow[0]=textBox1.Text; drow[1]=textBox2.Text; drow[2]=textBox3.Text; dataSet11.Tables["login"].Rows.Add (drow); ole.UpdateCommand=cmd.GetUpdateCommand(); ole.Update(dataSet11,"login"); MessageBox.Show("one row added"); this gives exception.how to solve it

1 Answers   Nimaya,


oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?

1 Answers   Infosys, Wipro,


can we execute trigger normally at the desired time?

3 Answers   Microsoft,


What are good ado.net object to replace to ado recordset object.

1 Answers  


What is read only and forward only in ado.net?

1 Answers  


Explain the advantage of ADO.Net?

1 Answers  


How can we load multiple tables in to dataset?

1 Answers  


Explain the difference in record set and dataset?

1 Answers  


How do you update database through dataset?

1 Answers  


What are the disadvantages of using datalist?

1 Answers  


Categories