GridView Session
-
Hi, I need some help. I have an aspx page called Services.aspx and a Page called OrderConfirmation.aspx. On the Services page the user can fill in the form that will allow him to specify quantity of orders. I save this information to an arraylist and then send this arraylist to the OrderConfirmation page using the Session variable. My question is this: I have added a gridview to the OrderConfirmation page and bind the data to the session variable. How can I display the results in their own columns? I am returning the ProductCode, Description and Quantity. At the moment they all display in one column. Thanks!!
Illegal Operation
-
Hi, I need some help. I have an aspx page called Services.aspx and a Page called OrderConfirmation.aspx. On the Services page the user can fill in the form that will allow him to specify quantity of orders. I save this information to an arraylist and then send this arraylist to the OrderConfirmation page using the Session variable. My question is this: I have added a gridview to the OrderConfirmation page and bind the data to the session variable. How can I display the results in their own columns? I am returning the ProductCode, Description and Quantity. At the moment they all display in one column. Thanks!!
Illegal Operation
AFAIK, you can bind ArrayList to a GridView. Refer: MSDN[^] Try setting AutoGenerateColumns = True of the GridView.
Castle Rider
What if I freeze??? Don't forget to breath...
My: Website | Yahoo Group | Blog Spot
/xml>
-
Hi, I need some help. I have an aspx page called Services.aspx and a Page called OrderConfirmation.aspx. On the Services page the user can fill in the form that will allow him to specify quantity of orders. I save this information to an arraylist and then send this arraylist to the OrderConfirmation page using the Session variable. My question is this: I have added a gridview to the OrderConfirmation page and bind the data to the session variable. How can I display the results in their own columns? I am returning the ProductCode, Description and Quantity. At the moment they all display in one column. Thanks!!
Illegal Operation
You can do this with arraylist also but i feel that things would be easier for you if you will use DataTable for the same.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.