We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Entering a line break in a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

33457 Aug 19,2005 07:26 PM Aug 19,2005 09:47 PM Windows Forms 1
loading
Tags: GridControl
Steve Smith
Asked On August 19, 2005 07:26 PM

How do I programatically enter a newline command into a grid cell, for example, "Line1" & vbcr & "Line2" = Line1 Line2 Thanks in advance! Steve.

Administrator [Syncfusion]
Replied On August 19, 2005 09:47 PM

Try GridControl1(2, 2).Text = "Line1" & Environment.NewLine & "Line2"

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;