create columns automatically -- want to choose alignment!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am creating my columns automatically at run time, but I also want to align
the text columns to the left and the number columns to the right. Is there
anyway to do this?? I can't see how to specify this. Thanks.
 
AW,
I am creating my columns automatically at run time, but I also want to
align
the text columns to the left and the number columns to the right. Is
there
anyway to do this?? I can't see how to specify this. Thanks.

Do you know in how many classes columns exist in Net.

Maybe, if you want an answer, is it interesting to tell us columns in what?.

:-)

Cor
 
Sorry Cor, I am kind of a beginner at dot net. I create a datagrid and a
dataset. I fill a data adapter with the dataset and I bind the datagrid. I
create the columns of my datagrid automatically at run time and I have to do
it that way because the page is structured to handle any query that I pass in
and display it. I was just wondering if there was a way to check the column
type so that I could align the column appropriately to the right or left. I
hope that answers your class question, I don't know the class I'm using!
Thanks for your help.
 
Back
Top