
Hello how can iIDisplay Specific Row wise Data on the Labels of windows form based application.
For Example I Want to display 2nd row data on the labels So what Strategy will be Used for this

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
Dorababu MekaRank #457 · 5.5K reputationPosted Mar 1, 2016, 1:52 AM EST
Dorababu MekaRank #457 · 5.5K reputationPosted Mar 1, 2016, 1:37 AM EST
Sumar Khan111 reputationPosted Mar 1, 2016, 1:42 AM EST
Dorababu MekaRank #457 · 5.5K reputationPosted Mar 1, 2016, 1:43 AM EST
Sumar Khan111 reputationPosted Mar 1, 2016, 1:45 AM EST
Dorababu MekaRank #457 · 5.5K reputationPosted Mar 1, 2016, 1:47 AM EST
Sumar Khan111 reputationPosted Mar 1, 2016, 1:49 AM EST
Amit Kumar SinghRank #562 · 4.3K reputationPosted Mar 1, 2016, 2:07 AM EST
{
lbl1.Text=Convert.ToInt32(ds.Tables[0].Row[0]["Product_Id"].ToString());
lbl2.Text=ds.Tables[0].Row[0]["Product_Name"].ToString();
lbl3.Text=Convert.ToInt32(ds.Tables[0].Row[0]["Qty"].ToString());
lbl4.Text=Convert.ToInt32(ds.Tables[0].Row[0]["TotalAmt"].ToString());
}