This blog is subject the DISCLAIMER below.

Monday, July 21, 2008

C# 4.0 is not a dream, it is comming :)

I Have Nothing to say, just Check this Link

------ Welcome C# 4.0 ------

.. more.

Saturday, July 19, 2008

dotNetWork.org 6th gathering


Date:

Saturday, July 26th 2008,
12:00 - 16:00

Attendance is FREE =)

Speakers
Marwan Tarek
Team leader, MOSS MVP - ITWorx

Mohamed Samy
Technical Architect, VSTS MVP - ITWorx.

Agenda
12:00 - 13:30:
SharePoint WebParts Development
by Marwan Tarek.

13:30 - 14:00: Coffee Break

14:00 - 15:30:
Patterns and Anti-patterns of SOA (Part 2)
by Mohamed Samy.

15:30 - 16:00: Lunch

Location:

Canadian International College, @ "El-Tagamo3 El-5ames"

Buses will be available at: Nady El-Sekka (11:00 AM - 11:30 AM)
Please be there before 11:30 coz we will leave on time..


For those who wanna keep tuned with further news about this event & other upcoming events of the dotnetwork.org user group, please check the following links:

Yahoo!Group:
http://tech.groups.yahoo.com/group/dotnetworkorg/

Facebook Event:
http://www.facebook.com/event.php?eid=18319879657
You'd better join the above event if you have a facebook account so we can roughly estimate the attendees count..

Facebook Fan Page:
http://www.facebook.com/pages/netWorkorg/13135685545

Facebook Group:
http://www.facebook.com/group.php?gid=2409268236

Please don't hesitate to contact me if you have any further questions..
See u on the gathering ;)

.. more.

Thursday, July 17, 2008

Differences between some references in Enterprise Library 2.0 and 3.1

While working with Microsoft Enterprise Library 3.1 I've found there is difference in some references. I was working with DAAB (Data Access Application Block), in Microsoft Enterprise Library 2.0 we was refer to Microsoft.Practices.EnterpriseLibrary.Data.dll in 3.1 and 4.0 you should browse it manually \bin\Microsoft.Practices.EnterpriseLibrary.Data.dll and for some reasons you need to add reference to Microsoft.Practices.EnterpriseLibrary.Common.dll

.. more.

Friday, July 11, 2008

doNetWork.org first RockStar Day!!!



Date:

17 July 2008,
19:00 - 22:30

Attendance is FREE =)

Speaker
Remi Caron
MVP.

Agenda
19:00 - 20:30:
what's new for reporting services in SQL-2008

20:30 - 21:00: Break

21:00 - 22:30:
Business Data Catalog of Office SharePoint Server 2007

Location:

Faculty of Computers and Information - Ain-Shams University,
El Khalifa el ma'moun street, Heliopolis,
Cairo, Egypt

Please be there before 19:00 coz we will start on time..


For those who wanna keep tuned with further news about this event & other upcoming events of the dotnetwork.org user group, please check the following links:

Yahoo!Group:
http://tech.groups.yahoo.com/group/dotnetworkorg/

Facebook Event:
http://www.facebook.com/event.php?eid=56508835231
You'd better join the above event if you have a facebook account so we can roughly estimate the attendees count..

Facebook Fan Page:
http://www.facebook.com/pages/netWorkorg/13135685545

Facebook Group:
http://www.facebook.com/group.php?gid=2409268236

Please don't hesitate to contact me if you have any further questions..
See u on the gathering ;)

.. more.

Thursday, July 10, 2008

Google Code Jam

Google Code Jam is a coding competition in which professional and student programmers are asked to solve complex algorithmic challenges in a limited amount of time. The contest is all-inclusive: Google Code Jam lets you program in the coding language and development environment of your choice.

Google Code Jam begins in July and continues in August, when you will compete in online rounds against contestants from around the world. The Top 500 participants will advance to onsite competitions at a local Google office to compete against those in their region (Asia Pacific; Europe, Middle East and Africa; and the Americas). The Top 100 will participate in the final round at the Google Headquarters in Mountain View, California on Friday, November 14.

Don't be left out! Make sure to register between June 17 and July 17, and show your coding creativity in Google Code Jam.


Prize Overview.

The top 100 finalists will divide over $80,000 in prize money:

Competitor(s)Prize
1st Place$10,000
2nd Place$5000
3rd Place$2500
4th – 10th Place$1500
11th – 30th Place$1000
31st – 50th Place$750
51st – 75th Place$500
76th – 100th Place$250


The Code Jam link :
http://code.google.com/codejam/

.. more.

Code Snippet :Oracle via C#

Select statement :

OracleCommand myOracleCommand = new OracleCommand();

OracleConnection myOracleConn = new OracleConnection();

myOracleConn.ConnectionString = "user id=userid ; data source=ERPDEV ; password=xxxxx";

myOracleConn.Open();

myOracleCommand.Connection = myOracleConn;

try

{

string strSQLFields = "select QUESTIONANSWER from FCIH where QUESTIONTEXT ='any text' ROWNUM <= 2)";

myOracleCommand.CommandText = strSQLFields;

myOracleCommand.CommandType = CommandType.Text;

OracleDataReader OracleDataReader1 = myOracleCommand.ExecuteReader();

if (OracleDataReader1.Read())

{

if (!(OracleDataReader1.IsDBNull(0)))

{

answer = OracleDataReader1.GetString(0);

}

}

if (!OracleDataReader1.IsClosed)

OracleDataReader1.Close();

if (myOracleConn.State == ConnectionState.Open)

myOracleConn.Close();

}

catch (Exception ex)

{

throw new ArgumentException(ex.Message.ToString());

}


Insert statment :

//new record

OracleCommand myOracleCommand4Insert = new OracleCommand();

OracleConnection myOracleConn4Insert = new OracleConnection();

myOracleConn4Insert.ConnectionString = "user id=ultimus ; data source=ERPDEV ; password=kmbpm263";

myOracleConn4Insert.Open();

myOracleCommand4Insert.Connection = myOracleConn4Insert;

try

{

string strSQLFields4Insert = "INSERT INTO FCIHTABLE( TENDERNAME, TENDERNO )";

string strSQLValues4Insert = ":TENDERNAME,TENDERNO.NEXTVAL";

string strSQL4Insert = strSQLFields4Insert + " VALUES (" + strSQLValues4Insert + ")";

myOracleCommand4Insert.CommandText = strSQL4Insert;

myOracleCommand4Insert.CommandType = CommandType.Text;

myOracleCommand4Insert.Parameters.Add("TENDERNAME", "any tender name");

myOracleCommand4Insert.ExecuteNonQuery();

}

catch (Exception ex)

{

throw new ArgumentException("Error In Insert You Suggestions to DataBase: " + ex.Message.ToString());

}

.. more.

Top 10 syntax (Oracle and SQL)

As my experience in Microsoft development, I was think that the syntax for retrieving top 10 records in SQL server is same with Oracle but unfortunately they were different so here the syntax of both :

SQL SERVER :

SELECT TOP 10 age FROM Employees

ORACLE :

SELECT age FROM Employees WHERE ROWNUM <= 10

.. more.

Imagine Cup 2009 in Egypt

It is great to announce the next imagine cup 2009 and the most great it will be held in Egypt .Registration is opened now .

what is Imagine Cup ?

The world’s premier student technology competition, the Imagine Cup is one way Microsoft is encouraging young people to apply their imagination, their passion, and their creativity to technology innovations that can make a difference in the world – today. Now in its seventh year, the Imagine Cup has grown to be a global event. More than 200,000 students from 100 countries entered the competition in 2008. 370 competitors from 121 teams representing 61 countries/regions attended the July 2008 worldwide finals in Paris, France. To learn more about the Imagine Cup, visit the What Is the Imagine Cup page.

What is the theme of the Imagine Cup 2009 and what city will host the World Finals?

This year’s theme is "Imagine a world where technology helps solves the toughest problems facing us today." The United Nations has identified some of the hardest challenges in the world today in its Millennium Goals. This year the Imagine Cup uses these ambitious challenges as a guiding light to inspire change all over the world. Learn more about the eight Millennium Goals.

The Worldwide Finals will be held in Cairo, Egypt. Visit the Explore the Imagine Cup page to learn about the history, winners, and former themes of the Imagine Cup.

How soon can I register?

Registration for Imagine Cup 2009 is now open.

The official home page :
http://www.imaginecup.com/
FQA page :
http://imaginecup.com/Support/FAQ.aspx


.. more.