How to display value of database in c# form
I have attached the file
How to display data like that ?
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
Abdul Momin Tasleem Ansari177 reputationPosted Jun 10, 2015, 4:57 AM EDT
DataSet ds = new DataSet();
query = "Your Query";
OracleDataAdapter da = new OracleDataAdapter(query, conn);
da.Fill(ds);
if (ds != null && ds.Tables[0].Rows.Count > 0)
{
TextBox Name=ds.Tables[0].Rows[0]["ID"].ToString();
}