I want to save ListViewColumns’ widths to xml file.How to do ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First off you can retrieve the column count like so:
If you wish to iterate over the columns you can do the following:
Look into using the XmlDocument class or Linq to XML, to persist and load your XML data.
XmlDocument Class
LINQ to XML
LINQ to XML – 5 Minute Overview