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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 11:28 PM EDT
Not clear about your query. Please provide more details.
Regards,
Iftikar
JAYESH AJ97 reputationPosted Aug 4, 2013, 11:45 PM EDT
(
@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;
}
JAYESH AJ97 reputationPosted Aug 5, 2013, 1:42 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 5, 2013, 1:44 AM EDT
what exactly you wanted to do?
Regards,
Iftikar