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..
Sam HobbsPosted Mar 26, 2012, 2:04 PM
Jignesh TrivediPosted Mar 26, 2012, 4:33 AM
I think, there might have two problem
your Group class does not contain defination property calles "NamaGroup" or your data access layer reference is wrong.
check above item and update me
Also provide more info about ur dataaccess layer.
hope this help.