ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Difference between DataBinding and Validation in ASP.Net<p>Hi&nbsp;SamMyat,</p> <p><span style="text-decoration: underline;"><strong>Data Binding</strong></span></p> <p>Every ASP.NET web form control inherits the DataBind method from its parent Control class which gives it an inherent capability to bind data to at least one of its properties. This is known as simple data binding or inline data binding.</p> <p>Simple data binding involves attaching any collection (item collection) which implements the IEnumerable interface or the DataSet and DataTable classes to the DataSource property of the control.</p> <p>On the other hand some controls can bind records, lists or columns of data into their structure through a DataSource control. These controls derive from the BaseDataBoundControl class. This is called declarative data binding.</p> <p>The data source controls help the data-bound controls implement functionalities such as sorting, paging and editing data collections.</p> <p>For more details refer below link.</p> <p><a href=""></a></p> <p><strong><span style="text-decoration: underline;">Validation</span></strong></p> <p>Validation in ASP.Net means validate the user input data to ensure that a form field has been properly filled by the user.</p> <p>ASP.Net provides the following validation controls.</p> <ol> <li>RequiredFieldValidator</li> <li>RangeValidator</li> <li>CompareValidator</li> <li>RegularExpressionValidator</li> <li>CustomValidator</li> <li>ValidationSummary</li> </ol> <p>For more details refer below links.</p> <p><a href=""></a></p> <p><a href=""></a></p> <p>&nbsp;</p> <p>&nbsp;</p>, 23 Dec 2018 23:41:08 GMT