HOW TO CODE FOR THE ABOVE..
HOW TO RESTRICT NO OF USER REGISTRANTS IN A DAY IN ASP.NET
AM DEVELOPING A CAR BOOKING APPLICATION..I HAVE A SCENARIO FOR RESTRICTING NO OF BOOKINGS TO 10 IN A DAY.. IF IT EXCEEDS ALERT MESSAGE SHOULD COME..?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Anurag SarkarRank #1,049 · 1.8K reputationPosted Apr 17, 2013, 4:08 AM EDT
string check="select record from table";
SqlCommand cmd=new SqlCommand(check,con);
SqlDataReader dr=new SqlDataReader();
dr=cmd.ExecuteReader();
if(dr.Count>10)
{
MessageBox.Show("Limit Exceeded");
}
Posted Apr 17, 2013, 4:15 AM EDT
But i want to suggest , you could use WCF Service in this scenario