Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
GeneralCount Char in String Pin
Bedevian16-Oct-04 19:08
Bedevian16-Oct-04 19:08 
GeneralRe: Count Char in String Pin
Alex Korchemniy16-Oct-04 20:58
Alex Korchemniy16-Oct-04 20:58 
GeneralPlease help User Control Pin
robmays16-Oct-04 16:45
robmays16-Oct-04 16:45 
GeneralRe: Please help User Control Pin
afinnell17-Oct-04 8:57
afinnell17-Oct-04 8:57 
GeneralRe: Please help User Control Pin
robmays17-Oct-04 20:47
robmays17-Oct-04 20:47 
GeneralMultiline text not displayed correctly in text box Pin
Luis Alonso Ramos16-Oct-04 12:38
Luis Alonso Ramos16-Oct-04 12:38 
GeneralRe: Multiline text not displayed correctly in text box Pin
Heath Stewart16-Oct-04 21:09
protectorHeath Stewart16-Oct-04 21:09 
GeneralRe: Multiline text not displayed correctly in text box Pin
Luis Alonso Ramos16-Oct-04 21:23
Luis Alonso Ramos16-Oct-04 21:23 
Heath Stewart wrote:
How are you "saving" this data?

person.Address = txtAddress.Text; // person.Address is a string property

And then:

txtAddress.Text = person.Address;

And sometimes in between it is saved to and read from a database with a:

strSQL = "UPDATE ..... Address='" + person.Address + "' ....";

and read from the database with a:

person.Adress = datareader.GetString(...);

When I try output that person.Address to a printer, it comes out correctly in several lines.

Now that I'm typing it here, I'm thinking that the problem could be in the UPDATE statement. Any ideas?

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

GeneralRe: Multiline text not displayed correctly in text box Pin
Heath Stewart16-Oct-04 21:31
protectorHeath Stewart16-Oct-04 21:31 
GeneralRe: Multiline text not displayed correctly in text box Pin
Luis Alonso Ramos16-Oct-04 21:58
Luis Alonso Ramos16-Oct-04 21:58 
GeneralRe: Multiline text not displayed correctly in text box Pin
Heath Stewart16-Oct-04 22:13
protectorHeath Stewart16-Oct-04 22:13 
GeneralNo validation events when clicking on a toolbar Pin
Luis Alonso Ramos16-Oct-04 12:33
Luis Alonso Ramos16-Oct-04 12:33 
GeneralRe: No validation events when clicking on a toolbar Pin
Alex Korchemniy16-Oct-04 15:01
Alex Korchemniy16-Oct-04 15:01 
GeneralRe: No validation events when clicking on a toolbar Pin
Luis Alonso Ramos16-Oct-04 15:49
Luis Alonso Ramos16-Oct-04 15:49 
GeneralRe: No validation events when clicking on a toolbar Pin
Heath Stewart16-Oct-04 20:58
protectorHeath Stewart16-Oct-04 20:58 
GeneralRe: No validation events when clicking on a toolbar Pin
Luis Alonso Ramos16-Oct-04 22:07
Luis Alonso Ramos16-Oct-04 22:07 
GeneralRe: No validation events when clicking on a toolbar Pin
Luis Alonso Ramos18-Oct-04 14:02
Luis Alonso Ramos18-Oct-04 14:02 
GeneralRe: No validation events when clicking on a toolbar Pin
Heath Stewart18-Oct-04 14:04
protectorHeath Stewart18-Oct-04 14:04 
GeneralRe: No validation events when clicking on a toolbar Pin
Luis Alonso Ramos18-Oct-04 14:23
Luis Alonso Ramos18-Oct-04 14:23 
GeneralRe: No validation events when clicking on a toolbar Pin
Heath Stewart18-Oct-04 16:08
protectorHeath Stewart18-Oct-04 16:08 
GeneralRe: No validation events when clicking on a toolbar Pin
Luis Alonso Ramos19-Oct-04 6:03
Luis Alonso Ramos19-Oct-04 6:03 
GeneralRe: No validation events when clicking on a toolbar Pin
Heath Stewart19-Oct-04 7:14
protectorHeath Stewart19-Oct-04 7:14 
GeneralRe: No validation events when clicking on a toolbar Pin
Luis Alonso Ramos19-Oct-04 7:39
Luis Alonso Ramos19-Oct-04 7:39 
GeneralGetting active MdiChild Pin
Luis Alonso Ramos16-Oct-04 12:29
Luis Alonso Ramos16-Oct-04 12:29 
GeneralRe: Getting active MdiChild Pin
Alex Korchemniy16-Oct-04 14:45
Alex Korchemniy16-Oct-04 14:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.