If(ds.Tables[1].Rows[0]["total"] == 0) check synrax
it cause the error..
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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 attend5days leftRegister
Pankaj PandeyRank #642 · 3.7K reputationPosted Jul 19, 2013, 4:00 AM EDT
Vishwas Kadamannaya111 reputationPosted Jul 19, 2013, 2:30 AM EDT
if(ds.Tables[1].Rows[0]["total"].ToString() == "0")
or
if(int.parse(ds.Tables[1].Rows[0]["total"].ToString()) == 0)
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 19, 2013, 2:43 AM EDT
if(ds.Tables[1].Rows[0]["total"].ToString() == "0")
or
please give details of your requirement . what you need in this line
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 19, 2013, 2:56 AM EDT
Try like this
Regards,
Iftikar