S
shapper
Hello,
I have a stored procedures as follows:
SELECT a.ArticleID, a.Title, a.Content, c.CommentId, c.Title,
c.Comment
FROM Articles a
INNER JOIN Comments c ON a.ArticleID = c.CommentID
WHERE a.ArticleDate = @articledate
I get a dataset in my .NET code.
How can I get, from my dataset, given for example its ID, the title
and content of an article and all the titles and comments related with
that article?
Thanks,
Miguel
I have a stored procedures as follows:
SELECT a.ArticleID, a.Title, a.Content, c.CommentId, c.Title,
c.Comment
FROM Articles a
INNER JOIN Comments c ON a.ArticleID = c.CommentID
WHERE a.ArticleDate = @articledate
I get a dataset in my .NET code.
How can I get, from my dataset, given for example its ID, the title
and content of an article and all the titles and comments related with
that article?
Thanks,
Miguel