Last post Apr 17, 2013 06:27 AM by diplomaramesh
Apr 17, 2013 06:20 AM|thanveerbanu|LINK
my project is an online lottery system which has a verification module.the results of a particular lottery game is displayed in the grid view which has a select button.on clicking it a details view is displayed which contains the details from a verification
database for the corresponding row selected.if details view is displayed it means the user is valid.if the user is not valid there is no entry for him in verification db.then on clicking select the detailsview is simply not displayed.instead i want to display
an error message "invalid user".how to do this.
what i am currently using is
but this is not working.please help
Apr 17, 2013 06:27 AM|diplomaramesh|LINK
Need when pageload,Check your query return count .for
If your database query return type is DataView .
if(DataView.Table.Rows.Count == 0)