Grid view validations
<p>in my web application i have grid view control with edit property true. Now i want to use the validation when user not enter anything in text boxes, i not use the edit template i use boundfields. how can i use validation help me thank you.
this is my code</p>

<p>
                        </p>

<pre><code>                    &lt;Columns&gt;


                     &lt;asp:TemplateField HeaderText="Topic Id"&gt;
                    &lt;ItemTemplate&gt;
                    &lt;asp:Label ID="lblsid" runat="server" Text='&lt;%#Eval("subjectid") %&gt;'&gt;&lt;/asp:Label&gt;
                    &lt;/ItemTemplate&gt;
                         &lt;HeaderStyle CssClass="text2" /&gt;
                    &lt;/asp:TemplateField&gt;                          

                    &lt;asp:BoundField  HeaderStyle-CssClass="text2" HeaderText="SubjectName" DataField="subjectname" /&gt; 
                      &lt;/Columns&gt;

   &lt;/asp:GridView&gt;&lt;/td&gt;&lt;/tr&gt;
</code></pre>
