how to show row number

  • Thread starter Thread starter vaidas gudas
  • Start date Start date
V

vaidas gudas

Hoe to show row number in datagrid, then he get data from Dataset,
 
Hi vaidas gudas,

I dont know if this works out for you. What i did was i created a view with
an extra column and added the row ids and then i binded the datagrid with
the view.
 
I dont't now how to create this view from sql server. I know thet In the
Oracle it is column ROWNUM, but in sqlSERVER it is not. I tried to create
this view from examples, but it was failed.
Maybe it is other way to create this column. programaticly
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top