Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~7K People Reached
Favorite Tags

17 Posted Topics

Member Avatar for towerrounder

Hi all. Im new to JS and would like to note the following case: Ive run the following test numerous times ie: [CODE]<html> <body> <script type="text/javascript"> var s = 0, o = 0; for (a=0;a<=10;a++) { var start = new Date().getTime(); var res = 0; for (b=0;b<=100000000;b++) { res = …

Member Avatar for towerrounder
0
160
Member Avatar for towerrounder

Hi all. I come from an MS SQL background and a newbie in MY SQL. Im trying to run a simple query to populate a table: [CODE]Declare @I As Int Select @I = 1 While (@I < 100) Begin Insert into tbWhatEva Select @I Select @I = @I + 1 …

Member Avatar for towerrounder
0
211
Member Avatar for towerrounder

Hi all, I'd appreciate some advice concerning the following issue. I have a situation with two very different ways to implement. Both are easy, but Im not sure of the pros and cons of each. Basically I am allowing users to message each other on a website, and so I …

Member Avatar for nick.crane
0
213
Member Avatar for towerrounder

Hi All, I have a query that returns rows from a message table. Im basically trying to get the latest MESSAGE_TYPE for the user based on when the message was sent (MESSAGEDATE) At the moment I have a query that gets me almost what I want. It returns something like …

Member Avatar for MeSampath
0
113
Member Avatar for babbu

Adding to what private void said there is also a mapping type porperty on data tables. Setting it to mappingtype.hidden will do the same. [CODE] DataGridView dgv = new DataGridView(); dgv.Columns["ColumnName"].Visible = false; DataTable dt = new DataTable(); dt.Columns["ColumnName"].ColumnMapping = MappingType.Hidden; [/CODE]

Member Avatar for babbu
0
4K
Member Avatar for zachattack05

Here is another quick example of serialising a few text fields - three in this case - I just created a standard from with three text boxes and a save button, this is the code behind the form. A simple example of serialising - hope it helps [CODE] [Serializable] public …

Member Avatar for drifai
1
862
Member Avatar for Egypt Pharaoh
Member Avatar for sknake
0
101
Member Avatar for amit-400

Hey Amit-400 Ive never had to tackle something like this but I think you will need to get hold of a 'pdf' sdk I did a quick search and came across this site which offers a link to two sdk's - free I think [url]http://bytes.com/topic/c-sharp/answers/213964-pdf-sdk[/url] Hope that helps.

Member Avatar for towerrounder
-1
84
Member Avatar for mingarrolo

mingarrolo. This is the easiest problem I have come across on these forums. You have literally provided detailed instructions of what you need to do. Because you have incorrectly implemented step two, it leads me to believe you are very very new at coding. Coding is a tough concept to …

Member Avatar for Geekitygeek
0
120
Member Avatar for Chargerfan

Hey chargeFan Ive knocked together a quick simple example for you. Although it can be enhanced greatly. [CODE] public partial class Form1 : Form { private double opperand_A = 0; private bool opperand_A_Set = false; public Form1() { InitializeComponent(); } private void btAdd_Click(object sender, EventArgs e) { if (!opperand_A_Set) { …

Member Avatar for towerrounder
0
131
Member Avatar for rzhaley

Hey rzhaley You have many methods there and you could put that into one method. If else would be ok in this case, but I prefer a swith statement in this case as you have done. How about a method like this: [CODE] public string FromAbbreviation(string abr) { switch (abr.ToLower().Trim()) …

Member Avatar for rzhaley
0
209
Member Avatar for micka10

Hey Micka10 Its becuase your arraylist contains a reference to string[] record, which you have only created once (in memory). You are simply adding a reference to that array multiple times and at the same time updating it. To solve it simple create a new array inside the loop. i.e …

Member Avatar for micka10
0
268
Member Avatar for abc16

Hey abc16 I unfortunately dont know much about the MSAccess db. I kinda thought the MSAccess db was down and out. ie only used by legacy software. Ive been using Sql and its a dream to use. But thats neither here nor there. If I understand correctly you want the …

Member Avatar for towerrounder
0
92
Member Avatar for Mitja Bonca

[CODE] //Table with multiple columns DataTable dt1 = new DataTable(); //Table with chosen column DataTable dt2 = dt1.Columns["ColumnName"].Table; [/CODE]

Member Avatar for towerrounder
0
95
Member Avatar for Murderous Mouse

C# The .Net FrameWork will provide you with almost everything you need. And its very quick and easy to learn. Plus there are tons of examples out there. Just download C# Express and you'll be on your way.

Member Avatar for Murderous Mouse
0
117
Member Avatar for Dmennite

For the front end Id consider just a small validation method, something like below as this can be checked on the front end. This can check if a field is empty before saving [CODE] public bool Validate() { foreach (Control control in this.Controls) { if (control is TextBox) { if …

Member Avatar for Dmennite
0
181
Member Avatar for dennis.d.elston

Here is a simple method that I knocked up that might help you [CODE] private void Dispense(string inputAmount) { int fifty_ammount = 0; int twenty_ammount = 0; int ten_ammount = 0; int five_ammount = 0; double total = Convert.ToDouble(inputAmount); while ((total - 50) >= 0) { fifty_ammount += 1; total …

Member Avatar for towerrounder
0
590

The End.