I have a class and a interface in data access layer. i have declare property in class and declare method in interface. now i want implement method named insEmployee() in class and i want to pass data through collection to insEmployee().
Thanks
Shailendra
Manikavelu VelayuthamPosted Sep 27, 2010, 2:51 AM
You need to create an object for that list and then you need to add the informatin like this.
WESCC objNewWESCC= new WESCC();
objNewWESCC.Category = new List<WESCCCategory>();
.
.
.
objNewWESCC.Category.Add(objNewCategory);
Manikavelu VelayuthamPosted Sep 27, 2010, 2:48 AM
public partial class WESCC {
private List<WESCCCategory> categoryField;
private string displayMessageField;
public List<WESCCCategory> Category {
get {
return this.categoryField;
}
set {
this.categoryField = value;
}
}