Data grid view using asp dot net [Resolved]

Posted by Sashi under ASP.NET on 2/12/2016 | Points: 10 | Views : 258 | Status : [Member] | Replies : 2
In this attachment a data grid is been shown . where as in the 2 nd row departure date that particular text box should not be valid. how to fix it using asp.net c#.




Responses

Posted by: Poster on: 2/12/2016 [Member] Starter | Points: 50

Up
0
Down

Resolved
What if you are using asp:CompareValidator in the asp:EditItemTemplate in the GridView. This should check if the data inserted into TextBox is valid or not.

Read more about CompareValidator at http://www.dotnetfunda.com/tutorials/controls/comparevalidator.aspx.

Thanks

Sashi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sashi on: 2/12/2016 [Member] Starter | Points: 25

Up
0
Down
Only "2nd row" depaturedate text box should be empty without inserting any value . But I want that particular text box to be visible. And i am using required field validator .

Sashi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response