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.
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.
Jignesh TrivediPosted May 23, 2013, 5:00 AM
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.
Rowshan AliPosted May 23, 2013, 4:41 AM
Jignesh TrivediPosted May 23, 2013, 3:18 AM
your syntax looks correct.
please share your error description.