Connecting Tech Pros Worldwide Help | Site Map

how to validate dropdowns in each row of a datagrid using C#.net

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 27 '09
I have a data grid which is populated from one table in a database,
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#2: Aug 27 '09

re: how to validate dropdowns in each row of a datagrid using C#.net


Quote:

Originally Posted by naikdarshan229 View Post

I have a data grid which is populated from one table in a database,

:) that's great!
What's the problem? And what have you tried so far to solve the problem?
ssnaik84's Avatar
Member
 
Join Date: Aug 2009
Location: Bengaluru, India
Posts: 119
#3: Sep 1 '09

re: how to validate dropdowns in each row of a datagrid using C#.net


In your <ItemTemplate> of grid columns,
put RequiredFieldValidator with DropDownList.
Reply