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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abdul Momin Tasleem AnsariPosted Jun 10, 2015, 8:57 AM
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();
}