GridView in Websetup
-
6 марта 2012 г. 6:54
Hi all,
I need to display a Gridview in one of my websetup window. I which i should load data based on the combobox selection change the data which i display in the GridView will be from a xml which i have in the same project. when i hit next button the data modified should be saved or update back to xml. did any one have any idea about this.
Note: if any one can't understand please let me know.
- Перемещено Mike Dos ZhangMicrosoft Contingent Staff 7 марта 2012 г. 6:20 asp.net topic (From:Visual C# General)
Все ответы
-
7 марта 2012 г. 0:23
When the combobox makes selection read the XML http://support.microsoft.com/kb/307548
Then when you make the changes save the xml file back...
NOTE: I believe you can bind the Gridview to the XML elements too...
DataSet ds = new DataSet(); ds.ReadXml(XmlReader.Create("products.xml")); GridView1.PageSize = 1; GridView1.DataSource = ds; GridView1.DataBind();
JP Cowboy Coders Unite!
-
7 марта 2012 г. 5:53
Hi,
first thanks for you reply but. my question is different i need help regarding display a Gridview in one of the Websetup project window. i don't know how to do that first please help me arround with that.
-
7 марта 2012 г. 6:12
Hi ksnavinkumar,
You'll need to post it in the dedicated ASP.Net Forum http://forums.asp.net for more efficient responses, where you can contact ASP.NET experts. Thanks.
Bob Shen [MSFT]
MSDN Community Support | Feedback to us

