protected void btnGetTerminals_Click(object sender, EventArgs e) { ObjectDataSource2.SelectParameters.Add("branchIDs",strBranchValues); ObjectDataSource2.DataBind(); GridView1.Visible = true; } In code i have the following <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="WGetTerminalList" TypeName="WebApplication1.ServiceReference1.RptServiceSoapClient"> <SelectParameters> <asp:Parameter Name="branchIDs" Type="String" /> </SelectParameters> Its just not working that is i am not able to access WGetTerminalList any suggestions of how i can do it Regards,
ObjectDataSource2.SelectParameters.Clear();//add this line ObjectDataSource2.SelectParameters.Add("branchIDs",strBranchValues);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)