24 March 2020

Why is SQL posting so difficult

Look, it's really simple.
            DataSet ds = new DataSet();
            try
            {
                SqlConnection myConnection = new SqlConnection(connectionString);
                string myQueryString = queryString;
                myConnection.Open();

                SqlDataAdapter myDataAdapter = new SqlDataAdapter(myQueryString, myConnection);
                myDataAdapter.Fill(myDataSet);
                myConnection.Close();
            }
            catch (Exception ex)
            {
                var dialog = new MessageDialog(errorString + System.Environment.NewLine +      System.Environment.NewLine + queryString + System.Environment.NewLine + System.Environment.NewLine + "Message from server: " + ex);
                dialog.ShowAsync();

            }
            return myDataSet;


if(myDataSet.Tables.Count > 0)
{
        if(myDataSet.Tables[0].Rows.Count > 0)
        {
                DataRow dr = myDataSet.Tables[0].Rows[0];
                datagridview1.AddRow(dr);
        }
}

why does the new systems of UWP and MWV make this so difficult? I have to create classes to hold the data? It's called a DataSet. C'Mon. Over complicate everything.

Read more...

04 March 2020

VERY unlikely your child will be kidnapped by a stranger

While I was in the Marines I lived in base housing. My 4 year old daughter was very social, and would say, "I'm going to my friend's house," and she'd leave. I had no idea where her friends lived. But I knew they were children of Marines, so I had no reason to not trust them.
This mindset remained after we came home from the military. She had 1/2 day kindergarten when she was 5, turning 6, and her normal friends were put on the other shift. So one afternoon she was bored and said, "I'm going to go find a friend," and off she tottled to all the neighbor houses, knocking on doors and asking, "Do you have any kids?" And home she came with some neighbor girl, "This is my new friend."
"Oh yeah? What's her name?"
She looked at the girl for a second or two, then back at me, "Friend," and to her room they went to play with dolls.
She has grown up to be a strong, independent, outgoing young woman with two kids of her own, so far.
I have twin 2yo toddlers now, in my 3rd marriage, and I hope they have the same wonderful experiences with making friends.
In the age of media and constant connection, many people balk at the idea of our children being out of sight, or disconnected. We fear they will be taken, strangers are a constant danger. Child trafficking rings are sitting in white, windowless vans on every street corner just waiting for us to turn our backs.
But in fact, kidnappings by a non-family member are so astronomically low, this is not something we should be worrying about. (https://bit.ly/2Iiolxw) 205 out of 1400+ kids that were taken were by strangers. Out of 330 MILLION people in this country, your child has a higher chance of choking on random things they put in their mouth (https://dontchoke.ubc.ca/saving-lives/recent-statistics/).
The media tells us this so as to scare us. They tell us the world is dangerous to keep us untrusting. We must trust them for the truth, don't believe anyone else, don't listen to the lies from the other guy, we will keep you safe.
Just as they tell us that we will die from climate change (https://bit.ly/38khMoE), or gun violence (https://pewrsr.ch/2Tj5Pvh), neither of which is the case. In fact, looking at the statistics, while suicide is unfortunately high, especially in transgender kids and girls, murder is much lower than when my 5yo daughter was running around by herself in the early 90s. And the only places where this is higher are in cities that have the most strict gun laws, like New York and Chicago.
This mindset divides us. It keeps us from trusting people. My teenage step-daughter came to bother me in the garage and tell me that there was someone at the front door, instead of answering it herself. She's 16, practically an adult. But she had been told since she was little to never answer the door when she was alone. I suppose that's understandable when an 8 year old is alone and her single mom is working, but at 16 she should have no reason to fear a neighbor or salesperson.
Strangers aren't someone waiting to nab your kids. They are friends you haven't met yet. Get to know your neighbors. Invite them over for bbqs. Take them cookies and fudge at holidays. The only way to get past this social anxiety is to be involved in our communities, to stop giving in to the fear mongering, and to let our kids be free.

Read more...

30 January 2020

A Coalition of States

I signed up with the Convention of States when I heard about it on the Ben Shapiro show. I have since lost interest in Ben Shapiro, with his hypocritical refusal to debate Nick Fuentes, with his 45 minute tirade about the man and his subsequent refusal to allow Fuentes a moment to respond. Have him on your show, Ben. Be the man you say you are.

Anyway, I have been receiving emails from them, but I rarely check my email. Today I clicked and saw a message:

Please join the Convention of States team at our letter-writing pizza party to inform your legislators of your support for COS.

They need to know NOW that you want your state to join the 15 other states that have passed the the Convention of States resolution to propose term limits, fiscal restraints, and limits on the size of the federal government.
Your handwritten letters of support to your legislators are vital for the success of your state's passage of the resolution in the 2020 legislative session and are the best way to have an impact on their vote. 
On Wednesday, January 29, the COS Team will host a letter-writing pizza party
Join us to socialize with other concerned citizens, enjoy some great pizza, and write letters to our local legislators.
Congress will never make the hard decisions to keep from bankrupting our children and grandchildren. It's our responsibility to take charge. NOW is the time!
We look forward to having you join the fun! We'll provide the pizza, paper, and pens. Stop by for a little while to say hello! 
For Liberty,
Janis
Her message is a good one, her hope is pure. She and her coalition really do wish for the betterment of the country. I wish it was going to be as easy as passing some laws, or standing up and demanding it happen. 
Several recent events have declared to me why term limits, fiscal responsibility, and limited federal government will not be enough. Tyrannical moguls like Michael Bloomberg and George Soros seek to reshape the world in their vision, under threat of force.
I would like to attend Janis's party (except it was yesterday), I would like to write my congressman and tell him to join up, to lead us boldly into the future with a vision of smaller federal government, but it won't be enough. 
Virginia has been an example of that. over 20,000 people stood on the steps of the statehouse in Richmond, armed to the teeth, and declared that they would not comply with Democrat gun policies. Virginia Democrats ignored them. Bloomberg plans to spend his money and do the same in at least 12 other states, to take away our guns and leave us defenseless against criminals and the Left. 
Here is my reply to Janis:
I don't believe this will be enough. 

Our country is divided. Our parties find no more common ground. The Right fights for its constitutional rights as the Left seeks to rob them of it. 
Illusions of grandeur have overtaken them, as evidenced by their haughty and elitist view of the rest of the country. 

The Left will not give up until we are destroyed in tyranny. CoS is an excellent first try, but where is the protections of the constitution we have now? Half of our Judicial branch are ideological leftists that push their agenda, while the other half tries to preserve our sacred documents. Virginia threatens to create criminals of their populace over second amendment rights. Where is the Judicial when the Constitution specifies, "SHALL NOT BE INFRINGED"? When even the Virginia constitution has stronger, more specific language that reinforces that amendment? And with Michael Bloomberg planning on 12 additional states to push his tyrannical disarmament policies into, we cannot afford to discuss this in committee.

Tell your leaders that we cannot depend on getting along with a party that views us as evil. Convince your leaders that there is no compromise. We have compromised too much already, and they demand more. From the ivory towers on the coast they rule with authoritarian integrity, backed by ideological money. 

No, this will not end well. We need to expand the Coalition of States to see that the only result that can bring peace and prosperity is a separation of the country. Draw the line. Red states and Blue states. And some of those Blue states will split as well, as the majority of Virginia is on the verge of becoming West Virginia, leaving Richmond a City-State, cut off from the rest of their ignored populace. 

This wonderful, amazing project, America, is under assault by Leftists that have read 1984 as a bible, and not a warning. They embrace the seven deadly sins and wallow in them. 

Peaceful separation or war. Have your coalition bring that before the country.

«§øùl¡ë»

Read more...

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP