Page 5 of 5 FirstFirst ... 2345
Results 41 to 45 of 45

Thread: C#

  1. #41

    Default Re: C#


    Quote Originally Posted by Eisen Japhet Larnx View Post
    nakuha na jud nk0....

    private System.Windows.Forms.TextBox txtcid; //havent notice your post about this..... thanks....
    ......
    changed the private to public.....
    naa ra mn d i ni sa CreateAccount.Designer.cs.......

    this is now the code:

    private void dataGridView1_DoubleClick(object sender, EventArgs e)
    {
    CreateAccount acc = new CreateAccount();
    acc.txtcid.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
    acc.txtfname.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
    acc.txtmname.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
    acc.txtlname.Text = dataGridView1.CurrentRow.Cells[3].Value.ToString();
    acc.txtaddress.Text = dataGridView1.CurrentRow.Cells[4].Value.ToString();
    acc.txtcontact.Text = dataGridView1.CurrentRow.Cells[5].Value.ToString();
    acc.cmbcustype.Text = dataGridView1.CurrentRow.Cells[6].Value.ToString();
    acc.btnaccsave.Text = "UPDATE";
    acc.ShowDialog();
    }


    thanks for the advice.....

    a nicer way to do it is to pass the object to the form

    Code:
    CreateAccount acc = new CreatAccount()
    acc.CurrentObj = currentObj;
    acc.ShowDialog();
    from there create the binding code inside CreateAccount Form.

  2. #42

    Default Re: C#

    inag apply nimo kay itrain pa man pud ka..pero if naay mga languages na master na kaayo ka, dali ra kaayo magkat-on ug bag-ong language..dapat maayo lang gyud ka moanalyze, and ok imong logic. naa daghang companies sa it park ron, like ncr, C, C++, java pud na sila..

  3. #43

    Default Re: C#

    Quote Originally Posted by chelop View Post
    inag apply nimo kay itrain pa man pud ka..pero if naay mga languages na master na kaayo ka, dali ra kaayo magkat-on ug bag-ong language..dapat maayo lang gyud ka moanalyze, and ok imong logic. naa daghang companies sa it park ron, like ncr, C, C++, java pud na sila..
    nasayop kog reply dah..sorry

  4. #44

    Default Re: C#

    pare2x-ha ra ang c# ug java. sa akong case mas nauna kog kat-on ug c#, so pagjava na nako, dali na kaayo kay karelate naman ko,,,iyang syntax kay pareha ra sa c, except the OOP part..pero sayon ra gyud ikat-on ug c#

  5. #45

    Default Re: C#

    Quote Originally Posted by kamahak View Post
    OK, true. I like the idea of mono. It is open source and is, technically, cross platform.
    But that doesn't contradict my argument, which is, I don't like c# because it's targeted mainly for Windows applications and can only be ran in a Windows environment.

    Mono, is an implementation of C#. It is not C#. But then, here's my pickle, why go through all that? Why not just develop in C? Sure, the learning curve is a bit higher but you'll be able to do so much more and be more in control of the machine.
    I know this is late but...

    I don't understand why nullpointer's point does not contradicts the "Windows environment" argument? Mono is an implementation of the .NET framework and not C#. C# is just the language that "can" use the .NET framework. And C# is not constrained into Windows environment only. Theoretically, any language can be used to use .NET as long as it emits IL daug na. I guess your point is that Microsoft started this .NET sensation and for sure it will only support Microsoft technologies.. and that's true, however did you know that the .NET framework had "stubs" ready for anyone to implement to support other operating system (referring to nullpointer's point)? It means they are ready to integrate with other systems but are just careful to avoid a licensing problem.

    To the thread starter, if you are planning to learn C#, that's good but remember it is not the language that you should be learning, it is the concept especially if you are a beginner. If you're into the core concepts, I suggest learning C++ instead especially the part where it explains how it got born from C.

  6.    Advertisement

Page 5 of 5 FirstFirst ... 2345

Similar Threads

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top