Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid View

Status
Not open for further replies.

amorous

Programmer
Sep 5, 2003
1,008
US
Hi guys,

I am using VB.NET and ASP.NET...

I have created a DataGrid and i dont know how to increase the width of the coulmns...

For example

my Grid looks like this now

au_id|au_name|au_phone|state
_____________________________
123-| |304-|
234-|John|294-|CA
345| |1234|

actual thats all is one row...

how can make it to show

au_id |au_name|au_phone |state
______________________________________
123-234-345|John |304-294-1234|CA

Thanks in advance

-VJ
 
I do it declaratively in the grid like so:

<asp:TemplateColumn HeaderText="Customer Number">
<HeaderStyle Width="60px"></HeaderStyle>
~~~~

The same could be accomplished via code.

-p

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Please ignore this post...i got it working...

thanks anyways...

-VJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top