TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cassie Mod
NA
488
69.9k
In a valid data source must either be deployed IEnumerable I
Jan 16 2017 7:34 AM
HI guys, i get the following error when i want to add a resonse as a datasource.
var service =
new
TechnicServiceClient();
var sessionId = Guid.Parse(HttpContext.Current.Session[
"BWSESSION"
].ToString());
var request =
new
GetScaEndpointsRequest
{
UserId = Request.QueryString[
"userId"
],
sessionId = sessionId,
requestId = _requestId,
requestUsername =
null
,
jSessionId = App.User.jSessionId
};
var scaDeviceList = service.GetScaEndpoints(request);
// bind to repeater.DataSource
//AdditionalDevices.DataSource = App.GetAccessDeviceSca(_user); // get collection of objects
AdditionalDevices.DataSource = scaDeviceList;
AdditionalDevices.DataBind();
// the error I get:
Message =
"There is an invalid data source used for additional devices. In a valid data source must either be deployed IEnumerable IListSource either."
wtf am i doing wrong ?? thnx guys
Reply
Answers (
1
)
Telerik Virtual Grid Displays "Table" in GridView
i want to autogenerate my empid