HI,
Ive got the following response and request
-
- var service = new TechnicServiceClient();
- var sessionId = Guid.Parse(HttpContext.Current.Session["BWSESSION"].ToString());
- var jsessionId = App.User.jSessionId;
- var request = new GetScaEndpointsRequest
- {
- UserId = Request.QueryString["userId"],
- sessionId = sessionId,
- requestId = _requestId,
- requestUsername = null,
- jSessionId = jsessionId
- };
-
- var response = service.GetScaEndpoints(request);
-
-
- var LinePort = (Label)e.Item.FindControl("LinePortLabel");
- var selectedDeviceToDelete = response.LinePort
The response contains in this case two devices wich have several attributes like LinePort.
My question is, How can i get only the selectedDevice ( to Delete) ??
LinePort.Text contains the value of the selected Item.
however then i try
var selectedDeviceToDelete = response.LinePort.Select(LinePort.Text); but that doesn;t work. so based on the entire response i need to get the selectedResonse.LinePort, but how ?????
thnx