ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. 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="https://www.tutorialspoint.com/asp.net/asp.net_data_binding.htm">https://www.tutorialspoint.com/asp.net/asp.net_data_binding.htm</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="https://asp.net-tutorials.com/validation/introduction/">https://asp.net-tutorials.com/validation/introduction/</a></p> <p><a href="https://www.c-sharpcorner.com/UploadFile/puranindia/validation-controls-in-Asp-Net/">https://www.c-sharpcorner.com/UploadFile/puranindia/validation-controls-in-Asp-Net/</a></p> <p>&nbsp;</p> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/184132/Difference-between-DataBinding-and-Validation-in-ASPNet/https://www.aspforums.net:443/Threads/184132/Difference-between-DataBinding-and-Validation-in-ASPNet/Sun, 23 Dec 2018 23:41:08 GMT