Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
QuestionWhen inputting data form main one other always on form main ? Pin
Member 24584672-Aug-18 21:29
Member 24584672-Aug-18 21:29 
AnswerRe: When inputting data form main one other always on form main ? Pin
Richard MacCutchan2-Aug-18 21:40
mveRichard MacCutchan2-Aug-18 21:40 
AnswerRe: When inputting data form main one other always on form main ? Pin
OriginalGriff2-Aug-18 21:45
mveOriginalGriff2-Aug-18 21:45 
GeneralRe: When inputting data form main one other always on form main ? Pin
Member 24584675-Aug-18 16:42
Member 24584675-Aug-18 16:42 
GeneralRe: When inputting data form main one other always on form main ? Pin
OriginalGriff5-Aug-18 19:35
mveOriginalGriff5-Aug-18 19:35 
AnswerRe: When inputting data form main one other always on form main ? Pin
BillWoodruff3-Aug-18 2:17
professionalBillWoodruff3-Aug-18 2:17 
QuestionC# Pin
Jeremiah Okoduwa2-Aug-18 0:51
Jeremiah Okoduwa2-Aug-18 0:51 
AnswerRe: C# Pin
Daniel Pfeffer2-Aug-18 1:12
professionalDaniel Pfeffer2-Aug-18 1:12 
AnswerRe: C# Pin
Nathan Minier2-Aug-18 1:14
professionalNathan Minier2-Aug-18 1:14 
AnswerRe: C# Pin
OriginalGriff2-Aug-18 1:19
mveOriginalGriff2-Aug-18 1:19 
AnswerRe: C# Pin
Richard MacCutchan2-Aug-18 1:33
mveRichard MacCutchan2-Aug-18 1:33 
AnswerRe: C# Pin
BillWoodruff3-Aug-18 2:23
professionalBillWoodruff3-Aug-18 2:23 
QuestionCombining TreeView and Canvas in WPF ( MVVM ) Pin
Kenneth Haugland30-Jul-18 21:50
mvaKenneth Haugland30-Jul-18 21:50 
AnswerRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Pete O'Hanlon30-Jul-18 23:47
mvePete O'Hanlon30-Jul-18 23:47 
GeneralRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Kenneth Haugland31-Jul-18 2:05
mvaKenneth Haugland31-Jul-18 2:05 
AnswerRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Gerry Schmitz31-Jul-18 13:08
mveGerry Schmitz31-Jul-18 13:08 
GeneralRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Kenneth Haugland31-Jul-18 21:26
mvaKenneth Haugland31-Jul-18 21:26 
GeneralRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Gerry Schmitz2-Aug-18 7:33
mveGerry Schmitz2-Aug-18 7:33 
GeneralRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Kenneth Haugland2-Aug-18 23:56
mvaKenneth Haugland2-Aug-18 23:56 
GeneralRe: Combining TreeView and Canvas in WPF ( MVVM ) Pin
Gerry Schmitz3-Aug-18 7:54
mveGerry Schmitz3-Aug-18 7:54 
QuestionWhy does the DataTable get strings do not exceed 255 characters ? Pin
Member 245846729-Jul-18 18:55
Member 245846729-Jul-18 18:55 
AnswerRe: Why does the DataTable get strings do not exceed 255 characters ? Pin
OriginalGriff29-Jul-18 19:53
mveOriginalGriff29-Jul-18 19:53 
Start by checking your data: look directly at the DB content using Access itself and ensure that the data as entered is complete, and longer than 255 characters. Do not assume it is right: check it.

If it isn't, look at the software you used to enter it.
If it is, then use the debugger to look directly at the DataTable as soon as you have filled it, and check exactly what is in there - it should be the same.

If it isn't, check your loading code and make sure you are referring to the same DB file you checked earlier.
If it is, put the value from the DB into a variable and look at it using the debugger:
C#
object o = dt.Rows [0] ["NOIDUNG"];
string s = o.ToString ();
Check exactly what you have there.

We can't do that for you!
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Why does the DataTable get strings do not exceed 255 characters ? Pin
Member 245846730-Jul-18 16:11
Member 245846730-Jul-18 16:11 
AnswerRe: Why does the DataTable get strings do not exceed 255 characters ? Pin
jschell30-Jul-18 13:02
jschell30-Jul-18 13:02 
GeneralRe: Why does the DataTable get strings do not exceed 255 characters ? Pin
Gerry Schmitz31-Jul-18 12:58
mveGerry Schmitz31-Jul-18 12:58 

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.