i m a new employee . i face a problem to show description 1 and description 2 in one column
if any body help me best regurds,
my code--------
GridView4.DataSource = st;
GridView4.DataBind();
its show an error
GridView4.DataSource = st;
GridView4.DataBind();
its show an error
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
Jignesh TrivediRank #16 · 50.3K reputationPosted May 22, 2013, 11:18 PM EDT
your syntax looks correct.
please share your error description.
Rowshan Ali55 reputationPosted May 23, 2013, 12:41 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted May 23, 2013, 1:00 AM EDT
try following code
var st = from s in db.specSheets
select new
{
AccList = s.AccList,
descrip = s.descrip1 + "_" + s.descrip2,
Quantity = s.Quantity
};
hope this will help you.