Description:
Microsoft .NET technology newsgroup.
|
|
|
How do I handle European style float parsing?
|
| |
I have a program which parses float values from a file. European users are getting an error because their floats use commas instead of dots. How can I make this universal, so whether it is a dot or comma my program will not crash? Also, if I wrote floats back to the file, how do I handle it universally?... more »
|
|
XmlDocument.Load() Protocol
|
| |
I'm using XmlDocument.Load to retrieve a PAD (XML) file. My code looks something like this: XmlDocument xml = new XmlDocument(); // Non-HTTP prefix not supported if (!url.StartsWith("http://", StringComparison.OrdinalIgnore Case)) throw new Exception("PAD URL contains an unsupported protocol... more »
|
|
error message - "Must declare the scalar variable "@state"
|
| |
Hi, Sorry to trouble you. I know this is spoken about on the web but I have yet to find an answer that works. I have the following code whichs adds a value to a sql insert statement: cmd.CommandText = "INSERT into Cust_Sku(state,cust_sku) VALUES (@state , @sku)"; cmd.Parameters.Add("@state", OdbcType.NChar).Value = words[0];... more »
|
|
how to combine two arrays
|
| |
I have class public class Base { protected virtual string[] RequiredFields { get { return new string[] { "field1"}; } } ...I need to add some new string to base class sting in overridden method. I tried class Konto : Base { protected override string[] RequiredFields... more »
|
|
local https web site
|
| |
I was not sure where to ask, so I thought I ask here since I get all my answers here than anywhere. How do I go about creating https web site on my local machine? Thanks,
|
|
Help converting code
|
| |
I have the following code for a console application that I got from a MS web site: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Services.Protocols; using WebServiceAccessReports.ufddbr eportservices; namespace WebServiceAccessReports { class Program... more »
|
|
Good shops, inexpensive
|
| |
Dear friends, welcome you to my shop to purchase products, quality is guaranteed, the price lowest in the world, directly in the factory purchase, small profit margins, what is required though to me that my e-mail: hot_s...@126.com [link]... more »
|
|
Get max
|
| |
Hello, I am trying to get the maximum Id value from all Asset nodes in a XML file: private XDocument _assets; // ... Int32 id = _assets.Root.Elements("Asset") .Max(s => Int32.Parse (s.Element("Id").Value)); I am not sure if this is the best way to do it. And how can I define a default value 1 if there are no nodes Asset in... more »
|
|
|