Guest_imported
New member
- Jan 1, 1970
- 0
Hi guys,
I'm coming out with this error when I try to use a dataview in my Webservice:
"You must implement the Add(System.Data.DataRowView) method on System.Data.DataView because it inherits from ICollection."
Now I've seen examples done using DataView and they never use DataRowView.
Here are some of my lines of code:
GetDetails = Users.Tables["users"].DefaultView;
GetDetails.AllowEdit = true;
GetDetails.RowFilter = "username = " + name + "";
return GetDetails;
Any help on this would be much appreciated.
J.
I'm coming out with this error when I try to use a dataview in my Webservice:
"You must implement the Add(System.Data.DataRowView) method on System.Data.DataView because it inherits from ICollection."
Now I've seen examples done using DataView and they never use DataRowView.
Here are some of my lines of code:
GetDetails = Users.Tables["users"].DefaultView;
GetDetails.AllowEdit = true;
GetDetails.RowFilter = "username = " + name + "";
return GetDetails;
Any help on this would be much appreciated.
J.