4,439 Posted Topics

Member Avatar for Aerigon

If you have the textboxes on your form, you have to use the Text property of the Textbox. Example: **myTextBx.Text = sTotalPrice;**

Member Avatar for tinstaafl
0
290
Member Avatar for Ancient Dragon

You could delete an account of a member, but what about the answers he/she gave in all the different threads? I'm in with deceptikon here, you can't delete. Unless you do a "tabula rasa" and start up daniweb all over again, but I guess that is totaly out of question.

Member Avatar for TrustyTony
1
400
Member Avatar for eoop.org

@eoop.org > I feel that there is nothing more to develop ?!? You must be joking! In the beginning of the 19th century(first steam engines) there was a man (can't remember his name) who said something like "All that is to be invented is invented." Some 100 years later, the …

Member Avatar for kenjutsuka
0
218
Member Avatar for cproger

SEarch [this archive](http://www-history.mcs.st-and.ac.uk/) for Ada Lovelace. Lots of info!

Member Avatar for ddanbe
0
345
Member Avatar for himanshu00493

Hi himanshu00493, welcome! Your question can easily be solved using Google. Example: [Click Here](http://support.microsoft.com/kb/816145)

Member Avatar for ddanbe
0
40
Member Avatar for austian88

Hello austian88 welcome! Is it a forms or console project or yet even something else? Tell us how did you start to begin compiling.

Member Avatar for austian88
0
219
Member Avatar for ddanbe

Btw. this is not a sudoku solver. To gain a deeper insight into the workings of the DataGridView beast (but I begin to love and appreciate it) I decided to make myself a sudoku layout with it. Start a forms app. Make the form a bit bigger and fill in …

0
1K
Member Avatar for James singizi

Hey, you youngsters! I'm 61! The path from procedural to OOP was hard, but somehow I managed to get some OOP understanding. And indeed, age has its toll, the learning of new things(so many these days) is beginning to slow down. Oh, BTW: my cat fell in the bath and …

Member Avatar for pritaeas
0
323
Member Avatar for Desi Winda
Member Avatar for tinstaafl
-1
136
Member Avatar for tobinhoadesanya
Member Avatar for tobinhoadesanya
-1
579
Member Avatar for Bchandaria

[Click Here](http://www.youtube.com/watch?v=G1BjDafZpqA) The interesting background music(in endless loop) is the "Air" by Johann Sebastian Bach from the 3rd orchestral suite (D minor; BWV 1068), 2nd movement.

Member Avatar for ddanbe
0
190
Member Avatar for pankajmahor663

I guess you somehow stored the info that the checkbox is checked. Just remove or delete that info. Perhaps better show us the code how you did the store.

Member Avatar for pankajmahor663
0
181
Member Avatar for riahc3

Did you marked your post on whitespace as solved yet? You don't have to do this for my beautifull eyes you know...

Member Avatar for riahc3
4
468
Member Avatar for davecoventry

It al boils down to solving a [quadratic equation](http://en.wikipedia.org/wiki/Quadratic_equation) This is more a question for a math forum I guess.

Member Avatar for Momerath
0
398
Member Avatar for Benji11092

[Click Here](http://stackoverflow.com/questions/11407068/how-to-drag-and-drop-a-button-from-one-panel-to-another-panel)

Member Avatar for <M/>
0
194
Member Avatar for peymankop

Walk through the Controls collection of your form, test if a control is a button test if all are disabled

Member Avatar for Ketsuekiame
0
223
Member Avatar for marram
Member Avatar for nik701a

I once made a console calculator who can parse variables and some reserved words. Perhaps you could convert that to fit your needs. This is the first snippet : [Part 1 : the scanner](http://www.daniweb.com/software-development/csharp/code/217185/console-calculator-part-1-the-scanner) You can find part 2 the parser and part 3 the main program, in my posted …

Member Avatar for ddanbe
0
1K
Member Avatar for xanawa

You could for example use the String.PadLeft method to make your string 32 chars long, a format that the GUID constructor would accept.

Member Avatar for Ketsuekiame
0
265
Member Avatar for game06
Member Avatar for Xantipius

My first name is Daniël, but all my friends call me Danny. To Xantiplus who likes the name Marina so much, here is a song by an italian who immigrated to Belgium long time ago : [Click Here](http://www.youtube.com/watch?v=0wXiJgCRH4Y)

Member Avatar for vinnitro
-1
287
Member Avatar for michael.yeh.18062

In C# you could use extension methods [Click Here](http://msdn.microsoft.com/en-us/library/bb311042.aspx), but I do not understand what you realy want.

Member Avatar for Assembly Guy
0
307
Member Avatar for virusisfound

Is your number integer only? For instance if you allow complex numbers, (2 + 42i) + (3 - 42i) would be a solution.

Member Avatar for virusisfound
0
432
Member Avatar for غادة
Member Avatar for owenransen
0
155
Member Avatar for ahmedmeg29

Welcome admedmeg29! The GetPixel method of the [Bitmap Class](http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.aspx) will help you out.

Member Avatar for ddanbe
0
128
Member Avatar for sundas shoukat

Instead of Panel control, I guess a TabControl would be better for your user interface.[Click Here](http://msdn.microsoft.com/en-us/library/system.windows.forms.tabcontrol.aspx)

Member Avatar for virusisfound
0
105
Member Avatar for treasure2387

A nested class, as DisplayClassB would be called, is usualy marked as private and can only be used in the enclosing class.

Member Avatar for treasure2387
0
113
Member Avatar for maurices5000
Member Avatar for oXHutchXo

Basically you should implement a Paint method. Have a look at this snippet: [url]http://www.daniweb.com/code/snippet227743.html[/url]

Member Avatar for AlickIMAGE
0
163
Member Avatar for nitin1

Text(my translation) out of the song "Testament" from the Dutch singer/songwriter Bram Vermeulen If I die, do not cry I'm not really dead, you know It's only a body that I left behind, I'll be dead, if you've forgotten me.

Member Avatar for TonyG_cyprus
0
441
Member Avatar for nesa24casa
Member Avatar for ddanbe
0
68
Member Avatar for Sammys.Man

As I understand it well, you have a DataGridView with column headers and x rows. Now you want to show the total of every column in row x+1, am I right?

Member Avatar for Sammys.Man
0
192
Member Avatar for StigM

Working with coordinates, I find the C# point structure ideal to work with. [Click Here](http://msdn.microsoft.com/en-us/library/system.drawing.point.aspx)

Member Avatar for ddanbe
0
112
Member Avatar for dhananjay1

You could start by downloading a free version of Visual Studio [ here](http://www.microsoft.com/visualstudio/eng/visual-studio-update)

Member Avatar for ddanbe
0
61
Member Avatar for sagar.patole1

On line 12, you are using the concatenate operator (+) for strings. Try this instead: int sum = 0; foreach (DataGridViewRow row in dataGridView1.Rows) { sum += Convert.ToInt32(row.Cells[2].Value); } textbox1.text = sum.ToString(); Also have a look at [this snippet](http://www.daniweb.com/software-development/csharp/code/452633/add-a-row-with-totals-to-a-datagridview)

Member Avatar for ddanbe
0
113
Member Avatar for terrier_unknown

You are still thinking in functions, procedures, subroutines. Try to get a grasp of object oriented programming and you will see the benefit of classes. But I must admit it is a bit hard to see this. (surely was hard for me!)

Member Avatar for ddanbe
0
144
Member Avatar for Sadun89

In C# an array is fixed so you cannot insert, unless you copy everything to a bigger array. ArrayList has an insert method, look for it [here](http://msdn.microsoft.com/en-us/library/system.collections.arraylist.aspx).

Member Avatar for Sadun89
0
277
Member Avatar for riahc3
Member Avatar for Xantipius

You could slice a lemmon in half and just squeeze it. All the lemon juice you want! Taste four more and it will become more of a super, tasty, mega awesome, supurb drink!!! Until the day after of course . . . If I were you I should put in …

Member Avatar for Xantipius
-1
219
Member Avatar for _flori

Is [this](http://stackoverflow.com/questions/6073382/read-sql-table-into-c-sharp-datatable) looks confusing to you?

Member Avatar for ddanbe
0
261
Member Avatar for sagar.patole1

Welcome on this site! This [little snipet](http://www.daniweb.com/software-development/csharp/code/335171/basic-datagridview) might help you out.

Member Avatar for sagar.patole1
0
567
Member Avatar for Lennox

I did some Turbo Pascal myself in the previous century! But why not opt for learning a new language? I your case I think **Java** would be a good candidate. This is just a suggestion, I'm forcing nothing here ...

Member Avatar for Lennox
0
1K
Member Avatar for Marvels

In solution explorer, rightclick Properties to Open(This is not the properties window) A window opens, click on the Applications tab. Here you can browse for an application icon, that will be embedded in your solution.

Member Avatar for ddanbe
0
211
Member Avatar for treasure2387

You cannot define a function inside another function in C like languages. Could be done in a language like Pascal as an example.

Member Avatar for ddanbe
0
177
Member Avatar for treasure2387

I would write your code as an auto-implemented property. **DateTime Date { get; set; }** Let the compiler take care about the **date** field. Also read [this discussion](http://stackoverflow.com/questions/8116951/any-reason-to-use-auto-implemented-properties-over-manual-implemented-properties) about it.

Member Avatar for ddanbe
0
127
Member Avatar for Sammys.Man

As I understand it well, I think you could create your main form at startup of your program and then call the form.Hide() method, fetch your data and then call from.Show() method. If I'm wrong, please make your question a bit clearer.

Member Avatar for TnTinMN
0
187
Member Avatar for MasterHacker110

A while loop condition expects a boolean, not an assignment. You probably got the error message: Cannot implicitly convert type 'string' to 'bool'

Member Avatar for MasterHacker110
0
342
Member Avatar for Sammys.Man

Just knowing the syntax of languages helps alot I guess. Example: in C# an array can be defined as : **int[] MyIntarray = new int[5];** in VB this can be **MyIntarray = New Int(5) {}** MSDN is a good resource to help you out with this. Success! In trouble? Just …

Member Avatar for Sammys.Man
0
148
Member Avatar for A Tripolation
Member Avatar for Himanshu Chawla
Member Avatar for Momerath
-1
147

The End.