Display in GridView
-
Hi, I am trying this for couple of days. But could not solve it. I am calling a stored procedure (it has 3 I/P parameters) with command object and binding to a gridview. One parameter takes multiple values (ex: 10,20,30) When I debug the application, all the values, its passing correctly. (When I run the stored procedure in the back end, its giving all the rows) But after binding to gridview, its displaying only the first value. For example, If I pass company as 120 and fund as 10,20,30 and date as 3/31/2008, the stored procedure is taking all the values. But when it displays in the grid it showing only the data of fund 10. Please help me. how can I get the values in the grid. Thank for all your help. Vasini
-
Hi, I am trying this for couple of days. But could not solve it. I am calling a stored procedure (it has 3 I/P parameters) with command object and binding to a gridview. One parameter takes multiple values (ex: 10,20,30) When I debug the application, all the values, its passing correctly. (When I run the stored procedure in the back end, its giving all the rows) But after binding to gridview, its displaying only the first value. For example, If I pass company as 120 and fund as 10,20,30 and date as 3/31/2008, the stored procedure is taking all the values. But when it displays in the grid it showing only the data of fund 10. Please help me. how can I get the values in the grid. Thank for all your help. Vasini
-
Thanks for the reply. I have binded to the gridview. Its displaying the first value. I would like to display all the 3 or 4 ( how many I pass) in the grid. Thanks again....
-
Hi, I am trying this for couple of days. But could not solve it. I am calling a stored procedure (it has 3 I/P parameters) with command object and binding to a gridview. One parameter takes multiple values (ex: 10,20,30) When I debug the application, all the values, its passing correctly. (When I run the stored procedure in the back end, its giving all the rows) But after binding to gridview, its displaying only the first value. For example, If I pass company as 120 and fund as 10,20,30 and date as 3/31/2008, the stored procedure is taking all the values. But when it displays in the grid it showing only the data of fund 10. Please help me. how can I get the values in the grid. Thank for all your help. Vasini