hi expert
please guide me how i can call the function result in asp.net program in a text field
i try as below but result is null
SqlCommand cmd = new SqlCommand("SELECT * FROM dbo.check_farmer_loan(@farmer_cd)", connect);
// cmd.CommandType=CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@farmer_cd",party_code.Text);
SqlDataAdapter db = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
db.Fill(dt);
loan_amt.Text = dt.Rows[0][0].ToString();
Jignesh KumarPosted Feb 19, 2020, 9:45 AM
Anil SharmaPosted Feb 19, 2020, 10:06 PM
Anil SharmaPosted Feb 19, 2020, 7:38 AM
Navaneeth KrishnanPosted Feb 19, 2020, 6:54 AM