Onteora Software

Ken Tucker's Blog
posts - 145, comments - 621, trackbacks - 0

May 2008 Entries

Validating Data entered in a DataRepeater control

In this example I will show how to validate the data entered into a datarepeater control. For this example I am added the northwind SQL compact edition database to the project and created a typed dataset for the products table.  So from the toolbox drop a datarepeater on the form.  Inside the datarepeater drag the ProductName, UnitPrice, and Units in stock fields. Your form should look something like     Now in the drawitem event for the datarepeater we can add a handler to validating event. Private Sub DataRepeater1_DrawItem(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.PowerPacks.DataRepeaterItemEventArgs) Handles DataRepeater1.DrawItem   ...

posted @ Wednesday, May 07, 2008 12:47 AM | Feedback (0) | Filed Under [ VB ]

Powered by: