Click here to Skip to main content
15,903,854 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionGetSystemMetric(SM_NETWORK) returns alwas 3 as the value!!! Pin
CoolCoder_New11-Mar-09 4:18
CoolCoder_New11-Mar-09 4:18 
AnswerRe: GetSystemMetric(SM_NETWORK) returns alwas 3 as the value!!! Pin
Dave Kreskowiak11-Mar-09 4:31
mveDave Kreskowiak11-Mar-09 4:31 
Question"Method Not Allowed" 405 On 2003 SP2 Pin
Lior Zat9-Mar-09 22:14
Lior Zat9-Mar-09 22:14 
AnswerRe: "Method Not Allowed" 405 On 2003 SP2 Pin
Dave Kreskowiak10-Mar-09 1:26
mveDave Kreskowiak10-Mar-09 1:26 
GeneralRe: "Method Not Allowed" 405 On 2003 SP2 Pin
led mike10-Mar-09 4:47
led mike10-Mar-09 4:47 
QuestionAppending the ToolboxItem.DependentAssemblies property Pin
astibich29-Mar-09 11:04
astibich29-Mar-09 11:04 
AnswerRe: Appending the ToolboxItem.DependentAssemblies property Pin
0x3c09-Mar-09 11:55
0x3c09-Mar-09 11:55 
QuestionBug in DataTable ReadXml causes spaces to be ignored Pin
calhuskerfan9-Mar-09 6:37
calhuskerfan9-Mar-09 6:37 
I found this one the hard way, http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=295677[^]. After writing and testing a bunch of code that relied on reading from persisted DataTables one of our test databases had columns with single spaces. While this post discusses .NET 3.0 I am seeing the behavior in .NET 2.0. I have not tested to see if it is fixed in any later versions.

However, if I read the same file, which is still persisted with a DataTable object (DataTable.WriteXml()), into a DataSet object instead and use the first DataTable in the DataTableCollection the whitespace is [appears to be, for me anyway] preserved properly in the DataTable

DataSet someData = new DataSet();
someData.ReadXml("somepersistedDataTable.xml");
//
DoSomethingToDataTable(someData.Tables[0]);
//
void DoSomethingToDataTable(DataTable dt)
{
}

Not sure if this is the correct place, or a repost for that matter, but wanted to share just in case someone else was having similar issues.
QuestionGlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 1:35
CoolCoder_New9-Mar-09 1:35 
AnswerRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 3:02
sitebuilderLuc Pattyn9-Mar-09 3:02 
AnswerRe: GlobalMemoryStatus() return negative value like - Pin
Dave Kreskowiak9-Mar-09 3:16
mveDave Kreskowiak9-Mar-09 3:16 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 3:45
CoolCoder_New9-Mar-09 3:45 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 3:55
sitebuilderLuc Pattyn9-Mar-09 3:55 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 4:23
CoolCoder_New9-Mar-09 4:23 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 4:29
sitebuilderLuc Pattyn9-Mar-09 4:29 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 4:58
CoolCoder_New9-Mar-09 4:58 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 5:05
sitebuilderLuc Pattyn9-Mar-09 5:05 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:53
CoolCoder_New9-Mar-09 5:53 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 6:02
sitebuilderLuc Pattyn9-Mar-09 6:02 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Dave Kreskowiak9-Mar-09 4:40
mveDave Kreskowiak9-Mar-09 4:40 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:48
CoolCoder_New9-Mar-09 5:48 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 6:00
sitebuilderLuc Pattyn9-Mar-09 6:00 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:54
CoolCoder_New9-Mar-09 5:54 
QuestionF# and IEnumerable Pin
Matty228-Mar-09 6:01
Matty228-Mar-09 6:01 
AnswerRe: F# and IEnumerable Pin
Matty228-Mar-09 6:17
Matty228-Mar-09 6:17 

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.