passing paramter as to webservcie function in wcf

Posted by prince23 on Stack Overflow See other posts from Stack Overflow or by prince23
Published on 2010-05-16T13:33:14Z Indexed on 2010/05/16 13:40 UTC
Read the original article Hit count: 171

hi, this my datagrid event here i am calling the webservice.

    private void dgProject_RowDetailsVisibilityChanged(object sender, DataGridRowDetailsEventArgs e)
    {
WSDataServiceClient wsService = new WSDataServiceClient();

 wsService.GetProjectCompleted += new EventHandler<GetProjectCompletedEventArgs>(wsService_GetProjectCompleted);
                        wsService.GetProjectAsync(strUniqueName);

// here can i send datagrid as an parameter to the function? Datagrid gd= new Datagrid(); }

 void wsService_GetProjectCompleted(object sender, GetProjectCompletedEventArgs e)
        {
//

 }

is there any way that i can send datagrid as a paramter to this function is it possiable to do? beacuse i will be using the same websevice function her but need to bind result with different datagrid based on the condition if i can send a datagrid as paramter to this function i can reduce the code so

any help on this issue would be great thank you.

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about Silverlight