1
Answer

Search Records

Ramco Ramco

Ramco Ramco

2y
476
1

Hi

  I have below data and want to search in another table using Linq

Id = vid

vDate =  Convert.ToDateTime(mDate).ToString("dd-MM-yyyy");

vTime = Convert.ToDateTime(mTime).ToString("HH:mm");

I want to add 1 Hr to Vtime and store in another variable say toTime.

and then search record in another table on the confition ID + vDate and between vTime & toTime. If record found it should give message Duplicate

Thanks

Answers (1)