Some Controls

I'm developing an application which gathers data through a web service, this data is stored on a database and therefor each use must be able to modify certain aspects of it.

The textbox control in .NETCF2.0 supports multiple lines, however spacing is another issue.

If i were to publish data to the database using this mobile application (WINCE50), instead of the line breaks i get squares, however if i were to publish the same data through the web interface; the line breaks would properly appear.

Could the control be messing this up, or is the web service not interpreting this correctly

Image here: http://img134.imageshack.us/img134/7590/linebreaksample0ex.jpg

- Steve




Answer this question

Some Controls

  • ursus zeta

    Steven,

    If you are just using the '\n' escape char you might get those squares. Make sure you are using 'Microsoft' breaks which are '\r\n'.



  • RHTCJohn

    JR Lyon wrote:

    Steven,

    If you are just using the '\n' escape char you might get those squares. Make sure you are using 'Microsoft' breaks which are '\r\n'.

    Thanks for the reply!

    I'm not using any of those characters, i dont think. The textbox control which submits the data accepts returns, do i have any way to replace the return character with "\r\n"


    - Steve



  • Vahid Nourbin

    Hello stevan,
    I'm having the same problem but my app is to simulate a terminal and display data on a text box.
    can you share with me how you solve the square problem with backspace or enter key

  • Some Controls