narasiman rao

narasiman rao

  • NA
  • 519
  • 743.5k

validate the from date and excel 2nd row date mustbesame

Aug 21 2014 12:13 PM

In run mode as follows
 
From date Calendar1 To date Calendar2 Import (Button)
In excel records as follows
Date Course Session Faculty
18-Aug-14 RMFA 1 DOC
18-Aug-14 MC 2 DRS
19-Aug-14 SSO 3 BSR
19-Aug-14 EFA 4 MJ
19-Aug-14 SSO 5 BSR
19-Aug-14 EFA 6 MJ
I have one Gridview as follows
When user click the Import Button, The above excel records will be displayed in Gridview.
 
In Gridview Record as follows
Date Course Session Faculty
18-Aug-14 RMFA 1 DOC
18-Aug-14 MC 2 DRS
19-Aug-14 SSO 3 BSR
19-Aug-14 EFA 4 MJ
19-Aug-14 SSO 5 BSR
19-Aug-14 EFA 6 MJ
I want to validate user has to select the From date 18-Aug-14 from the calendar1 and in excel
2nd row must be 18-Aug-14 date .
For your understanding i am writing as follows
Fromdate selected date and in excel 2nd row date must be the same.
For that how can i validate in asp.ent using C#.