select c.cid,c1.cname from tablename1 c inner join tablename2 c1 on c.cid=c1.cid
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)