Hi Dora,
I am quite sure that I misunderstand your question, because it looks to me as if you need:
Plot3D[a x, {x, -2, 2}, {a, 0, 10}]
If you only want the points you could use
ListPointPlot3D[Table[{x, a, a x}, {x, -2, 2, 0.1}, {a, 0, 10, 1}]]
But all of this is very basic and is very well documented. So I suppose that your question has some gist that I don't get. Could you explain this in more detail, please?
Cheers,
Marco