Published in: C#
DataTable dtData = DataSelection.ReturnDataTable("sp_StoredProc"); if (dtData.Rows.Count > 0) { txtFormField.Text = dtData.Rows[0]["Column"].ToString(); } foreach (DataRow dr in dtData.Rows) { txtFormField.Text = dr["Column"].ToString(); }
You need to login to post a comment.
