4,439 Posted Topics
Re: If you have the textboxes on your form, you have to use the Text property of the Textbox. Example: **myTextBx.Text = sTotalPrice;** | |
Re: 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. | |
Re: @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 … | |
Re: SEarch [this archive](http://www-history.mcs.st-and.ac.uk/) for Ada Lovelace. Lots of info! | |
Re: Hi himanshu00493, welcome! Your question can easily be solved using Google. Example: [Click Here](http://support.microsoft.com/kb/816145) | |
Re: Hello austian88 welcome! Is it a forms or console project or yet even something else? Tell us how did you start to begin compiling. | |
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 … | |
![]() | Re: 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 … |
Re: [Click Here](http://en.wikipedia.org/wiki/Fermat_primality_test) | |
Re: Intelligent x elevator y floor system. Example x=3 y=10 | |
Re: [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. | |
Re: 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. | |
Re: Did you marked your post on whitespace as solved yet? You don't have to do this for my beautifull eyes you know... | |
Re: 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. | |
Re: [Click Here](http://stackoverflow.com/questions/11407068/how-to-drag-and-drop-a-button-from-one-panel-to-another-panel) | |
Re: Walk through the Controls collection of your form, test if a control is a button test if all are disabled | |
Re: 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 … | |
Re: You could for example use the String.PadLeft method to make your string 32 chars long, a format that the GUID constructor would accept. | |
![]() | |
Re: 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) | |
Re: 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. | |
Re: Is your number integer only? For instance if you allow complex numbers, (2 + 42i) + (3 - 42i) would be a solution. | |
Re: What ever could be horrible about a problem? It certainly won't bite you know. | |
Re: Welcome admedmeg29! The GetPixel method of the [Bitmap Class](http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.aspx) will help you out. | |
Re: 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) | |
Re: A nested class, as DisplayClassB would be called, is usualy marked as private and can only be used in the enclosing class. | |
Re: Did you look [here](http://www.c-sharpcorner.com/beginners/)? | |
Re: Basically you should implement a Paint method. Have a look at this snippet: [url]http://www.daniweb.com/code/snippet227743.html[/url] | |
Re: 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. | |
Re: Perhaps [this](http://msdn.microsoft.com/en-us/library/tabh47cf.aspx) can help? | |
Re: 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? | |
Re: 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) | |
Re: You could start by downloading a free version of Visual Studio [ here](http://www.microsoft.com/visualstudio/eng/visual-studio-update) | |
Re: 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) | |
Re: 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!) | |
Re: 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). | |
Re: Creating buttons with the calculator symbols on them? | |
Re: 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 … | |
Re: Is [this](http://stackoverflow.com/questions/6073382/read-sql-table-into-c-sharp-datatable) looks confusing to you? | |
Re: Welcome on this site! This [little snipet](http://www.daniweb.com/software-development/csharp/code/335171/basic-datagridview) might help you out. | |
Re: 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 ... | |
Re: 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. | |
Re: You cannot define a function inside another function in C like languages. Could be done in a language like Pascal as an example. | |
Re: 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. | |
Re: 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. | |
Re: A while loop condition expects a boolean, not an assignment. You probably got the error message: Cannot implicitly convert type 'string' to 'bool' | |
Re: 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 … | |
Re: http://msdn.microsoft.com/en-us/library/hh873134.aspx | |
|
The End.