Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Searching in database based on certain cetria

$
0
0

Scenario Description –

I have two asp pages and two corresponding table in database.

For Ex.

  1. Applicantdetail.aspx  ; table name in sql database – Applicantdetail
  2. Projectdetail.aspx ; Table name in sql database – projectdetail

 

Design of applicant details.aspx ---

               Applicant name -       Text box                                                                          Applicant Id -   Textbox     

               Mobile No. -               Text Box                                                                         City         -         Text Box  

               Booking Date -           Calendar                                           

  Design of Projectsetails.aspx ---

              Flat No. -          Textbox                   Area -                    Text Box

              Rate -                Text Box                  Basic Price-          Text Box (in this result should be area * rate)

             Other charges -    Text Box

1.       So when user is giving input from front end it should save data in database.

2.       Now I have another report.aspx page, through which I want to generate a report consisting of all column from both table based on specific criteria.

Design of report.aspx for implementing search criteria –

              Applicant name -      Text Box                          Flat No. -                     Textbox

              Applicant id -          Text Box                            Booking Date -           Calendar

               Mobile No. -           Text Box

     Search

 So after giving input in any of search criteria field, it should generate a report including all columns from both table.

Let me know if any other clarification is required.

Thanks & regards

Prashant

Email id- prashantpatel321@gmail.com


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>