How to add post article from database
please send the cod
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 attend4days leftRegister
AbedElHamid AlWahidy72 reputationPosted Apr 10, 2016, 3:14 AM EDT
{
SqlCommand _CmdSearch = new SqlCommand("Select * FROM WaiteApprove Where UserName =@UserName", _Conn);
_CmdSearch.Parameters.AddWithValue("@UserName", _UserName);
DataTable _DTable = new DataTable();
SqlDataAdapter _DAdapter = new SqlDataAdapter(_CmdSearch);
_DAdapter.Fill(_DTable);
GrdNewItem.DataSource = _DTable;
GrdNewItem.DataBind();
}
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Apr 8, 2016, 4:51 AM EDT
dharmender kumar12 reputationPosted Apr 8, 2016, 5:03 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Apr 8, 2016, 5:07 AM EDT