2
Reply

Field could not be found

kieky bouvier

kieky bouvier

Mar 26 2012 2:33 AM
1.4k

Hi all..

can u help me to fix this :

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'Group' does not contain a definition for 'NamaGroup' and no extension method 'NamaGroup' accepting a first argument of type 'Group' could be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 63: WorkshopDataAccess db = new WorkshopDataAccess();
Line 64: Group grp = new Group();
Line 65: grp.NamaGroup = TextBox_nama.Text; Line 66:
Line 67: db.WorkshopDataContext.Groups.InsertOnSubmit(grp);

i dont know why, i have checked all my code.. but i can't access my field..


Answers (2)