Search results for query: *

  1. spartan.monkey

    Custom text file name

    Thanks a lot guys. this is what i was looking for :)
  2. spartan.monkey

    Custom text file name

    Hello i know that the code below can be used to creat and update a text file but is there a possibility that the path to the file can be saved as a string. { string[] lineROLL = { "\nROLL NUMBER\n", rollnumber1.Text }...
  3. spartan.monkey

    Update list via text box

    okay using the switch statement but what would be the code to get the first item highlighted or second and so on ?
  4. spartan.monkey

    Update list via text box

    i have this school registration software. the problem is that i want to update the class automatically with reference to age for example if age is 2 class is begginer if age is 3 class is montessori if age is 4 class is 1 if age is 5 class is 2 if age is 6 class is 3 if age is 7 class is 4...
  5. spartan.monkey

    school registration system

    Okay THANKS A LOTT solved the 3 problems above. now all i need is to assign a roll number to each student entry without the use a database.
  6. spartan.monkey

    school registration system

    Rep Okay i googled all night and i was able to come up with this code private void button1_Click(object sender, EventArgs e) { { DateTime B_Day = dateTimePicker1.Value; DateTime Today = DateTime.Today; int Age =...
  7. spartan.monkey

    school registration system

    Im sorry if I sound dumb but no I didnt find anything useful. The only piece of code that I understood and found helpful is posted in the thread. If the answer is in google then ill give it another try. Thanks
  8. spartan.monkey

    school registration system

    Sorry I didnt know how to post in the forum.. ill be careful from now onwards. :) anyways about the topic can u please help in what sort of code will be used in this project. I do know that we have to store the data that will be written in the textbox and not the actual text box. I don't have...
  9. spartan.monkey

    school registration system

    Hello i want to know if there's any possible way to write all the data that is stored in a c# widows form application to a text file. for example here we have different text boxes and a radio button and other sorts of data. what sort of code would be used if i wanted to save all this data in a...
  10. spartan.monkey

    Nested Loop Help

    im a beginner to c#. can any one help how this loop is working. please and thankyou. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) {...
  11. spartan.monkey

    operators precedence

    THANKYOUUUUU :smug:
  12. spartan.monkey

    operators precedence

    Hi my question is that i have this piece of code for predicting the ouput staticvoidMain(string[] args) { int a, b, c, x; a =80; b =15; c =2; x = a - b /(3* c)*( a + c); Console.WriteLine(x); Console.ReadLine(); }the possible answers to this program are a) 78 b) -84 c) 80 d) 98 in c# when we...
Back
Top Bottom