In this sitvation query crating mistke,
form in combobox display any type scheme display but, scheme dissue (date 5-8-13)+one year adding how can creating procedure
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 5, 2013, 5:44 AM
what exactly you wanted to do?
Regards,
Iftikar
JAYESH AJPosted Aug 5, 2013, 5:42 AM
JAYESH AJPosted Aug 5, 2013, 3:45 AM
(
@vScheme varchar(50),
@dDue_Date datetime,
@selects varchar(50)
)
AS
begin
select vLoan_No As LoanNumaber,dIssue_Date As Date,vParty_Id As CustomerName,dcLoan_Amt As LoanAmount,dDue_Date As DueDate from tbl_LoanMaster
WHERE vScheme=@vScheme and dDue_Date=@selects+365 and vStatus='N'
end
***************************************
DateTime selects;
string vScheme;
private void button1_Click(object sender, EventArgs e)
{
if (cmbscheme.Text == "All")
{
selects =All;//The name 'All' does not exist in the current context
}
DataTable dt = new DataTable();
dt = objLoanEntryBL.fnfillingdueregister(vScheme, selects);
dataGridView1.DataSource = dt;
}
Iftikar HussainPosted Aug 5, 2013, 3:28 AM
Not clear about your query. Please provide more details.
Regards,
Iftikar