I want to display Gridview record from two tables on two GridView, the Payment record will be displayed on GridView one while Item Order table will be displayed on GridView2, so ones the user inserts receipt number and the date the transaction took place and clicks search button the two records will be displayed on the two GridViews.
ID,Date,Receipt,Name,Phone,Address,Payment_Status,Payment_Method,Bank_Name,Account_Number,Total,AmountPaid,Balance.
Item Order table below ID, Date, Reciept,Brand,Quantity,Price
ALTER PROCEDURE [dbo].[GetReportsDate]
@From DateTime,
@ToDate DateTime
AS
SELECT ID,Date,Receipt,Name,Phone,Address,Payment_Status,Payment_Method,Bank_Name,Account_Number,Total,AmountPaid,Balance
FROM Payment WHERE (Date BETWEEN @From AND @ToDate)
RETURN 0
END