Where the error in the following code? There is already an open DataReader associated with this Command the which must be closed first.
"An error Occurred while executing the command definition. See the inner exception for details."
var cat = from c in db.Question select c;
foreach (Questions question in cat) {
Console.WriteLine("{0}", question.tittle);
Console.WriteLine("{0}", question.deskripsi);
Console.WriteLine("{0}", question.id_question);
**foreach (Categories p in question.Categories)**
{
Console.WriteLine("{0}", p.id_kategori);
Console.WriteLine("{0}", p.nama_kategori);
}
}