Archive for 2013
Generational Gaps in Viewpoints
September 5th, 2013, posted in Ink On PAPER, PAKiSTANThere are times when two (or three) generations dont always agree on the same things; be it politics, world issues or family issues. There are many reasons for disagreement, such as one generation will think they know better than the other, and vice versa. The young generation or a middle generation may not have the wisdom or the experience of an older generation but it doesnt mean they are less clued up, are not intelligent enough to formulate an educated opinion or dont watch the news.
We live in a world that has changed from the world it was before. These days, people have more access to information, breaking news and everything that is happening around the world due to technology and social media. Young generation has grown up with information being available at the tip of their fingers and they are in a better position to know more about what is happening around the world. It would be terribly wrong of us to put them down as naive and ill-informed.
While it may not be deliberate on their part, but older generation (and often middle) tend to possess a condescending attitude that cannot see a person younger than them as being right and they, being wrong. However they are teaching the next generation to do the same with the generation after them and it is a very bad example to set. There is also a matter of pride that prevents us from accepting that we could be wrong and from accepting another person having a useful viewpoint. This matter of pride is prevalent in older and middle generations and is copied by younger generation.
The generational gap should not only exist to show noticeable difference in the way we think but should exist to forge bonds between older, middle and younger generations by learning from one another. An older generation can share insights from their own experience, while the younger and middle generations can offer a fresh insight and approach to a problem/viewpoint/issue. We should learn that no one particular generation is “right” but each one of them have opinions that need to be listened to and respected.
I have personally experienced this and each time I am told I don’t know anything, I am left disheartened. I listen to the news, I read wide and I am an educated woman and yet I am made to feel that my opinion holds no value. I have lost confidence in even discussing some issues with people anymore because psychologically I have been made to feel dumb. Attitudes from all generations can only change if we accept, tolerate and nurture different viewpoints and step down from this attitude that we know best.
Perhaps we could start with
” You know what, you could be right but let’s talk further on this, shall we ? “
I read this and thought its worthy to share.
Oracle : Connection String For Oracle Database using C#
September 2nd, 2013, posted in Oracle, ProgrammingSometimes we learn a lot of things after a hard struggle then after a period of time we forget the process or something which is a key and after that we spent time to get the solution again. A documentation of each activity might help to make your portfolio that’s why I am writing a blog because it’s a better idea “what you learn write ones” So, Today I am going to explain you Connection String C# to Oracle Database. Occasionally we have seen C# to Sql Server in many other blogs and Microsoft web sites. C# to Oracle connection string is Similar to C# to SQL Server Connection String with one additional step Here we go :
Step# 1
Open Visual Studio 2010 [ I am assumed that you are using VS2010 ] , Click on File->New->Website Then select from the left pane Visual C# and then select ASP.net Web Site. Note: .Net Framework 4 should be selected.
Step#2
Right click on the project for ” add new Item” click ok
Step#3
Open “Default.aspx.cs” file or whatever your file name with the extension “aspx.cs” from the solution Explorer [ Ctrl + Alt + L ]
Step# 4
Again Right click on the project and “Add ASP.Net Folder“ then select “Bin“. Download the file ” System.Data.OracleClient.dll ” from: http://www.dllme.com/dll/files/system_data_oracleclient_dll.html and then place in the Bin folder which you have created then refresh the project folder from the VS2010
Step# 5
Now add this in to header of Default.aspx.cs file
using System.Data.OracleClient; using System.Data; using System.Configuration;
Step# 6
Open web.config and add this under connectionStrings tag <add name=”TestConn” connectionString=”Data Source=TestSource; User;password=Test;Persist Security Info=False” providerName=”System.Data.OracleClient”/> Save file with your credentials and close
Step# 7
Now back to the default.aspx.cs
public void muFunc()
{
string arr;
string connStr = System.Configuration.ConfigurationManager.ConnectionStrings[“TestConn”].ConnectionString;
try
{
OracleConnection conn = new OracleConnection(connStr);
string query = “SELECT * FROM Orders”;
conn.Open();
}
catch (Exception Er)
{
}
finally
{
Conn.Close();
}
}
Hope this helps to you.
Note : This blog was written by a friend.
http://fahadshamsi.blogspot.com/2013/01/CsharptoOracleConnection.html






