I don't think that you can do it with the existing text box control.
But one way of doing it is by developing a new user control using the text
box and dynamically generated another set of small text boxs.. these small
text box will work with an event that detect a new line adding.
Nirosh.
"rammohan" <an*******@discussions.microsoft.com> wrote in message
news:e6****************************@phx.gbl...
how can display line number on left side in text box in
such a way that user cant modify those line numbers