Hi All,

I'am a newbie in .net programming.My requirement is in vb.net on
formload i'am filling my datagrid with the columns from table.but i
wan't the values to be wrapped on loading so that i need not drag the
columns in the grid to see the value.please help.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Re: wrap text in datagrid by Christopher

Christopher
Mon Mar 14 12:22:05 CST 2005

If I understand you correctly, you want the data from the table to word
wrap when the cell is populated? To do this, you will need to subclass
the DataGridTextBoxColumn and override the OnPaint handler.

See the following link:
http://www.windowsforms.net/Forums/ShowPost.aspx?tabIndex=1&tabId=41&PostID=2922

kalyan kamesh submitted this idea :
> Hi All,
>
> I'am a newbie in .net programming.My requirement is in vb.net on
> formload i'am filling my datagrid with the columns from table.but i
> wan't the values to be wrapped on loading so that i need not drag the
> columns in the grid to see the value.please help.
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

--
--------------------------------------------------
Christopher C. Bernholt
I.T. Research & Development
.NET Re-Engineering Team
R & L Carriers, Inc.
http://www.gorlc.com
--------------------------------------------------