blah blah blah is here! blah blah » Close

0
votes
1 answers

What data type would be best for storing the money formatb of data in C#?

Hi, I am working on a website which is supposed to deal with users bank transactions. As it is going to deal with money on a higher scale. I want to know what will be the best fit data type for storing the money values in C# language such ...

0
votes
1 answers

What's the difference?

AK01
15

first [code]foreach (DataRow row in Table01.Rows) { int count = row.Field<int>(0); string name = row.Field<string>(1); } [/code] second [code]foreach (DataRow row in Table01.Rows) { int ...

0
votes
1 answers

C# programming issue "A project with an output type of class library cant be started directly".

Hello! I am using Microsoft Visual C# 2008 Express edition. I recently downloaded the C# code from link: http://www.florian-leitner.de/index.php/projects/usb-hid-driver-library/ After compiling the code I got no error nor warning mess ...

0
votes
4 answers

C#: PPC: File download.

Hi, i have a problem with the following WebClient Class [code] WebClient Client = new WebClient(); Client.DownloadFile("http://www.someurl.com/file.txt", "file.txt"); [/code] i've used the using System.Net; but i ...

0
votes
3 answers

Null Element in a Generic List

Hi I want to create a class that will get a custom type generic list and will add an value of 0 in a specified element. To be more clear here is an example: I have the following: public class Clients { public int Clie ...

0
votes
1 answers

Unable to Cast Object Type

I am receiving this error when trying to update int fields on a page. I'm very new to this and don't understand the message. I've tried to research it but haven't found anything. Can anyone give me an idea of what to look for? Unable ...

0
votes
1 answers

Displaying double value in Textbox

Following is the code: private void button1_Click(object sender, EventArgs e) { Globals.Turbo.GetPosition(Globals.device_number, 1, 0, out Globals.motorPos); X_Encoder_Pos.Text = Global ...

Feedback