Allow visitors to rate your web pages and enter their comments in XML format. Vistors can then view comments and ratings left by others in a DataGrid. You determine which pages should be rated by simple adding a link to the comment page. To see this example in action click the "Run Sample" link at the bottom of this page. The download contains the web page source in both C#.NET and VB.NET. Decide on a page name, this could be a title, filename, number, or any name you want to use. Simply place a link on your web page that passes the page name to the comments page.
A RegularExpressionValidator is used to limit vistor input from the TextBoxComment control. The acceptable inputs are upper and lower case letters a to z, numbers 0 to 9, spaces, periods, commas, and single quotes.
[ Run Sample ] | [ View Source ] | [ Download ]