Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

AprNgp

@AprNgp
About
Posts
136
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • need help
    A AprNgp

    What is the issue you are facing ? Did you even try to write any code ? Please share your code (attempt) with us.

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Java java help question

  • wondering why about the site..jump..other site..
    A AprNgp

    Don't understand what the problem is ... its taking me to http://www.esp.com.cn/index.aspx[^]

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    JavaScript com question

  • wondering why about the site..jump..other site..
    A AprNgp

    hack004 wrote:

    http://115.com/file/cl3kn5ai(1).rar

    What is this ???? its something written in Chinese ...

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    JavaScript com question

  • Suggestions Require
    A AprNgp

    Uma Shankar Patel wrote:

    bigrock is feasible for windows hosting

    I didn't had very good experience with their windows hosting, but I am very happy with linux service

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Hosting and Servers hosting security performance question

  • Looking for Linux Hosting - Please Help
    A AprNgp

    Try bigrock.in

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Hosting and Servers linux hosting sales help question

  • Suggestions Require
    A AprNgp

    I will suggest bigrock.in Go with linux hosting and use phpBB forum

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Hosting and Servers hosting security performance question

  • Suggestion / Clarrification Needed.
    A AprNgp

    Hema Bairavan wrote:

    I have plan to hire a dedicated server with mssql and databases to accomplish these things and save the data there.

    Well if your budget is good, you can very well afford to hire someone to work on performance.

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Hosting and Servers database sql-server sysadmin hosting discussion

  • I Want a project using Global.asax file
    A AprNgp

    Actually you should bookmark -> google.com[^]

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    ASP.NET csharp asp-net help

  • Enable pop up blocker using Javascript
    A AprNgp

    Rather than that go with some css based pop-up. Like this one http://jqueryui.com/demos/dialog/#modal-message[^]

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    JavaScript javascript

  • Suggestion about non-english posts
    A AprNgp

    I know according to the rule book only English posts are allowed. Could there be a functionality by which the non-English sentences can be converted to English, something similar to what Google translator does. I mean if someone posts a question in say french, CP will convert it to English while displaying it to viewers. Obviously there could be a link (or button) to see the original post(in french). NB: Please ignore the grammar mistakes (thanks to FF for covering my spelling mistakes)

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Site Bugs / Suggestions java question learning

  • createBranchElement
    A AprNgp

    prithaa wrote:

    AbstractDocument.BranchElement E1 = (BranchElement) D.getDefaultRootElement();

    You haven't shown us the implementation of

    getDefaultRootElement()

    Also, what's the relation between BranchElement and Element.

    Apurv If Java had true garbage collection, most programs would delete themselves upon execution.

    Java help question

  • Found a sorting algorithm with O(log(n))
    A AprNgp

    Rahul_Iit wrote:

    while I was having the bath..suddenly

    The same thing happened with me a day before yesterday ..... my bank account suddenly got refilled .... :) ... Then a friend of mine reminded that it was the 1st of the month :laugh: :laugh: :laugh:

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    The Lounge algorithms

  • The Sick Rose -- William Blake
    A AprNgp

    I wonder what kind of posts attract more points here .... :confused::confused::confused: :)

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    The Lounge

  • The Sick Rose -- William Blake
    A AprNgp

    Thanks :)

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    The Lounge

  • The Sick Rose -- William Blake
    A AprNgp

    :laugh: :laugh: :laugh:

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    The Lounge

  • The Sick Rose -- William Blake
    A AprNgp

    The Sick Rose is a poem by William Blake

    O rose thou art sick, The invisible worm, That flies in the night In the howling storm Has found out thy bed Of crimson joy : And his dark secret love Does thy life destroy.

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    The Lounge

  • SQl Query
    A AprNgp

    Oh .. sry .. I think 'cursors' can only solve this ...

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    Database database

  • SQl Query
    A AprNgp

    how abt this ?

    select b.id, b.name from TableA b
    where b.id in (select distinct a.id from TableA a)

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    Database database

  • Problem while inserting a new row in database from C# application
    A AprNgp

    I am using MS SQL 2008 server database

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    C# database help csharp question

  • Problem while inserting a new row in database from C# application
    A AprNgp

    private void btnSave_Click(object sender, EventArgs e)
    {
    try
    {
    if (txtFirstName.Text == "")
    MessageBox.Show("Patient's First Name can't be blank", "Incomplete data", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
    else if (txtDOB.Text == "")
    MessageBox.Show("Patient's Date of Birth can't be blank", "Incomplete data", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);

                if (txtLastName.Text == "")
                    txtLastName.Text = " ";
                bool gender = true;
                if (!rbMale.Checked)
                    gender = false;
    
                MRMDbDataSetTableAdapters.PatientsDetailsTableAdapter pdta = new MediRecordManager.MRMDbDataSetTableAdapters.PatientsDetailsTableAdapter();
                if (pdta.AddNewPatient(txtFirstName.Text, txtLastName.Text, calDOB.SelectionStart, (byte)cbBloodGroup.SelectedValue, gender) > 0)
                {
                    MessageBox.Show("Data inserted to database !");
                    btnCancel.Text = "Close";
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
    }
    

    Apurv “Never trust a computer you can’t throw out a window.” (Steve Wozniak) “There are only two industries that refer to their customers as ‘users’.” (Edward Tufte)

    C# database help csharp question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups