Datagrid-Binding How can set the no of columns ?

A

Agnes

my grid is bind to a large table.
in my select command text = "select code,name ,address1,address2"
the datagrid show 4 columns, How can I only set it to "show two columns "
???

As the users selected the row, I need to return
"code,name,address1,address2" ,
so I think I can't list view and I should not show all columns to the
datagrid

Thanks
from Agnes
 
A

Agnes

U are very kind. the web site is helpful. I can solve my problem .

Thanks a lot
From Agnes ^_^
 

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

Top