<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7012199710535304233</id><updated>2011-04-21T20:42:28.471-07:00</updated><category term='LinQ'/><category term='Opinion'/><category term='List Object'/><category term='Dataset'/><category term='Binding'/><category term='Unit test'/><category term='Bug'/><category term='My day at surabaya'/><category term='vsto'/><category term='Design Patter'/><category term='wisdom of life'/><category term='Religion'/><category term='Ultragrid'/><category term='ADO.NET Synchronization'/><title type='text'>My Daily Life (Cipto)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>75</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7325633072095031957</id><published>2009-05-20T07:59:00.000-07:00</published><updated>2009-05-20T08:28:48.445-07:00</updated><title type='text'>Time</title><content type='html'>Minute pass by another minute, A second ahead previous one....&lt;br /&gt;Tick tick tick... i wake up in surprise,awake from dream.. and just realize another month  has passed by.. gosh how quick time is , you can say don't, stop and just slip away from your finger,&lt;br /&gt;&lt;br /&gt;Watching the hair becomes white. the body becomes cripple by age..&lt;br /&gt;have i done it right? what should i think of, other than what i do for living? How's my wish .. Can it comes true. what is the purpose of this short life...&lt;br /&gt;&lt;br /&gt;Imagine I'm some one else .. better or not&lt;br /&gt;There are thousand of question in my mind.. but yet the answer is second to none..&lt;br /&gt;Till death meet us with God..&lt;br /&gt;&lt;br /&gt;Time can you stop just for a minute. give me a break in this drive to succeed..&lt;br /&gt;How relieved it would be. Not to think just blank,&lt;br /&gt;but now i realize i create the time.. i make the time, i use the time.. it is me that drowning it self. Get up and awake and manage it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7325633072095031957?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7325633072095031957/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7325633072095031957' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7325633072095031957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7325633072095031957'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2009/05/time.html' title='Time'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7619840254950080675</id><published>2009-03-20T19:42:00.000-07:00</published><updated>2009-03-20T19:54:31.845-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wisdom of life'/><title type='text'>Not Such a Perfect World</title><content type='html'>Life is Like a mandarin song "Here We are is not a perfect World",&lt;br /&gt;&lt;br /&gt;You can't never always get what you want. So many imperfection. Rich guy but can not sleep at night, you can buy the most luxuries bed in the world, but not the sleep it self. Or you can buy the best medicine but not always healthy.Or rich but look at your children, they use drugs.&lt;br /&gt;&lt;br /&gt;Career Perfect, Great husband but no children.Or Career Great but no guys seems want's to even touch you. You are So broke that you only can buy tempe or something but you can eat with gracefully.&lt;br /&gt;&lt;br /&gt;As the Bible also said, "the more your income, the more people who will spent it"&lt;br /&gt;What Drive people in action and chaos "Money!!".&lt;br /&gt;&lt;br /&gt;I thought earlier, hey if i get to this point of income , that would make my life better. it is, i can buy what i want.. but the life seems the same, There is nothing New. You buy Something Because you &lt;span style="font-weight: bold;"&gt;think&lt;/span&gt; than it can make your life better, so Buying something is to fulfill that thought , you can't put what you buy inside of you. it's the matter of fulfilling.&lt;br /&gt;&lt;br /&gt;Pray so that under this sun, you can enjoy what ever the result of your work.&lt;br /&gt;Enjoy your meal, sleep and spent time with your wife or beloved one. and that's it.&lt;br /&gt;We are in a short life here. Like a Flower that grow, blossoms, and withered&lt;br /&gt;&lt;br /&gt;Don't Sacrifice the Beloved one with Money and Career&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7619840254950080675?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7619840254950080675/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7619840254950080675' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7619840254950080675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7619840254950080675'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2009/03/not-such-perfect-world.html' title='Not Such a Perfect World'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-4951036320606115804</id><published>2008-06-13T23:19:00.000-07:00</published><updated>2008-06-13T23:23:05.572-07:00</updated><title type='text'>another post</title><content type='html'>woah it's been a long time i don't post on this blog&lt;br /&gt;i've been through some business, &lt;br /&gt;which drawn me to no where.&lt;br /&gt;You can see my other blogs.&lt;br /&gt;on http://geeks.netindonesia.net/blogs/cipto/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-4951036320606115804?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/4951036320606115804/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=4951036320606115804' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4951036320606115804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4951036320606115804'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/06/another-post.html' title='another post'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-993614650858976460</id><published>2008-03-09T20:54:00.000-07:00</published><updated>2008-03-09T21:00:26.439-07:00</updated><title type='text'>Proverty in indo</title><content type='html'>While every daily needs is increasing now.&lt;br /&gt;especially recently from the Fried oil.. for cooking dunno what  you call in english,&lt;br /&gt;touching around 15.000 per kg.&lt;br /&gt;i've heard a dramatic news. that cause it is so unaffordable , there are some poor people who cook with sand. . .&lt;br /&gt;sounds awkward right?&lt;br /&gt;but yes it's true . .  .&lt;br /&gt;when it's shown on tv, it can fried but not crispy result.&lt;br /&gt;so what's next?&lt;br /&gt;&lt;br /&gt;in indonesia, when it's poor it's very poor, but when the rich is extremely rich.&lt;br /&gt;so there's no balance , i think the national developments should touch to this dilemma&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-993614650858976460?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/993614650858976460/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=993614650858976460' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/993614650858976460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/993614650858976460'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/03/proverty-in-indo.html' title='Proverty in indo'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7593872711535442900</id><published>2008-03-05T19:19:00.000-08:00</published><updated>2008-03-05T19:30:36.903-08:00</updated><title type='text'>In the Middle of No Where</title><content type='html'>dear blog. . .&lt;br /&gt;after a series of incident in my job&lt;br /&gt;i think it takes more than just a hard work and intelligent.&lt;br /&gt;so many those little things that make us more wise and success.&lt;br /&gt;i finally got in some trouble and being put in a middle of no where&lt;br /&gt;&lt;br /&gt;Hmm.. this is a nice obstacle or Exam in my life&lt;br /&gt;it makes me think what about if some day i've no job or if i'm on business&lt;br /&gt;how about if my business Bankrupt...&lt;br /&gt;or how about if i dedicated in a company and then the company bankrupt.&lt;br /&gt;There's nothing that is eternal in this (Fana) World.&lt;br /&gt;&lt;br /&gt;Yet on every point in my life, there's has to be a solving way of any trouble&lt;br /&gt;gee, what a headache that i've got.&lt;br /&gt;despite i pass and revive again, it would be a start over&lt;br /&gt;&lt;br /&gt;very sad though.  . .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7593872711535442900?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7593872711535442900/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7593872711535442900' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7593872711535442900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7593872711535442900'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/03/in-middle-of-no-where.html' title='In the Middle of No Where'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8367531052905519821</id><published>2008-02-21T18:55:00.000-08:00</published><updated>2008-02-21T22:27:11.759-08:00</updated><title type='text'>Adding validation and  business rule on DataTable</title><content type='html'>Open Dataset Designer , right click on the DataTable you wanted.&lt;br /&gt;it will create partial class &lt;span style="font-weight:bold;"&gt;YourDataTableName&lt;/span&gt;.&lt;br /&gt;and then on the&lt;br /&gt;Create your Validation Sub&lt;br /&gt;For instance &lt;br /&gt; void CheckWorkTypeID(DirectCostRow directcostrow)&lt;br /&gt;            {&lt;br /&gt;                if (directcostrow.WorkTypeID == 0 || directcostrow.WorkTypeID == DBNull.Value)&lt;br /&gt;                {&lt;br /&gt;                    directcostrow.SetColumnError("WorkTypeID", "Please Input A WorkTypeID");&lt;br /&gt;                }&lt;br /&gt;          }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8367531052905519821?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8367531052905519821/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8367531052905519821' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8367531052905519821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8367531052905519821'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/adding-validation-and-business-rule-on.html' title='Adding validation and  business rule on DataTable'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-415410654361527163</id><published>2008-02-20T19:03:00.000-08:00</published><updated>2008-02-20T19:05:07.856-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.NET Synchronization'/><title type='text'>Why My table doesn't appear on Local Data Chace Designer</title><content type='html'>1.Are not in the user’s default schema.&lt;br /&gt;&lt;br /&gt;Note: &lt;br /&gt;To determine which schema is being displayed, inspect the text above the list of tables. The text appears in the following format: Tables on 'DatabaseName.SchemaName'. The SchemaName listed is the current default schema. For information about default schemas, see User-Schema Separation in SQL Server 2005 Books Online.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;2.Table Doensn't have a primary key defined.&lt;br /&gt;&lt;br /&gt;3.Have names longer than 118 characters.&lt;br /&gt;&lt;br /&gt;4.Contain columns with data types that are not supported by SQL Server Compact 3.5.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-415410654361527163?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/415410654361527163/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=415410654361527163' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/415410654361527163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/415410654361527163'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/why-my-table-doesnt-appear-on-local.html' title='Why My table doesn&apos;t appear on Local Data Chace Designer'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-4782067854116983239</id><published>2008-02-20T18:39:00.000-08:00</published><updated>2008-02-20T18:40:14.175-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADO.NET Synchronization'/><title type='text'>Handle Data Conflicts and Errors ADO.NET Synchronization</title><content type='html'>partial class LocalDataCache1ServerSyncProvider&lt;br /&gt;    {&lt;br /&gt;        protected override void OnChangesSelected(ChangesSelectedEventArgs value)&lt;br /&gt;        {&lt;br /&gt;            base.OnChangesSelected(value);&lt;br /&gt;            &lt;br /&gt;            &lt;br /&gt;        }&lt;br /&gt;        public override SyncContext GetChanges(SyncGroupMetadata groupMetadata, SyncSession syncSession)&lt;br /&gt;        {&lt;br /&gt;            return base.GetChanges(groupMetadata, syncSession);&lt;br /&gt;            MessageBox.Show(groupMetadata.BatchCount + " Change");&lt;br /&gt;        }&lt;br /&gt;        protected override void OnSelectingChanges(SelectingChangesEventArgs value)&lt;br /&gt;        {&lt;br /&gt;            base.OnSelectingChanges(value);&lt;br /&gt;            &lt;br /&gt;        }&lt;br /&gt;        protected override void OnApplyChangeFailed(Microsoft.Synchronization.Data.ApplyChangeFailedEventArgs value)&lt;br /&gt;        {&lt;br /&gt;            DataTable clientchanges = value.Conflict.ClientChange;&lt;br /&gt;            DataTable serverchanges = value.Conflict.ServerChange;&lt;br /&gt;            if(value.Conflict.ConflictType==ConflictType.ClientUpdateServerDelete)&lt;br /&gt;            {&lt;br /&gt;                &lt;br /&gt;                &lt;br /&gt;                value.Action = ApplyAction.RetryWithForceWrite;&lt;br /&gt;&lt;br /&gt;                &lt;br /&gt;            }&lt;br /&gt;            if (value.Conflict.ConflictType == ConflictType.ClientInsertServerInsert)&lt;br /&gt;            {&lt;br /&gt;                value.Action = ApplyAction.RetryWithForceWrite;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            if (value.Conflict.ConflictType == ConflictType.ClientUpdateServerUpdate)&lt;br /&gt;            {&lt;br /&gt;                //Logic goes here.&lt;br /&gt;                Form1 a = new Form1();&lt;br /&gt;                a.ultraGrid1.DataSource = serverchanges;&lt;br /&gt;                a.ultraGrid2.DataSource = clientchanges;&lt;br /&gt;                a.ultraStatusBar1.Text = "Data has been changed by other user since your last synchronization";&lt;br /&gt;                a.ShowDialog();&lt;br /&gt;                value.Action = a.action;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            if (value.Conflict.ConflictType == ConflictType.ErrorsOccurred)&lt;br /&gt;            {&lt;br /&gt;                //Logic goes here.&lt;br /&gt;                MessageBox.Show(value.Conflict.ErrorMessage, "UnKnown Error Happened:Continuing");&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;        protected override void OnApplyingChanges(ApplyingChangesEventArgs value)&lt;br /&gt;        {&lt;br /&gt;            DataSet clientchanges = value.Changes;&lt;br /&gt;        }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-4782067854116983239?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/4782067854116983239/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=4782067854116983239' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4782067854116983239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4782067854116983239'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/handle-data-conflicts-and-errors-adonet.html' title='Handle Data Conflicts and Errors ADO.NET Synchronization'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6248074349143177104</id><published>2008-02-20T01:19:00.000-08:00</published><updated>2008-02-20T01:23:01.464-08:00</updated><title type='text'>Ado.net Synchronize</title><content type='html'>Hmmm...&lt;br /&gt;i've try the sync one.&lt;br /&gt;you just add new item localchace and&lt;br /&gt;set where the Server reside.&lt;br /&gt;and it will generate you everything including the client sql server compact.&lt;br /&gt;you just say &lt;span style="font-weight:bold;"&gt;NameofYourChace&lt;/span&gt;SyncAgent.Synchronize&lt;br /&gt;&lt;br /&gt;and add this extracode for your localcache&lt;br /&gt;&lt;br /&gt;partial class &lt;span style="font-weight:bold;"&gt;NameofYourChace&lt;/span&gt;ServerSyncProvider&lt;br /&gt;    {&lt;br /&gt;        protected override void OnApplyChangeFailed(Microsoft.Synchronization.Data.ApplyChangeFailedEventArgs value)&lt;br /&gt;        {&lt;br /&gt;            DataTable clientchanges = value.Conflict.ClientChange;&lt;br /&gt;            DataTable serverchanges = value.Conflict.ServerChange;&lt;br /&gt;            value.Action = ApplyAction.RetryWithForceWrite;&lt;br /&gt;        }&lt;br /&gt;        protected override void OnApplyingChanges(ApplyingChangesEventArgs value)&lt;br /&gt;        {&lt;br /&gt;            DataSet clientchanges = value.Changes;&lt;br /&gt;        }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6248074349143177104?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6248074349143177104/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6248074349143177104' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6248074349143177104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6248074349143177104'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/adonet-synchronize.html' title='Ado.net Synchronize'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8059174459924064771</id><published>2008-02-19T20:24:00.000-08:00</published><updated>2008-02-19T20:25:31.344-08:00</updated><title type='text'>Datarow state</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qAGLkVrx-p8/R7urlWe-YhI/AAAAAAAAADs/AD3q37cO6HE/s1600-h/DataRow.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_qAGLkVrx-p8/R7urlWe-YhI/AAAAAAAAADs/AD3q37cO6HE/s320/DataRow.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5168913655516783122" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8059174459924064771?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8059174459924064771/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8059174459924064771' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8059174459924064771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8059174459924064771'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/datarow-state.html' title='Datarow state'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_qAGLkVrx-p8/R7urlWe-YhI/AAAAAAAAADs/AD3q37cO6HE/s72-c/DataRow.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-9160386890705743134</id><published>2008-02-19T19:46:00.000-08:00</published><updated>2008-02-19T19:51:00.542-08:00</updated><title type='text'>Sync FrameWork</title><content type='html'>After seeing the video ,&lt;br /&gt;I wish that i can use this kind of products in project&lt;br /&gt;&lt;br /&gt;on the video seems to good to be true.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-9160386890705743134?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/9160386890705743134/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=9160386890705743134' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/9160386890705743134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/9160386890705743134'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/sync-framework.html' title='Sync FrameWork'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6394675586978520419</id><published>2008-02-19T17:06:00.000-08:00</published><updated>2008-02-19T19:45:26.819-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dataset'/><title type='text'>Serialize Dataset Using Binary Formatter and XML</title><content type='html'>How to Serialize to XMl&lt;br /&gt;MyDataSet.writexml(path,xmlwritemode.ignoreschema)&lt;br /&gt;If you want to keep the original datarow object information for later syncrhonized with database&lt;br /&gt;MyDataSet.writexml(path,xmlwritemode.Diffgram)&lt;br /&gt;DiffGram contains all of the DataRowVersion information as shown in the following XML &lt;br /&gt;&lt;br /&gt;How to DeSerialize from XMl&lt;br /&gt;MyDataSet.Readxml(path,xmlreadmode.Ignoreschema);&lt;br /&gt;MyDataSet.Readxml(path,xmlreadmode.Diffgram);&lt;br /&gt;&lt;br /&gt;How to Serialize to Binary&lt;br /&gt;FileStream fs=new FileStream( &lt;br /&gt;@"c:\MyDataset.bin",FileMode.Create); &lt;br /&gt;BinaryFormatter fmt= newBinaryFormatter();&lt;br /&gt;fmt.Serialize(fs, MyDataset); &lt;br /&gt;fs.Close();&lt;br /&gt;&lt;br /&gt;How to Deserialize from Binary&lt;br /&gt;DataSetvendorData; &lt;br /&gt;FileStream fs=new FileStream( &lt;br /&gt;@"c:\MyDataset.bin", FileMode.Open); &lt;br /&gt;BinaryFormatter fmt= newBinaryFormatter(); &lt;br /&gt;MyDataset=(DataSet)fmt.Deserialize(fs); &lt;br /&gt;fs.Close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6394675586978520419?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6394675586978520419/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6394675586978520419' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6394675586978520419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6394675586978520419'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/serialize-dataset-using-binary.html' title='Serialize Dataset Using Binary Formatter and XML'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2604613571475700700</id><published>2008-02-18T22:26:00.000-08:00</published><updated>2008-02-18T23:21:18.688-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='List Object'/><title type='text'>Binding to Listobject display no data</title><content type='html'>hmmm. i've encountered this problema .&lt;br /&gt;what ever you bind whether ICOLLECTION, or DATATABLE.&lt;br /&gt;Please do not fill it first then bind.&lt;br /&gt;You bind it first then you fill/add the item&lt;br /&gt;Whoallah it appears&lt;br /&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=137631&amp;SiteID=1&lt;br /&gt;&lt;br /&gt;Hey i found another solution&lt;br /&gt;it is because you dont' set the propety&lt;br /&gt;AutoSetDataBoundColumnHeader to TRUE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2604613571475700700?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2604613571475700700/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2604613571475700700' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2604613571475700700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2604613571475700700'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/binding-to-listobject-display-no-data.html' title='Binding to Listobject display no data'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7869115439005333856</id><published>2008-02-18T00:24:00.000-08:00</published><updated>2008-02-18T00:30:09.985-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vsto'/><title type='text'>Ribbon and Custom Task Panes</title><content type='html'>to add custom task pane. on ThisWorkBook.cs&lt;br /&gt;private void ThisWorkbook_Startup(object sender, System.EventArgs e)&lt;br /&gt;        {&lt;br /&gt;            &lt;span style="font-weight:bold;"&gt;this.ActionsPane.Controls.Add(new ActionsPaneControl1());&lt;br /&gt;&lt;/span&gt;        }&lt;br /&gt;to add custom ribbon RIght click project -&gt;add new item-&gt;ribbon visual designer.&lt;br /&gt;Everything you add there will be on the Addins Menu when you F5(run).&lt;br /&gt;You can eliminate any other menu on the sheet/workbook. By setting your custom ribbon property -&gt;Start From Scratch -&gt;TRUE&lt;br /&gt;so there's only your menu showed up.&lt;br /&gt;Whualla .. piece of cake&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qAGLkVrx-p8/R7lBwGe-YgI/AAAAAAAAADk/oD2KIQTQyEY/s1600-h/VSTOribbonandribbon.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_qAGLkVrx-p8/R7lBwGe-YgI/AAAAAAAAADk/oD2KIQTQyEY/s320/VSTOribbonandribbon.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5168234342014411266" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7869115439005333856?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7869115439005333856/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7869115439005333856' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7869115439005333856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7869115439005333856'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/wew-ribbon-and-custom-task-panes.html' title='Ribbon and Custom Task Panes'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_qAGLkVrx-p8/R7lBwGe-YgI/AAAAAAAAADk/oD2KIQTQyEY/s72-c/VSTOribbonandribbon.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2060070703847723808</id><published>2008-02-17T22:20:00.000-08:00</published><updated>2008-02-17T22:23:08.136-08:00</updated><title type='text'>VSTO</title><content type='html'>Wew, Vsto can host any control, you can host any control on excel. including infragistics&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qAGLkVrx-p8/R7kkLGe-YfI/AAAAAAAAADc/cccOf8-Vr3o/s1600-h/vsto.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_qAGLkVrx-p8/R7kkLGe-YfI/AAAAAAAAADc/cccOf8-Vr3o/s320/vsto.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5168201820522045938" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2060070703847723808?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2060070703847723808/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2060070703847723808' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2060070703847723808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2060070703847723808'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/vsto.html' title='VSTO'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_qAGLkVrx-p8/R7kkLGe-YfI/AAAAAAAAADc/cccOf8-Vr3o/s72-c/vsto.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8725486326072379033</id><published>2008-02-17T17:36:00.000-08:00</published><updated>2008-02-17T17:39:58.973-08:00</updated><title type='text'>A song Depicts Jakarta's Road</title><content type='html'>hmm .. after a series of rain. and none of the roads seems to be fix. i always across many big holes on jakarta's road today.&lt;br /&gt;and this morning i've found a song for it.&lt;br /&gt;it comes from the old mcdonald song.&lt;br /&gt;so here we goes.&lt;br /&gt;"Jakarta has Some Roads"&lt;br /&gt;Iya Iya yooooo&lt;br /&gt;"And in on these road they has Some Holes" &lt;br /&gt;Iya Iya yooooo&lt;br /&gt;"at slipi holes, at menceng holes, at kemang holes"&lt;br /&gt;Iya Iya Yooooo&lt;br /&gt;"Jakarta is a big damn Holes" &lt;br /&gt;Iya Iya Yooooo* upps watch out.... the hole.&lt;br /&gt;&lt;br /&gt;Thank You&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8725486326072379033?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8725486326072379033/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8725486326072379033' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8725486326072379033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8725486326072379033'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/song-depicts-jakartas-road.html' title='A song Depicts Jakarta&apos;s Road'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2425407158416590689</id><published>2008-02-14T17:22:00.000-08:00</published><updated>2008-02-14T18:42:27.020-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Opinion'/><title type='text'>Towards the End of The World?</title><content type='html'>Well, Yesterday i saw that MTV commercial. About the Green House effect, 2050 there will be 30 Million people starving, all the big cities will be whelmed by this issue.&lt;br /&gt;&lt;br /&gt;And the Glitzer or the ice mountain on the north/south pole will be all melt on 100 years if i'm not hearing it wrong.&lt;br /&gt;&lt;br /&gt;Human will be the servant of money. won't care about each other.&lt;br /&gt;I know why.. It's because when we do good deeds , and then we are done browned/deceifed.&lt;br /&gt;so we won't do good deeds anymore, and our heart become a bitter.&lt;br /&gt;&lt;br /&gt;if you see the disaster ,etc, will we still be survive in another 100 year?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2425407158416590689?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2425407158416590689/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2425407158416590689' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2425407158416590689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2425407158416590689'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/towards-end-of-world.html' title='Towards the End of The World?'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1644527029165407739</id><published>2008-02-13T18:35:00.000-08:00</published><updated>2008-02-13T18:51:28.803-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Religion'/><title type='text'>SPK AbbaLove</title><content type='html'>Now, this is a pretty awkward(strange) teaching in churches called AbbaLove.&lt;br /&gt;They said "We don't Recognize about Dating, In the Bible said nothing about Dating, there's only Marriage". So many of the cell group community especially girl, dump their sinful boyfriend which have those sin hand :) . So most of them said, "next time if somebody like me, i'd ask him if he's serious with me and jump to marriage".&lt;br /&gt;My girlfriend is in one of their churches. After she said about this, I said " Bloody Hell, What the? are you crazy? People Dating because they want to know each other Character cause you'll be living with that character for the next of your live And a relationship is based on understanding and need more adjustment than you can even think". Relationship will go nothing further with out any effort, even a dog need to take care of, treat right, not to mention HUMAN. her bos which is christian disagree with this too, and most of the guys i think LOL.&lt;br /&gt;&lt;br /&gt;I said also "THere's CAN NOT be that BIBLE written about Maria and josef going for a date in somewhere doing this and that??", "or Some Prophets Took His wife for a romantic dinner in some restaurant" Would'nt it?&lt;br /&gt;&lt;br /&gt;This is what you called, not mature Mind Set, and social Life.&lt;br /&gt;Which comes from Indonesian perspectives. "Hide those Sex things or Everything refers to it or smell like it undercover, it's taboo"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1644527029165407739?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1644527029165407739/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1644527029165407739' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1644527029165407739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1644527029165407739'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/spk-abbalove.html' title='SPK AbbaLove'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2522809457519091255</id><published>2008-02-11T23:21:00.000-08:00</published><updated>2008-02-11T23:28:42.510-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unit test'/><title type='text'>Creating Unit Test with VS 2005 teamsuite</title><content type='html'>Hey it's easy.&lt;br /&gt;Just Right Click on the method you want to test&lt;br /&gt;Choose Create Test Unit&lt;br /&gt;&lt;br /&gt;And wualla the magic is creating new project for testing, and you are just coding on the What params to pass,&lt;br /&gt;and then the Assert.&lt;br /&gt;&lt;br /&gt;one thing about Assert is that if the result is false it Throw FAILED.&lt;br /&gt;if true and it keep passing through.&lt;br /&gt;common one:&lt;br /&gt;Assert.EQUAL&lt;br /&gt;ex:Assert.AreEqual(6, actual.Count, "Hey it should return just 6 member");&lt;br /&gt;Assert.isnull&lt;br /&gt;assert.notequal&lt;br /&gt;and etc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2522809457519091255?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2522809457519091255/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2522809457519091255' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2522809457519091255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2522809457519091255'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/creating-unit-test-with-vs-2005.html' title='Creating Unit Test with VS 2005 teamsuite'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6682899528797978154</id><published>2008-02-11T18:50:00.000-08:00</published><updated>2008-02-11T18:57:51.777-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Binding'/><title type='text'>Object Binding and Search Support</title><content type='html'>After i followed the video of how to on vbhowto.&lt;br /&gt;i finally realized that an object can be bind ,what most is search,filter support&lt;br /&gt;here is an example of how to add search support, filtered is next&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qAGLkVrx-p8/R7EKTWe-YeI/AAAAAAAAADU/4NbKCSwCcEw/s1600-h/Binding.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_qAGLkVrx-p8/R7EKTWe-YeI/AAAAAAAAADU/4NbKCSwCcEw/s320/Binding.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5165921575139959266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;namespace SampleObject&lt;br /&gt;{&lt;br /&gt;    public class SearchAbleBindingList&lt;T&gt; : BindingList&lt;T&gt;&lt;br /&gt;    {&lt;br /&gt;        //first override supportsearching core return true&lt;br /&gt;        protected override bool SupportsSearchingCore&lt;br /&gt;        {&lt;br /&gt;            get&lt;br /&gt;            {&lt;br /&gt;                return true;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;        //second override findcore&lt;br /&gt;        protected override int FindCore(PropertyDescriptor prop, object key)&lt;br /&gt;        {&lt;br /&gt;            for(int i=0;i&lt;=Count-1;i++)&lt;br /&gt;            {&lt;br /&gt;                T item = this[i];&lt;br /&gt;                if (prop.GetValue(item).Equals(key)) return i;&lt;br /&gt;            }&lt;br /&gt;            return -1;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;using System.ComponentModel;&lt;br /&gt;namespace SampleObject&lt;br /&gt;{&lt;br /&gt;    public class customer&lt;br /&gt;    {&lt;br /&gt;        private string _name;&lt;br /&gt;        private string _adress;&lt;br /&gt;&lt;br /&gt;        public string name&lt;br /&gt;        {&lt;br /&gt;            get { return _name; }&lt;br /&gt;            set { _name = value; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public string address&lt;br /&gt;        {&lt;br /&gt;            get { return _adress; }&lt;br /&gt;            set { _adress = value; }&lt;br /&gt;        }&lt;br /&gt;        private BindingList&lt;order&gt; _orders=new BindingList&lt;order&gt;();&lt;br /&gt;&lt;br /&gt;        public BindingList&lt;order&gt; orders&lt;br /&gt;        {&lt;br /&gt;            get { return _orders; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public customer(string _name, string _adress)&lt;br /&gt;        {&lt;br /&gt;            this._name = _name;&lt;br /&gt;            this._adress = _adress;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public class order&lt;br /&gt;    {&lt;br /&gt;        private int _id;&lt;br /&gt;        private string _productname;&lt;br /&gt;        private int _quantity;&lt;br /&gt;&lt;br /&gt;        public int id&lt;br /&gt;        {&lt;br /&gt;            get { return _id; }&lt;br /&gt;            set { _id = value; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public string productname&lt;br /&gt;        {&lt;br /&gt;            get { return _productname; }&lt;br /&gt;            set { _productname = value; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public int quantity&lt;br /&gt;        {&lt;br /&gt;            get { return _quantity; }&lt;br /&gt;            set { _quantity = value; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public order(int _id, string _productname, int _quantity)&lt;br /&gt;        {&lt;br /&gt;            this._id = _id;&lt;br /&gt;            this._productname = _productname;&lt;br /&gt;            this._quantity = _quantity;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6682899528797978154?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6682899528797978154/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6682899528797978154' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6682899528797978154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6682899528797978154'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/object-binding-and-search-support.html' title='Object Binding and Search Support'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qAGLkVrx-p8/R7EKTWe-YeI/AAAAAAAAADU/4NbKCSwCcEw/s72-c/Binding.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7142537092456349241</id><published>2008-02-07T20:13:00.000-08:00</published><updated>2008-02-07T20:18:14.842-08:00</updated><title type='text'>UltraPopUpControlContainer</title><content type='html'>This Control is like Contextmenustrip, the difference this can pop any control. with Point where you want to display&lt;br /&gt;&lt;br /&gt;Simple Example&lt;br /&gt;private void ultraPopupControlContainer1_Opening(object sender, CancelEventArgs e)&lt;br /&gt;{&lt;br /&gt; ultraPopupControlContainer1.PopupControl = ultraTree1;&lt;br /&gt;}&lt;br /&gt;private void ultraButton1_Click(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt; ultraPopupControlContainer1.Show();&lt;br /&gt;}&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qAGLkVrx-p8/R6vXt0q0j2I/AAAAAAAAADM/F4Urzdtyu0Q/s1600-h/Look.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_qAGLkVrx-p8/R6vXt0q0j2I/AAAAAAAAADM/F4Urzdtyu0Q/s320/Look.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5164458579942739810" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7142537092456349241?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7142537092456349241/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7142537092456349241' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7142537092456349241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7142537092456349241'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/ultrapopupcontrolcontainer.html' title='UltraPopUpControlContainer'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_qAGLkVrx-p8/R6vXt0q0j2I/AAAAAAAAADM/F4Urzdtyu0Q/s72-c/Look.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6848860980686423024</id><published>2008-02-05T17:52:00.000-08:00</published><updated>2008-02-05T17:54:26.447-08:00</updated><title type='text'>Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler Could not be created</title><content type='html'>Add a reference to Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6848860980686423024?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6848860980686423024/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6848860980686423024' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6848860980686423024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6848860980686423024'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/microsoftpracticesenterpriselibraryexce.html' title='Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler Could not be created'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1052962927966821573</id><published>2008-02-05T02:32:00.000-08:00</published><updated>2008-02-05T02:34:58.438-08:00</updated><title type='text'>Subclassing a WinDataSource to represent a Business Class</title><content type='html'>http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7388&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1052962927966821573?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1052962927966821573/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1052962927966821573' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1052962927966821573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1052962927966821573'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/subclassing-windatasource-to-represent.html' title='Subclassing a WinDataSource to represent a Business Class'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7172952836849168510</id><published>2008-02-05T01:59:00.000-08:00</published><updated>2008-02-05T02:01:41.680-08:00</updated><title type='text'>Procedure or function has too many arguments specified.</title><content type='html'>Check Your Store Procedure,&lt;br /&gt;Your Giving too much parameter, than your store proc does&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7172952836849168510?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7172952836849168510/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7172952836849168510' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7172952836849168510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7172952836849168510'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/02/procedure-or-function-has-too-many.html' title='Procedure or function has too many arguments specified.'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7584826864510829774</id><published>2008-01-29T23:50:00.000-08:00</published><updated>2008-01-29T23:52:09.509-08:00</updated><title type='text'>Infragistic UltraGrid Data Source Hang</title><content type='html'>using (WinCEsDataContext context = new WinCEsDataContext())&lt;br /&gt;            {&lt;br /&gt;                &lt;br /&gt;                context.Log = Console.Out;&lt;br /&gt;                var q = from i in context.TenderResults select i;&lt;br /&gt;               &lt;span style="font-weight:bold;"&gt; ultraGrid1.DisplayLayout.MaxBandDepth = 1;&lt;/span&gt;&lt;br /&gt;                ultraGrid1.DataSource=q;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;If you don't set to 1 your application will hang. cause it will try to create new band to all it childs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7584826864510829774?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7584826864510829774/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7584826864510829774' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7584826864510829774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7584826864510829774'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/infragistic-ultragrid-data-source-hang.html' title='Infragistic UltraGrid Data Source Hang'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-5135933006212935122</id><published>2008-01-29T23:02:00.000-08:00</published><updated>2008-01-29T23:05:24.425-08:00</updated><title type='text'>Infragistic UltraGrid</title><content type='html'>hmm.. i've just used this grid&lt;br /&gt;and i've test it, that if i drag many objects to DBML&lt;br /&gt;say many relation on each other.&lt;br /&gt;and then when i use linq to give me result and i just simply&lt;br /&gt;bind it to this grid. it hangs.&lt;br /&gt;If just one or two table related to each other than works fine.&lt;br /&gt;It won't hang on ordinary datagridview&lt;br /&gt;&lt;br /&gt;Gee what explaination for this&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-5135933006212935122?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/5135933006212935122/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=5135933006212935122' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5135933006212935122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5135933006212935122'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/infragistic-ultragrid_29.html' title='Infragistic UltraGrid'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-3801129503325742842</id><published>2008-01-25T00:18:00.000-08:00</published><updated>2008-01-25T00:23:56.332-08:00</updated><title type='text'>Indonesia Economic Growth</title><content type='html'>What is wrong?&lt;br /&gt;well, they always says things got better, our growth is 6.3 percent.&lt;br /&gt;next year will be 6.8%&lt;br /&gt;....&lt;br /&gt;And then Boom&lt;br /&gt;everything's expensive,Disaster.&lt;br /&gt;Gee what is wrong with you?&lt;br /&gt;Do you always make a false alarm to your people?&lt;br /&gt;the growth doesn't lift people's life&lt;br /&gt;and you always hide your proverty statistic&lt;br /&gt;&lt;br /&gt;Making some Advertisement on TV,&lt;br /&gt;like promoting your bad work?????&lt;br /&gt;Let's save the energy bla bla bla&lt;br /&gt;while you know that the growth of electricity , but you don't grow your electricity plant.&lt;br /&gt;Every of your department going for advertisement but yeah, hell yeah what is new ?&lt;br /&gt;There are so many hole, cause of this Crisis.Other country has go out from crisis, but why can't we? we are dealing with numerous problem in 2008&lt;br /&gt;and how can you answer it?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-3801129503325742842?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/3801129503325742842/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=3801129503325742842' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/3801129503325742842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/3801129503325742842'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/indonesia-economic-growth.html' title='Indonesia Economic Growth'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7150264678732923009</id><published>2008-01-25T00:08:00.000-08:00</published><updated>2008-01-25T00:17:25.847-08:00</updated><title type='text'>Indonesia Criticsm</title><content type='html'>Hmm, i'm Indonesian Chinesse.&lt;br /&gt;What i see from this country. is  a lamb ass.&lt;br /&gt;Not foward going person, open minded people for Changes to a better future.&lt;br /&gt;Problems and problems:&lt;br /&gt;Corruption,&lt;br /&gt;Proverty,&lt;br /&gt;Unemployement,&lt;br /&gt;Traffic Jam,&lt;br /&gt;EU banned over Air Flight,&lt;br /&gt;poor Birocracy,&lt;br /&gt;Bad Economic Growth,&lt;br /&gt;Wealthy natural resource but being handled and taken by foreigner, &lt;br /&gt;Not growing farming,&lt;br /&gt;Not growing biofuel,&lt;br /&gt;Not growing Busway,&lt;br /&gt;Now it's the daily needs that rise again,&lt;br /&gt;Soya Beans, Rice, Minyak Tanah,Eggs,Flour=&gt; PEOPLE are dying , don't you have any pitty on them???&lt;br /&gt;SO everything that This Nation Government do is SLEEPPING&lt;br /&gt;taking salary, sit, and go home and do nothing.&lt;br /&gt;It awakes when everything gone bad, and that like some kind of Surprise or Shock like From sleeping and suddenly awake,"What to do , what to do, how to handle this?".&lt;br /&gt;But never see to the future if this problem happens, what should we do from now.&lt;br /&gt;It suck's THERE is just NEVER , NEVER they -&gt; Government of Indonesia that Makes JUST ONE , i mean ONE RIGHT policy which is WORKING and make people life's better.&lt;br /&gt;WHo do you put on the top position/head of your Government Department?????&lt;br /&gt;A sleeping as worker??&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7150264678732923009?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7150264678732923009/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7150264678732923009' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7150264678732923009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7150264678732923009'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/indonesia-criticsm.html' title='Indonesia Criticsm'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2591144386144814761</id><published>2008-01-25T00:01:00.000-08:00</published><updated>2008-01-25T00:05:14.512-08:00</updated><title type='text'>UltraToolBarManager,UltraDataSource</title><content type='html'>Now this is something .&lt;br /&gt;Excel 2007 Like&lt;br /&gt;Very Neat&lt;br /&gt;Ribbon etc....&lt;br /&gt;Coool&lt;br /&gt;&lt;br /&gt;HOw to access and change property&lt;br /&gt;1.Sharedprop&lt;br /&gt;2.Instanceprop&lt;br /&gt;can find it just cast down&lt;br /&gt;  TextBoxTool tooltmp = (TextBoxTool)ultraToolbarsManager1.Tools["TxtFormula"];&lt;br /&gt;            tooltmp.ToolKeyPress += new ToolKeyPressEventHandler(tooltmp_ToolKeyPress);&lt;br /&gt;&lt;br /&gt;UltraDatasource How to&lt;br /&gt;------------------------&lt;br /&gt;Ultradatasource1.Setcount(int)=&gt;this fire the ultradatasouce Cell data requested&lt;br /&gt;Bind each of that to Your object Collection property&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2591144386144814761?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2591144386144814761/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2591144386144814761' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2591144386144814761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2591144386144814761'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/ultratoolbarmanagerultradatasource.html' title='UltraToolBarManager,UltraDataSource'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7233338733525217567</id><published>2008-01-24T23:49:00.000-08:00</published><updated>2008-01-24T23:53:07.097-08:00</updated><title type='text'>LinQ Insert, Update</title><content type='html'>First to Insert just&lt;br /&gt;Create New object of your mapping&lt;br /&gt;ex: class MyuserList&lt;br /&gt;    string username;&lt;br /&gt;    int age;&lt;br /&gt;&lt;br /&gt;MyuserList a=new MyuserList();&lt;br /&gt;a.username="cipto";&lt;br /&gt;a.age="26";&lt;br /&gt;&lt;br /&gt;or Dynamicinsert(a);&lt;br /&gt;&lt;br /&gt;Mydatacontext tmp=new Mydatacontext();&lt;br /&gt;tmp.&lt;span style="font-weight:bold;"&gt;insertonsubmit&lt;/span&gt;(a);&lt;br /&gt;&lt;br /&gt;For Update&lt;br /&gt;-------------------&lt;br /&gt;just get the recod and change the properti and then&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;submitchanges();&lt;/span&gt;=&gt;everything is update to DB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7233338733525217567?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7233338733525217567/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7233338733525217567' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7233338733525217567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7233338733525217567'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/linq-insert-update.html' title='LinQ Insert, Update'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-3663240194424292296</id><published>2008-01-24T23:37:00.000-08:00</published><updated>2008-01-24T23:49:06.941-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LinQ'/><title type='text'>LinQ Example</title><content type='html'>How To Get End result as List&lt;br /&gt;-------------------------------&lt;br /&gt;public IList&lt;string&gt; GetAllEntity()&lt;br /&gt;        {&lt;br /&gt;            var r = (from s in Manager.Context.CalculationFormula select s.Code).&lt;span style="font-weight:bold;"&gt;ToList()&lt;/span&gt;;&lt;br /&gt;            return r;&lt;br /&gt;        }&lt;br /&gt;How to Get just One Row Result&lt;br /&gt;----------------------------------&lt;br /&gt;public CalculationFormula GetbyCode(string code)&lt;br /&gt;        {&lt;br /&gt;            var r = (from s in Manager.Context.CalculationFormula &lt;br /&gt;                     where s.Code==code&lt;br /&gt;                     select s)&lt;span style="font-weight:bold;"&gt;.Single()&lt;/span&gt;;&lt;br /&gt;            return r;&lt;br /&gt;        }&lt;br /&gt;How to Order the Result&lt;br /&gt;-----------------------&lt;br /&gt;return Entity.GetByJobiD(ID).&lt;span style="font-weight:bold;"&gt;OrderBy&lt;/span&gt;(s=&gt;s.RowIndex).ToList();&lt;br /&gt;How to Lazy loading&lt;br /&gt;----------------------&lt;br /&gt;I assume the meaning is, because on each object we have  one to many relation ship you can told linq to hold/postpone the loading of these related data by setting it's differedloading=false;&lt;br /&gt;How to get datatable&lt;br /&gt;----------------------&lt;br /&gt;unfortunately you have to have your datatable as source first, there's no way of returning as datatable, so from datatable source you can Query it again againts it. and return as a new datatalbe result using linq.datasetextension.dll the method name is , .CopyasDatatable() or .CopyasDataView()&lt;br /&gt;HOw to join to several tables, join, etc,&lt;br /&gt;-----------------------------------------&lt;br /&gt;Now linq can get very complex, and hierrachiall(does this spell right?)&lt;br /&gt;but it's your job to find out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-3663240194424292296?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/3663240194424292296/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=3663240194424292296' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/3663240194424292296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/3663240194424292296'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/linq-example.html' title='LinQ Example'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7936179613456898528</id><published>2008-01-24T23:14:00.000-08:00</published><updated>2008-01-24T23:34:44.159-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ultragrid'/><title type='text'>Infragistic UltraGrid</title><content type='html'>how to Hide Column&lt;br /&gt;-------------------&lt;br /&gt;private void ultraGrid1_InitializeLayout{&lt;br /&gt; foreach (UltraGridColumn oColumn in (sender as UltraGrid  ) .DisplayLayout.Bands[0].Columns)&lt;br /&gt;            {&lt;br /&gt;                switch (oColumn.Key.ToUpper())&lt;br /&gt;                {&lt;br /&gt;                    case "ISFORMULA":&lt;br /&gt;                        oColumn.Hidden = true;&lt;br /&gt;                        break;&lt;br /&gt;                    case "ISTITLE":&lt;br /&gt;                        oColumn.Hidden = true;&lt;br /&gt;                        break;&lt;br /&gt;                    case "ISITEM":&lt;br /&gt;                        oColumn.Hidden = true;&lt;br /&gt;                        break;&lt;br /&gt;                    case "ISSUBTOTAL":&lt;br /&gt;                        oColumn.Hidden = true;&lt;br /&gt;                        break;&lt;br /&gt;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;}&lt;br /&gt;Setting cell Value&lt;br /&gt;--------------------&lt;br /&gt;ultraGrid1.ActiveRow.Cells[0].SetValue("",false);&lt;br /&gt;How to Focus on a Cell&lt;br /&gt;-------------------------&lt;br /&gt; ultraGrid1.PerformAction(UltraGridAction.EnterEditMode, false, false);&lt;br /&gt; to exit the edit mode &lt;br /&gt; ultraGrid1.PerformAction(UltraGridAction.ExitEditMode, false, false);&lt;br /&gt;Coloring Rows/Cell&lt;br /&gt;-------------------&lt;br /&gt;ultraGrid1.DisplayLayout.Rows[rowindex].CellAppearance.BackColor = Color.Gray;&lt;br /&gt;Cell.Appearance.BackColor = Color.Red;&lt;br /&gt;How to on Enter move to next Cell that has Focus(Text)&lt;br /&gt;-------------------&lt;br /&gt;void NextControlFocus()&lt;br /&gt;        { &lt;br /&gt;            int index=ultraGrid1.ActiveCell.Column.Index;&lt;br /&gt;            ultraGrid1.ActiveRow.Cells[index+1].Activate();&lt;br /&gt;            ultraGrid1.PerformAction(UltraGridAction.EnterEditMode, false, false);&lt;br /&gt;        }&lt;br /&gt;How to Get the Object that Bind to The grid current Row&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;1.((object)BindingContext[ultraGrid1.DataSource].Current); Or&lt;br /&gt;2.ultraGrid1.ActiveRow.ListObject&lt;br /&gt;How to for a Cell to be a multiline Text and have scrollbar and always prompt when edit mode?&lt;br /&gt;--------------------------------------------------------&lt;br /&gt;On Initialize Layout&lt;br /&gt;ultraGrid1.DisplayLayout.Bands[0].Columns["Description"].CellMultiLine = DefaultableBoolean.True;&lt;br /&gt;ultraGrid1.DisplayLayout.Bands[0].Columns["Description"].VertScrollBar = true;&lt;br /&gt;e.Layout.ScrollStyle = ScrollStyle.Immediate;&lt;br /&gt;How to Process Data from ClipBoard or Ctrl+C&lt;br /&gt;--------------------------------------------&lt;br /&gt;on Key Down.&lt;br /&gt;switch (e.KeyData)&lt;br /&gt;            { &lt;br /&gt;                case Keys.Control|Keys.V:&lt;br /&gt;                    this.ProcessData();&lt;br /&gt;On ProcessData&lt;br /&gt;DataObject o = Clipboard.GetDataObject() as DataObject;&lt;br /&gt;if (!o.GetDataPresent("Text")) return; //Make sure we have Clipboard text&lt;br /&gt;string theClipboardText = (string)o.GetData("Text", true);&lt;br /&gt;How to Resize?&lt;br /&gt;---------------&lt;br /&gt;1.ultraGrid1.Rows.Band.Columns[1].PerformAutoResize();&lt;br /&gt;2.AutoFitStyle&lt;br /&gt;How to Validate Each Cell in row before leaving?&lt;br /&gt;-------------------------------------------------&lt;br /&gt;OnLast Cell key press refer to&lt;br /&gt; private bool ValidateAllCellinRow()&lt;br /&gt;        {&lt;br /&gt;            CellsCollection allcell = ultraGrid1.ActiveRow.Cells;&lt;br /&gt;            foreach (UltraGridCell tmp in allcell)&lt;br /&gt;            {&lt;br /&gt;                if (tmp.Text == "" )&lt;br /&gt;                {&lt;br /&gt;                    MessageBox.Show(tmp.Column.Key + " May not be empty");&lt;br /&gt;                    ultraGrid1.ActiveRow.Cells[tmp.Column.Key].Activate();&lt;br /&gt;                    ultraGrid1.PerformAction(UltraGridAction.EnterEditMode, false, false);&lt;br /&gt;                    return false;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            return true;&lt;br /&gt;        }&lt;br /&gt;how to delete silently&lt;br /&gt;--------------------------&lt;br /&gt;ultraGrid1.ActiveRow.Delete(false);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7936179613456898528?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7936179613456898528/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7936179613456898528' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7936179613456898528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7936179613456898528'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/infragistic-ultragrid.html' title='Infragistic UltraGrid'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2991847408542970494</id><published>2008-01-24T23:03:00.000-08:00</published><updated>2008-01-24T23:09:26.283-08:00</updated><title type='text'>Linq to SQL</title><content type='html'>well it's my first post on linq to SQL.&lt;br /&gt;after several days using it.&lt;br /&gt;Hmmm&lt;br /&gt;i found it quite intersesting&lt;br /&gt;By default&lt;br /&gt;it generate's everything(table,storeproc) that u click drag to the dbml&lt;br /&gt;including store procedure(will be come a method in our vs)..&lt;br /&gt;&lt;br /&gt;Hmmm.. i'm trying to bind ienumerable to infragistic grid, and it's a mess...&lt;br /&gt;some table display valid some hang out. guess the datatable is the solution for binding or Customized through ultra data source&lt;br /&gt;&lt;br /&gt;u can combine with extension or, just add your additional method to your object.&lt;br /&gt;by default linq is optimistic concurrency.&lt;br /&gt;meaning that if on multi user environment,when a user trying to update or delete a row which has been changed by other user it throws exception.&lt;br /&gt;&lt;br /&gt;Using transaction in linq to sql :&lt;br /&gt;http://blogs.msdn.com/wriju/archive/2007/08/06/linq-to-sql-using-transaction.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2991847408542970494?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2991847408542970494/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2991847408542970494' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2991847408542970494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2991847408542970494'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/linq-to-sql.html' title='Linq to SQL'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-9172716580864869653</id><published>2008-01-24T00:16:00.000-08:00</published><updated>2008-01-24T00:31:43.988-08:00</updated><title type='text'>Expression Math In String to Double</title><content type='html'>is there a time in your programming life when you meet such as changing &lt;br /&gt;your math expression string x="3,14*(5^2)+(10^2)" like that or etc.&lt;br /&gt;than what you need is an engine expression parser&lt;br /&gt;&lt;br /&gt;May be below link can help and make life easier.&lt;br /&gt;:)&lt;br /&gt;&lt;br /&gt;http://www.c-sharpcorner.com/uploadfile/patricklundin/mathexpparser12062005062213am/mathexpparser.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-9172716580864869653?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/9172716580864869653/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=9172716580864869653' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/9172716580864869653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/9172716580864869653'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/expression-math-in-string-to-double.html' title='Expression Math In String to Double'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8691702469231826923</id><published>2008-01-22T19:46:00.000-08:00</published><updated>2008-01-22T19:48:38.631-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bug'/><title type='text'>The class name '?' is not a valid identifier for this language</title><content type='html'>This error can happen to the form designer&lt;br /&gt;just close the visual studio 2008 and open it again&lt;br /&gt;it will vanish&lt;br /&gt;http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=248764&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8691702469231826923?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8691702469231826923/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8691702469231826923' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8691702469231826923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8691702469231826923'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/class-name-is-not-valid-identifier-for.html' title='The class name &apos;?&apos; is not a valid identifier for this language'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8456547944040348119</id><published>2008-01-14T22:17:00.000-08:00</published><updated>2008-01-14T22:21:59.761-08:00</updated><title type='text'>Codesmith.Data , Rules, Rules.validation And</title><content type='html'>if you are using plinq the latest one&lt;br /&gt;and could not compile the codesmith.data Because &lt;br /&gt;changedObjects.AddedEntities&lt;br /&gt;changedObjects.ModifiedEntities&lt;br /&gt;changedObjects.RemovedEntities&lt;br /&gt;&lt;br /&gt;Change to&lt;br /&gt;changedObjects.Inserts&lt;br /&gt;changedObjects.Updates&lt;br /&gt;changedObjects.Deletes&lt;br /&gt;&lt;br /&gt;Respectively.&lt;br /&gt;And it should run now&lt;br /&gt;add reference to the misssing Codesmith.data it includes all to the rules etc.&lt;br /&gt;&lt;br /&gt;and also notice to change the DBML generated by codesmith, change the Encoding to utf-8 instead of utd-16&lt;br /&gt;&lt;br /&gt;HOpe this help who are needed&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8456547944040348119?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8456547944040348119/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8456547944040348119' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8456547944040348119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8456547944040348119'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2008/01/codesmithdata-rules-rulesvalidation-and.html' title='Codesmith.Data , Rules, Rules.validation And'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2019570953895384373</id><published>2007-12-20T19:27:00.001-08:00</published><updated>2007-12-20T19:27:32.100-08:00</updated><title type='text'>C# 3.0 Partial Method Ex</title><content type='html'>&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System.Collections.Generic;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System.Text;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;namespace&lt;/font&gt;&lt;font size="2"&gt; PartialMethod&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Program&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;partial&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MypartialClass&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{ &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;partial&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; MypartialMethod();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; CallPartialMethod()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;MypartialMethod();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;partial&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MypartialClass&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;partial&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; MypartialMethod()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Console&lt;/font&gt;&lt;font size="2"&gt;.WriteLine(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;"Ronde kedua, baru di declare , belakangan"&lt;/font&gt;&lt;font size="2"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; Main(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt;[] args)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MypartialClass&lt;/font&gt;&lt;font size="2"&gt; test = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MypartialClass&lt;/font&gt;&lt;font size="2"&gt;();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;test.CallPartialMethod();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Console&lt;/font&gt;&lt;font size="2"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2019570953895384373?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2019570953895384373/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2019570953895384373' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2019570953895384373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2019570953895384373'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/12/c-30-partial-method-ex.html' title='C# 3.0 Partial Method Ex'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-864542815837521270</id><published>2007-12-18T23:12:00.001-08:00</published><updated>2007-12-18T23:12:39.072-08:00</updated><title type='text'>4 Ways declaring bool parameter , the last one is for c#3.0</title><content type='html'>&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;this reference from msdn blog&lt;/p&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System.Collections.Generic;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System.Text;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System.IO;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;&lt;p&gt;namespace&lt;/font&gt;&lt;font size="2"&gt; ConsoleApplication1&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Program&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Flags&lt;/font&gt;&lt;font size="2"&gt;]&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;enum&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOptions&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Email = 0x1,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PhoneNumber = 0x2,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Both = (Email | PhoneNumber),&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; Main(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt;[] args)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;User&lt;/font&gt;&lt;font size="2"&gt; user=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;User&lt;/font&gt;&lt;font size="2"&gt;();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;TextWriter&lt;/font&gt;&lt;font size="2"&gt; stream=&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//cara 1&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;DisplayUser1(user, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Console&lt;/font&gt;&lt;font size="2"&gt;.Out, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;/*displayEmail*/&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;/*displayPhoneNumber*/&lt;/font&gt;&lt;font size="2"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//cara 2&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;DisplayUser2(user, stream, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOptions&lt;/font&gt;&lt;font size="2"&gt;.Email);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//cara 3 &lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//More readable but much more verbose(panjang kata2nya)&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOption&lt;/font&gt;&lt;font size="2"&gt; options = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOption&lt;/font&gt;&lt;font size="2"&gt;();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;options.Email = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;options.PhoneNumber = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;font size="2"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;DisplayUser3(user, stream,options);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//Cara 4 di C#3.0 bisa pake object initializers&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;DisplayUser3(user, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Console&lt;/font&gt;&lt;font size="2"&gt;.Out, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOption&lt;/font&gt;&lt;font size="2"&gt; { Email = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;, PhoneNumber = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;font size="2"&gt; });&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; DisplayUser1(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;User&lt;/font&gt;&lt;font size="2"&gt; user, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;TextWriter&lt;/font&gt;&lt;font size="2"&gt; stream, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;bool&lt;/font&gt;&lt;font size="2"&gt; displayEmail, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;bool&lt;/font&gt;&lt;font size="2"&gt; displayPhoneNumber)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{ &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; DisplayUser2(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;User&lt;/font&gt;&lt;font size="2"&gt; user, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;TextWriter&lt;/font&gt;&lt;font size="2"&gt; stream, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOptions&lt;/font&gt;&lt;font size="2"&gt; options)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{ }&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; DisplayUser3(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;User&lt;/font&gt;&lt;font size="2"&gt; user, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;TextWriter&lt;/font&gt;&lt;font size="2"&gt; stream, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOption&lt;/font&gt;&lt;font size="2"&gt; options)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{ }&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;class&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;User&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{ }&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;struct&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DisplayUserOption&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;bool&lt;/font&gt;&lt;font size="2"&gt; Email;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;bool&lt;/font&gt;&lt;font size="2"&gt; PhoneNumber;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-864542815837521270?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/864542815837521270/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=864542815837521270' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/864542815837521270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/864542815837521270'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/12/4-ways-declaring-bool-parameter-last.html' title='4 Ways declaring bool parameter , the last one is for c#3.0'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6635322985261037083</id><published>2007-12-09T23:11:00.000-08:00</published><updated>2007-12-09T23:13:21.753-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Design Patter'/><title type='text'>Decorative Pattern</title><content type='html'>The most Inner object , Pass the operation to outer object and so on.&lt;br /&gt;This is a nice pattern approach.&lt;br /&gt;here an example&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;namespace StarbuzzCoffee&lt;br /&gt;{&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            Beverage beverage = new Espresso();&lt;br /&gt;            beverage = new Mocca(beverage);&lt;br /&gt;            Console.WriteLine("{0} {1}", beverage.Getdescription(), beverage.Cost());&lt;br /&gt;&lt;br /&gt;            Beverage beverage2 = new Darkroast();&lt;br /&gt;            //the pattern is this is inheritance&lt;br /&gt;            //so the most inner object return the cost, the outer return + the inner&lt;br /&gt;            //and so on and so on till outside&lt;br /&gt;            beverage2 = new Mocca(beverage2);//see it change the base desc and &lt;br /&gt;            beverage2 = new Mocca(beverage2);//double mocha&lt;br /&gt;            Console.WriteLine(beverage2.description + " " + beverage2.Cost());&lt;br /&gt;            Console.ReadLine();&lt;br /&gt;           &lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    public abstract class Beverage&lt;br /&gt;    {&lt;br /&gt;        public string description="unknown beverage";&lt;br /&gt;        public virtual  string Getdescription()&lt;br /&gt;        {&lt;br /&gt;            return description;&lt;br /&gt;        }&lt;br /&gt;        public abstract double Cost();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    //public  abstract  class  CondimentDecorator : Beverage&lt;br /&gt;    //{&lt;br /&gt;    //    public abstract string Getdescription();&lt;br /&gt;    //}&lt;br /&gt;    public  class  Espresso : Beverage&lt;br /&gt;    {&lt;br /&gt;        public  Espresso()&lt;br /&gt;        {&lt;br /&gt;            description = "Espresso";&lt;br /&gt;        }&lt;br /&gt;        public override double Cost()&lt;br /&gt;        {&lt;br /&gt;            return 1.99;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public class Darkroast : Beverage&lt;br /&gt;    {&lt;br /&gt;        public Darkroast()&lt;br /&gt;        {&lt;br /&gt;            description = "Darkroast";&lt;br /&gt;        }&lt;br /&gt;        public override double Cost()&lt;br /&gt;        {&lt;br /&gt;            return .22;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public class Houseblend : Beverage&lt;br /&gt;    {&lt;br /&gt;        public Houseblend()&lt;br /&gt;        {&lt;br /&gt;            description = "Houseblend";&lt;br /&gt;        }&lt;br /&gt;        public override double Cost()&lt;br /&gt;        {&lt;br /&gt;            return .89;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    public  class  Mocca: Beverage&lt;br /&gt;    {&lt;br /&gt;        private Beverage beverage;&lt;br /&gt;        public  Mocca(Beverage theBevarage)&lt;br /&gt;        {&lt;br /&gt;            beverage = theBevarage;&lt;br /&gt; &lt;br /&gt;        }&lt;br /&gt;        public override string Getdescription()&lt;br /&gt;        {&lt;br /&gt;            return beverage.Getdescription() + ",Mocha"; &lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public override double Cost()&lt;br /&gt;        {&lt;br /&gt;            return .20 + beverage.Cost();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6635322985261037083?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6635322985261037083/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6635322985261037083' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6635322985261037083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6635322985261037083'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/12/decorative-pattern.html' title='Decorative Pattern'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-3506476801413091255</id><published>2007-12-06T22:33:00.001-08:00</published><updated>2007-12-06T22:33:01.171-08:00</updated><title type='text'>Generic Constraint</title><content type='html'>&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System.Windows.Forms;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;namespace&lt;/font&gt;&lt;font size="3"&gt; Generic101&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;partial&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Form1&lt;/font&gt;&lt;font size="3"&gt; : &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Form&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; Form1()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;InitializeComponent();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;private&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Form1_Load(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;object&lt;/font&gt;&lt;font size="3"&gt; sender, &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;EventArgs&lt;/font&gt;&lt;font size="3"&gt; e)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Testclass&lt;/font&gt;&lt;font size="3"&gt; testdoang = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Testclass&lt;/font&gt;&lt;font size="3"&gt;();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;MethodA(testdoang);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;MethodB(testdoang);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;TestClass&lt;/font&gt;&lt;font size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Chubby&lt;/font&gt;&lt;font size="3"&gt;&amp;gt; damn = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;TestClass&lt;/font&gt;&lt;font size="3"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Chubby&lt;/font&gt;&lt;font size="3"&gt;&amp;gt;();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; MethodA&amp;lt;I&amp;gt;(I parameter1) &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;where&lt;/font&gt;&lt;font size="3"&gt; I : &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;IComparable&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;parameter1.CompareTo(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;this&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; MethodB(&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;IComparable&lt;/font&gt;&lt;font size="3"&gt; param1) &lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;param1.CompareTo(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;this&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Testclass&lt;/font&gt;&lt;font size="3"&gt;: &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;IComparable&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#region&lt;/font&gt;&lt;font size="3"&gt; IComparable Members&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; CompareTo(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;object&lt;/font&gt;&lt;font size="3"&gt; obj)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;throw&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Exception&lt;/font&gt;&lt;font size="3"&gt;(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"The method or operation is not implemented."&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#endregion&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;interface&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;A&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method1();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method2();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;interface&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;B&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method1();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method3();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method4();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;C&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method1()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method3(){}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;TestClass&lt;/font&gt;&lt;font size="3"&gt;&amp;lt;T&amp;gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;where&lt;/font&gt;&lt;font size="3"&gt; T:&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;C&lt;/font&gt;&lt;font size="3"&gt;,&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;A&lt;/font&gt;&lt;font size="3"&gt;,&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;B&lt;/font&gt;&lt;font size="3"&gt;,&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt;()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; TestClass()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;T aclass=&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; T();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;aclass.method1();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;aclass.method2();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;aclass.method3();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;aclass.method4();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Chubby&lt;/font&gt;&lt;font size="3"&gt;: &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;C&lt;/font&gt;&lt;font size="3"&gt;,&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;A&lt;/font&gt;&lt;font size="3"&gt;,&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;B&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; Chubby()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method1()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method3()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{ }&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method2()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; method4()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// throw new NotImplementedException();&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-3506476801413091255?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/3506476801413091255/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=3506476801413091255' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/3506476801413091255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/3506476801413091255'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/12/generic-constraint.html' title='Generic Constraint'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1006862218676301338</id><published>2007-11-23T00:48:00.001-08:00</published><updated>2007-11-23T00:48:20.988-08:00</updated><title type='text'>Jawaban Quiz PT.Gudang informatika</title><content type='html'>&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System.Collections.Generic;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System.Text;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;namespace&lt;/font&gt;&lt;font size="3"&gt; ConsoleApplication6&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Program&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; maxangka = 999;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; AlphabetMax = 90;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; AlphabetMin = 65;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Main(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt;[] args)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// SoalNo1();&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//Alphabet 65-90&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;SoalNo1();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;SoalNo2(000);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; SoalNo2(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; angkanya)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (angkanya &amp;lt;= 999+3)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (angkanya &amp;lt;= maxangka)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; tmpstr = angkanya.ToString().PadLeft(3, &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"0"&lt;/font&gt;&lt;font size="3"&gt;));&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne(65);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(tmpstr);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;","&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (angkanya==1000)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne2(66);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (angkanya == 1001)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne3(66);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (angkanya == 1002)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne4(66);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;SoalNo2(angkanya + 1);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; PrintHurufOnebyOne(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; huruf)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (huruf &amp;gt;= 65 &amp;amp;&amp;amp; huruf &amp;lt;= 90)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;char&lt;/font&gt;&lt;font size="3"&gt; theletter = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(huruf);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; tmpstr = theletter.ToString().PadLeft(3, &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"A"&lt;/font&gt;&lt;font size="3"&gt;));&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(tmpstr);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; PrintHurufOnebyOne2(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; huruf)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (huruf &amp;gt; 65 &amp;amp;&amp;amp; huruf &amp;lt;= 90)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;char&lt;/font&gt;&lt;font size="3"&gt; theletter = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(huruf);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; tmpstr = &lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"AA"&lt;/font&gt;&lt;font size="3"&gt; + theletter.ToString();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(tmpstr);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"999"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;","&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne2(huruf + 1);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; PrintHurufOnebyOne3(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; huruf)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (huruf &amp;gt; 65 &amp;amp;&amp;amp; huruf &amp;lt;= 90)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;char&lt;/font&gt;&lt;font size="3"&gt; theletter = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(huruf);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;char&lt;/font&gt;&lt;font size="3"&gt; minalphabet = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(AlphabetMin);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;char&lt;/font&gt;&lt;font size="3"&gt; maxalphabet = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(AlphabetMax);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; tmpstr = minalphabet.ToString() + theletter.ToString() + maxalphabet.ToString();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(tmpstr);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"999"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;","&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne3(huruf + 1);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; PrintHurufOnebyOne4(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; huruf)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (huruf &amp;gt; 65 &amp;amp;&amp;amp; huruf &amp;lt;= 90)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;char&lt;/font&gt;&lt;font size="3"&gt; theletter = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(huruf);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; tmpstr = theletter.ToString().PadRight(3, &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Convert&lt;/font&gt;&lt;font size="3"&gt;.ToChar(AlphabetMax));&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(tmpstr);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"999"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;","&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;PrintHurufOnebyOne4(huruf + 1);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;private&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; SoalNo1()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; @switch = 5;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; banding = @switch;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; max = 1000;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; delimiter = &lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"*"&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;for&lt;/font&gt;&lt;font size="3"&gt; (&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; a = 1; a &amp;lt;= 1000; a++)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(a);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (a == banding)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; coba = (@switch == 3) ? @switch = 5 : @switch = 3;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(delimiter);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;banding += @switch;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1006862218676301338?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1006862218676301338/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1006862218676301338' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1006862218676301338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1006862218676301338'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/jawaban-quiz-ptgudang-informatika.html' title='Jawaban Quiz PT.Gudang informatika'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-5393869672964383505</id><published>2007-11-19T20:51:00.001-08:00</published><updated>2007-11-19T20:51:11.703-08:00</updated><title type='text'>Verbatim</title><content type='html'>&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Verbatim&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Main()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//all the preceding after @ is not treated as escape character&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; fileLocation = &lt;/font&gt;&lt;font color="#a31515" size="3"&gt;@"c:\datafile.txt"&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.WriteLine(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"File is located at {0}"&lt;/font&gt;&lt;font size="3"&gt;,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;fileLocation);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//booking a word in all the words already booked in c#&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; @for = 12;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.WriteLine(@for.ToString());&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-5393869672964383505?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/5393869672964383505/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=5393869672964383505' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5393869672964383505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5393869672964383505'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/verbatim.html' title='Verbatim'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6592496019351754536</id><published>2007-11-19T20:45:00.001-08:00</published><updated>2007-11-19T20:45:32.579-08:00</updated><title type='text'>Escape Characters</title><content type='html'>&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;namespace&lt;/font&gt;&lt;font size="3"&gt; PreProcessorsDirective&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Class1&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;HelloWorld&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Main()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"\u0048\u0065\u006C\u006C\u006f\n"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.Write(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"\x77\x6F\x72\x6c\x64\x21\b"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6592496019351754536?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6592496019351754536/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6592496019351754536' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6592496019351754536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6592496019351754536'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/escape-characters.html' title='Escape Characters'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6171703373702747222</id><published>2007-11-19T20:44:00.001-08:00</published><updated>2007-11-19T20:44:56.522-08:00</updated><title type='text'>Numeric Literal and Hexadecimal</title><content type='html'>&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;NumericLiteral&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Main()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//numeric literal&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;float&lt;/font&gt;&lt;font size="3"&gt; unitprice = 123.45F;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;double&lt;/font&gt;&lt;font size="3"&gt; cobacoba = 3.256;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;decimal&lt;/font&gt;&lt;font size="3"&gt; coba2 = 3.256M;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//hexadecimal&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; sixteen = 16;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; sixteeninDecimal = 0x10;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// end of mt940 msg is char(0x1A)&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// if (line.Length == 1 &amp;amp;&amp;amp; line[0] == 0x1A)&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//0x1A equals 26 &lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6171703373702747222?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6171703373702747222/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6171703373702747222' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6171703373702747222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6171703373702747222'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/numeric-literal-and-hexadecimal.html' title='Numeric Literal and Hexadecimal'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-5757193913161383688</id><published>2007-11-19T20:42:00.001-08:00</published><updated>2007-11-19T20:42:18.106-08:00</updated><title type='text'>PreProcessorsDirective</title><content type='html'>&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#define&lt;/font&gt;&lt;font size="3"&gt; debugging&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System.Collections.Generic;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;using&lt;/font&gt;&lt;font size="3"&gt; System.Text;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;namespace&lt;/font&gt;&lt;font size="3"&gt; PreProcessorsDirective&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;class&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font size="3"&gt;&lt;font color="#2b91af"&gt;PreProcessorsDirective&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#if&lt;/font&gt;&lt;font size="3"&gt; debugging&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Write()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.WriteLine(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"Debugging.&amp;gt;&amp;gt;"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#endif&lt;/font&gt;&lt;font size="3"&gt; &lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#pragma&lt;/font&gt;&lt;font size="3"&gt; warning disable 219&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#line&lt;/font&gt;&lt;font size="3"&gt; 10&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; Main(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt;[] args)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;int&lt;/font&gt;&lt;font size="3"&gt; a = 5; &lt;/font&gt;&lt;font color="#008000" size="3"&gt;//219 Warning&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#if&lt;/font&gt;&lt;font size="3"&gt; debugging&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Write();&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;&lt;br /&gt;&lt;p&gt;#endif&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-5757193913161383688?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/5757193913161383688/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=5757193913161383688' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5757193913161383688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5757193913161383688'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/preprocessorsdirective.html' title='PreProcessorsDirective'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1570346330568802561</id><published>2007-11-19T18:19:00.000-08:00</published><updated>2007-11-19T18:50:08.637-08:00</updated><title type='text'>Garbage Collector</title><content type='html'>Now i won't deal with the theory.&lt;br /&gt;just a brief look on code.&lt;br /&gt;To force GC to collect the candidate to dispose&lt;br /&gt;&lt;br /&gt;GC.collect();&lt;br /&gt;&lt;br /&gt;GC.WaitForPendingFinalizers();&lt;br /&gt;This will make GC wait for all of the finalizer of every suspected object to be called&lt;br /&gt;&lt;br /&gt;You can override finalizer with short key ~&lt;br /&gt;~thenameoffinalizer()&lt;br /&gt;{&lt;br /&gt;//do something&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The right thing to write on the so When calling finalizer also call dispose&lt;br /&gt;~Thing() &lt;br /&gt;{ &lt;br /&gt;    Dispose();&lt;br /&gt;    //Do something on finalizer&lt;br /&gt;}&lt;br /&gt;can do try catch, if error register again to finalize with this command&lt;br /&gt; GC.ReRegisterForFinalize(t);&lt;br /&gt;&lt;br /&gt;There are also to check the total memory method on GC.&lt;br /&gt;long G =GC.GetTotalMemory(true);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1570346330568802561?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1570346330568802561/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1570346330568802561' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1570346330568802561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1570346330568802561'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/garbage-collector.html' title='Garbage Collector'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2298688026988601548</id><published>2007-11-16T00:50:00.000-08:00</published><updated>2007-11-16T01:06:37.483-08:00</updated><title type='text'>Live from Lumpur Lapindo, Sidoarjo</title><content type='html'>I've gone to this Lumpur lapindo, at porong sidoarjo.penulis adalah org jkt yang hanya mendengar dari berita sblmnya.&lt;br /&gt;sekarang tempat ini sudah menjadi tempat wisata. parkir motor 2000, masuk 3000/org.&lt;br /&gt;disana pada tepian pertama anda akan melihat 2 atau 3 kolam besar di bawah anda. ada yang satu kolam itu sudah menjadi keras, seperti tanah kering retak2.dan anda lihat &lt;br /&gt;ada penangkal2 petir , ujung tiang masjid.2 atau 3 desa lenyap di bawah kolam itu. lalu dgn membayar 10.000 anda di antar ke 2 titik, ke kolam utama dan ke sebelah kanan, tempat semburan baru. di Tempat semburan baru.. anda lihat gelembung2 . "Semenjak bola2 beton di lemparkan ke pusat semburan, tanah itu kan seperti rongga, jadi malah di kolam2 bawahnya terjadi pusat semburan baru(blub blub blup)" keterangan tour guide.&lt;br /&gt;Tour guide juga menunjukkan rumah Marsina kasus marsina yg memperjuangkan hak teman2nya dan ditembak oleh TNI "mungkin ini pembalasan Marsina" ,cetus tourguide.Juga ada rumah doyok yang tenggelam.&lt;br /&gt;di samping kiri kolam utama anda lihat bahwa tanggulnya jebol, atas nya keras tapi tengah2 mengalir terus lumpurnya dan juga Pipa AWAL yang jebol/meledak, asal mula lumpur. "LUMPUR INI AKAN TERUS MENGALIR 30 tahun lagi"&lt;br /&gt;Sepanjang jalan porong kini sudah seperti Kota hantu, tidak berpenghuni , bank2 tidak beroperasi dan Flyover jalan tol di hancurkan, dan bau belerang / sulfur di mana2.&lt;br /&gt;semua tanah di sana di black list gak bisa jadi pinjaman.&lt;br /&gt;Menurut tour guide yg jg adlh warga sidoarjo yg menjadi korban, "Banyak warga yang sudah mati Karena stress , terutama yang tua2".&lt;br /&gt;&lt;br /&gt;rencana ingin dialirkan ke kali porong diprotes warga, bygkan. . .kalo masuk ke kali&lt;br /&gt;&lt;br /&gt;Kemanakah akan dialirkan lumpur ini?? 30 tahun lagi?&lt;br /&gt;Berduka untuk Porong . . . .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2298688026988601548?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2298688026988601548/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2298688026988601548' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2298688026988601548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2298688026988601548'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/live-from-lumpur-lapindo-sidoarjo.html' title='Live from Lumpur Lapindo, Sidoarjo'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1331767920426407705</id><published>2007-11-16T00:24:00.000-08:00</published><updated>2007-11-16T00:27:48.255-08:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_qAGLkVrx-p8/Rz1UXjZ5zkI/AAAAAAAAAAk/omBmcU50H1Q/s1600-h/cipto1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_qAGLkVrx-p8/Rz1UXjZ5zkI/AAAAAAAAAAk/omBmcU50H1Q/s320/cipto1.jpg" alt="" id="BLOGGER_PHOTO_ID_5133351913889844802" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1331767920426407705?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1331767920426407705/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1331767920426407705' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1331767920426407705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1331767920426407705'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/blog-post.html' title=''/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_qAGLkVrx-p8/Rz1UXjZ5zkI/AAAAAAAAAAk/omBmcU50H1Q/s72-c/cipto1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-229404940686015833</id><published>2007-11-15T23:39:00.001-08:00</published><updated>2007-11-15T23:39:57.195-08:00</updated><title type='text'>Code Generator Example</title><content type='html'>&lt;font color="#008000" size="3"&gt;&lt;br /&gt;&lt;p&gt;// Set up our assembly and module builders:&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; outFilename = &lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"foo.exe"&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;AssemblyBuilder&lt;/font&gt;&lt;font size="3"&gt; ab = &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;AppDomain&lt;/font&gt;&lt;font size="3"&gt;.CurrentDomain.DefineDynamicAssembly(&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;AssemblyName&lt;/font&gt;&lt;font size="3"&gt;(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"foo"&lt;/font&gt;&lt;font size="3"&gt;), &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;AssemblyBuilderAccess&lt;/font&gt;&lt;font size="3"&gt;.Save,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;AppDomain&lt;/font&gt;&lt;font size="3"&gt;.CurrentDomain.Evidence);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;ModuleBuilder&lt;/font&gt;&lt;font size="3"&gt; mb = ab.DefineDynamicModule(ab.FullName, outFilename, &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;false&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// Create a simple type with one method:&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;TypeBuilder&lt;/font&gt;&lt;font size="3"&gt; tb = mb.DefineType(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"Program"&lt;/font&gt;&lt;font size="3"&gt;,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;TypeAttributes&lt;/font&gt;&lt;font size="3"&gt;.Public | &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;TypeAttributes&lt;/font&gt;&lt;font size="3"&gt;.Sealed, &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;typeof&lt;/font&gt;&lt;font size="3"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;object&lt;/font&gt;&lt;font size="3"&gt;));&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;MethodBuilder&lt;/font&gt;&lt;font size="3"&gt; m = tb.DefineMethod(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"MyMethod"&lt;/font&gt;&lt;font size="3"&gt;,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;MethodAttributes&lt;/font&gt;&lt;font size="3"&gt;.Public | &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;MethodAttributes&lt;/font&gt;&lt;font size="3"&gt;.Static);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// Now emit some very simple "Hello World" code:&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;ILGenerator&lt;/font&gt;&lt;font size="3"&gt; ilg = m.GetILGenerator();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ilg.Emit(&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;OpCodes&lt;/font&gt;&lt;font size="3"&gt;.Ldstr, &lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"Hello, World!"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ilg.Emit(&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;OpCodes&lt;/font&gt;&lt;font size="3"&gt;.Call,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;typeof&lt;/font&gt;&lt;font size="3"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;).GetMethod(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"WriteLine"&lt;/font&gt;&lt;font size="3"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Type&lt;/font&gt;&lt;font size="3"&gt;[] { &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;typeof&lt;/font&gt;&lt;font size="3"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt;) }));&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ilg.Emit(&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;OpCodes&lt;/font&gt;&lt;font size="3"&gt;.Ret);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;// Lastly, create the type, set our entry point, and save to disk:&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;tb.CreateType();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ab.SetEntryPoint(m);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ab.Save(outFilename);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For all of you who have example on LGC for 2.0 Please Post!!!&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-229404940686015833?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/229404940686015833/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=229404940686015833' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/229404940686015833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/229404940686015833'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/code-generator-example.html' title='Code Generator Example'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8647343851007848325</id><published>2007-11-15T23:38:00.001-08:00</published><updated>2007-11-15T23:38:13.324-08:00</updated><title type='text'>Drag n Drop on Control</title><content type='html'>&lt;p&gt;Set the control property Allowdrop=true.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When mouse down thecontrol.Dodragdrop(object,DragdropEffectsEnum)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;DragdropEffects.Copy | Move | ALL | None | Link | Scroll&lt;/p&gt;&lt;br /&gt;&lt;p&gt;and then on the control that you want to drop&lt;/p&gt;&lt;br /&gt;&lt;p&gt;put the logic on Drag Enter&amp;nbsp;And Drag Drop&lt;/p&gt;&lt;br /&gt;&lt;p&gt;set the drag enter e.effect&lt;/p&gt;&lt;br /&gt;&lt;p&gt;and put the logic when data is drop.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8647343851007848325?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8647343851007848325/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8647343851007848325' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8647343851007848325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8647343851007848325'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/drag-n-drop-on-control.html' title='Drag n Drop on Control'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6767257933516317050</id><published>2007-11-14T23:51:00.001-08:00</published><updated>2007-11-14T23:51:31.948-08:00</updated><title type='text'>Validating XML with DTD or XSD</title><content type='html'>&lt;p&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; ValidateXMLagainstDTD(&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Stream&lt;/font&gt;&lt;font size="3"&gt; thestream)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;XmlTextReader reader = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; XmlTextReader(thestream);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;XmlValidatingReader validator = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; XmlValidatingReader(reader);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;validator.ValidationType = ValidationType.DTD;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;validator.ValidationEventHandler += &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; ValidationEventHandler(DTDValidationEventHandler);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;while&lt;/font&gt;&lt;font size="3"&gt; (validator.Read())&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{ &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//add something logical here&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;validator.Close();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;if&lt;/font&gt;&lt;font size="3"&gt; (Isvalid)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.WriteLine(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"Document is valid"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;else&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.WriteLine(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"Document is Invalid"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.ReadLine();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;void&lt;/font&gt;&lt;font size="3"&gt; DTDValidationEventHandler(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;object&lt;/font&gt;&lt;font size="3"&gt; sender,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ValidationEventArgs args)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;this&lt;/font&gt;&lt;font size="3"&gt;.Isvalid = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;false&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Console&lt;/font&gt;&lt;font size="3"&gt;.WriteLine(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"Validation event\n"&lt;/font&gt;&lt;font size="3"&gt; + args.Message);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6767257933516317050?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6767257933516317050/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6767257933516317050' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6767257933516317050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6767257933516317050'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/validating-xml-with-dtd-or-xsd.html' title='Validating XML with DTD or XSD'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8036083069525641438</id><published>2007-11-14T23:46:00.001-08:00</published><updated>2007-11-14T23:46:51.448-08:00</updated><title type='text'>Create XML through XmlWriterSettings =&gt; the fastest,efficient way
instead using DOM</title><content type='html'>&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;public&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;static&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;MemoryStream&lt;/font&gt;&lt;font size="3"&gt; CreateXMltoStream(&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; emailsubject,&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; emailfrom,&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;string&lt;/font&gt;&lt;font size="3"&gt; emailto)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;MemoryStream&lt;/font&gt;&lt;font size="3"&gt; stream=&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;MemoryStream&lt;/font&gt;&lt;font size="3"&gt;();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;XmlWriterSettings thesettings = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;new&lt;/font&gt;&lt;font size="3"&gt; XmlWriterSettings();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//writing to stream default is UTF8&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Encoding&lt;/font&gt;&lt;font size="3"&gt; x=System.Text.&lt;/font&gt;&lt;font color="#2b91af" size="3"&gt;Encoding&lt;/font&gt;&lt;font size="3"&gt;.GetEncoding(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"ISO-8859-1"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;thesettings.Encoding = x;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;thesettings.Indent = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;true&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//Write the header&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;thesettings.OmitXmlDeclaration = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;false&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;thesettings.NewLineOnAttributes = &lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;true&lt;/font&gt;&lt;font size="3"&gt;;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;using&lt;/font&gt;&lt;font size="3"&gt; (XmlWriter writer = XmlWriter.Create(stream, thesettings))&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteRaw(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;@"&amp;lt;!DOCTYPE MEDVRI_1 SYSTEM ""MEDVRI_1.dtd""&amp;gt;"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteStartElement(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"MEDVRI_1"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteStartElement(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"email"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteStartElement(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"email.subject"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteValue(emailsubject);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteEndElement();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteStartElement(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"email.from"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteValue(emailfrom);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteEndElement();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteStartElement(&lt;/font&gt;&lt;font color="#a31515" size="3"&gt;"email.to"&lt;/font&gt;&lt;font size="3"&gt;);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteValue(emailto);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteEndElement();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteEndElement();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.WriteEndElement();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="3"&gt;//free the memory&lt;/p&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;p&gt;writer.Flush();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;writer.Close();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="3"&gt;return&lt;/font&gt;&lt;font size="3"&gt; stream;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8036083069525641438?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8036083069525641438/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8036083069525641438' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8036083069525641438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8036083069525641438'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/create-xml-through-xmlwritersettings.html' title='Create XML through XmlWriterSettings =&amp;gt; the fastest,efficient way&#xA;instead using DOM'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-660597034355230246</id><published>2007-11-14T23:40:00.001-08:00</published><updated>2007-11-14T23:40:36.915-08:00</updated><title type='text'>WSE 3.0</title><content type='html'>&lt;p&gt;What is the use of WSE? WSE create a filter and security policy making kind of tunnel so what ever request go to that pipeline.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;It can secure the server, and client app. make sure each of them using the correct policy. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;there are usernamepolicy , certificate policy, and you can add an authorize one. Can do a custom policy too&lt;/p&gt;&lt;br /&gt;&lt;p&gt;What is good on learning this is WSE Hands on Lab,you&amp;rsquo;ll find the basic and advanced.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-660597034355230246?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/660597034355230246/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=660597034355230246' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/660597034355230246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/660597034355230246'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/wse-30.html' title='WSE 3.0'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-5093957746893000005</id><published>2007-11-11T18:27:00.000-08:00</published><updated>2007-11-11T18:44:52.963-08:00</updated><title type='text'>List</title><content type='html'>What is actually List&lt;t&gt; , Generic or T, it means that this has not yet been bound to a type argument.What differs from List&lt;int&gt; for example, is that the List&lt;int&gt; means it has been fully constructed,each of it's parameter has been bound.&lt;br /&gt;&lt;br /&gt;Partially constructed generic type example:&lt;span style="font-family: monospace;"&gt;&lt;br /&gt;&lt;/span&gt;class StringKeyDictionary&lt;v&gt; : Dictionary&lt;string,&gt; { }&lt;br /&gt;&lt;pre class="literallayout"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-5093957746893000005?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/5093957746893000005/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=5093957746893000005' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5093957746893000005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5093957746893000005'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/list.html' title='List&lt;T&gt;'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8065372305037923130</id><published>2007-11-09T20:38:00.000-08:00</published><updated>2007-11-09T20:39:41.898-08:00</updated><title type='text'>How Does Reflection Detect This Paramater is Generic?</title><content type='html'>namespace PrintTypeParamsss&lt;br /&gt;{&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            PrintTypeparams(typeof(List&lt;&gt;));&lt;br /&gt;            PrintTypeparams(typeof(List&lt;int&gt;));&lt;br /&gt;            PrintTypeparams(typeof(Dictionary&lt;string,string&gt;));&lt;br /&gt;            PrintTypeparams(typeof(Dictionary&lt;object,object&gt;));&lt;br /&gt;            PrintTypeparams(typeof(Nullable&lt;&gt;));&lt;br /&gt;&lt;br /&gt;            Console.ReadLine();&lt;br /&gt;        }&lt;br /&gt;        static void PrintTypeparams(Type t)&lt;br /&gt;        {&lt;br /&gt;            Console.WriteLine(t.FullName);&lt;br /&gt;            foreach (Type ty in t.GetGenericArguments())&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine("--&gt; {0} {1} {2}",&lt;br /&gt;                    ty.FullName,&lt;br /&gt;                    ty.IsGenericParameter,&lt;br /&gt;                    ty.IsGenericParameter ? ty.GenericParameterPosition : 0);&lt;br /&gt;            };&lt;br /&gt;       &lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8065372305037923130?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8065372305037923130/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8065372305037923130' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8065372305037923130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8065372305037923130'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/how-does-reflection-detect-this.html' title='How Does Reflection Detect This Paramater is Generic?'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6475519760253445985</id><published>2007-11-09T19:20:00.001-08:00</published><updated>2007-11-09T19:20:24.096-08:00</updated><title type='text'>Property Info</title><content type='html'>namespace PropertyInfossss&lt;br /&gt;{&lt;br /&gt;    public class Test&lt;br /&gt;    {&lt;br /&gt;        private string _Test;&lt;br /&gt;        public string Name&lt;br /&gt;        {&lt;br /&gt;            get { return _Test; }&lt;br /&gt;            set { _Test = value; }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;      &lt;br /&gt;   &lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            PropertyInfo a=typeof(Test).GetProperty("Name");&lt;br /&gt;            Console.WriteLine("Read:" + a.CanRead + " Write:" + a.CanWrite + " Type:" + a.PropertyType);&lt;br /&gt;            MethodInfo theSetMethod = a.GetSetMethod();&lt;br /&gt;            MethodInfo theGetMethod = a.GetGetMethod();&lt;br /&gt;            MethodBody theSetMethodBody= theSetMethod.GetMethodBody();&lt;br /&gt;            MethodBody theGetMethodBody= theGetMethod.GetMethodBody();&lt;br /&gt;&lt;br /&gt;          &lt;br /&gt;        }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6475519760253445985?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6475519760253445985/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6475519760253445985' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6475519760253445985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6475519760253445985'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/property-info.html' title='Property Info'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1037304839838465699</id><published>2007-11-09T00:20:00.000-08:00</published><updated>2007-11-09T00:21:53.879-08:00</updated><title type='text'>PE and Platform Kinds</title><content type='html'>&lt;span style="font-family: arial;"&gt;Assembly a = Assembly.GetExecutingAssembly(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Module m = a.ManifestModule;  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;PortableExecutableKinds peKinds; &lt;/span&gt;&lt;a style="font-family: arial;" name="1320"&gt;&lt;/a&gt;&lt;a style="font-family: arial;" name="IDX-500"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt; ImageFileMachine imageFileMachine; m.GetPEKind(out peKinds, out imageFileMachine);&lt;/span&gt;&lt;br /&gt;&lt;pre style="font-family: arial;" class="literallayout"&gt;if ((peKinds &amp;amp; PortableExecutableKinds.ILOnly) != 0)&lt;br /&gt;{&lt;br /&gt;   // Assembly is platform independent.&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;   // assembly is platform dependent&lt;br /&gt;   switch (imageFileMachine)&lt;br /&gt;   {&lt;br /&gt;       case ImageFileMachine.I386:&lt;br /&gt;           // i386, x86, IA-32, ... dependent.&lt;br /&gt;           break;&lt;br /&gt;       case ImageFileMachine.IA64:&lt;br /&gt;           // IA-64 dependent.&lt;br /&gt;           break;&lt;br /&gt;       case ImageFileMachine.AMD64:&lt;br /&gt;           // AMD-64, x64 dependent.&lt;br /&gt;           break;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1037304839838465699?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1037304839838465699/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1037304839838465699' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1037304839838465699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1037304839838465699'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/pe-and-platform-kinds.html' title='PE and Platform Kinds'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1427950421266490160</id><published>2007-11-08T23:59:00.000-08:00</published><updated>2007-11-09T00:04:03.201-08:00</updated><title type='text'>Pepatah Kuno Dinasti Ming</title><content type='html'>Haiaa . .&lt;br /&gt;Banyak belajal banyak lupa&lt;br /&gt;Sedikit belajal sedikit lupa&lt;br /&gt;Pu yau Belajal Lupa semuanya ...&lt;br /&gt;Haiaa&lt;br /&gt;Jadi oe pili yang mana?&lt;br /&gt;Kesimpulan ini kalo dibalik????&lt;br /&gt;Belajar itu hanya Memberi kita gambaran, dan konsep, dan di halaman mana atau di buku mana atau di referensi mana.&lt;br /&gt;Tapi Praktek itu Menerapkan Apa yang kita pelajari jadi nyata.. semakin mengukuhkan apa yang ada di otak kita.&lt;br /&gt;&lt;br /&gt;Salam,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tzu she&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1427950421266490160?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1427950421266490160/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1427950421266490160' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1427950421266490160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1427950421266490160'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/pepatah-kuno-dinasti-ming.html' title='Pepatah Kuno Dinasti Ming'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-2490090298285685446</id><published>2007-11-08T23:57:00.000-08:00</published><updated>2007-11-08T23:59:35.451-08:00</updated><title type='text'>O'Desk Test</title><content type='html'>I passed the O'desk test on C# 66 or 70%&lt;br /&gt;dunno lah. . . . what's the use&lt;br /&gt;just for iseng2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-2490090298285685446?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/2490090298285685446/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=2490090298285685446' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2490090298285685446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/2490090298285685446'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/odesk-test.html' title='O&apos;Desk Test'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-5042760319017148952</id><published>2007-11-08T23:38:00.000-08:00</published><updated>2007-11-08T23:39:16.609-08:00</updated><title type='text'>Aneka makanan Reflection,Methodinfo,MethodBody,Constructorinfo</title><content type='html'>public class Cobacoba&lt;br /&gt;    {&lt;br /&gt;        private void Lemparbatu(string batunya, int jumlahnya)&lt;br /&gt;        {&lt;br /&gt;       &lt;br /&gt;        }&lt;br /&gt;        public int LemparbatuReturn(string batunya, int jumlahnya)&lt;br /&gt;        {&lt;br /&gt;            int hak = 0;&lt;br /&gt;            string tipenya = "sepatu";&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine("Lemparbatu return executed,Nilai params=&gt;batunya: {0} jumlahnya: {1}", batunya, jumlahnya);&lt;br /&gt;                return jumlahnya;&lt;br /&gt;            }&lt;br /&gt;            catch (InvalidProgramException ex)&lt;br /&gt;            {&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;            catch (ApplicationException eb)&lt;br /&gt;            { }&lt;br /&gt;            return jumlahnya;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            MethodInfo m = typeof(Cobacoba).GetMethod("LemparbatuReturn");&lt;br /&gt;            //nyari tipe return&lt;br /&gt;            Type tipereturnnya = m.ReturnType;&lt;br /&gt;            Console.WriteLine(tipereturnnya.ToString());&lt;br /&gt;            //nyari tipe parameter&lt;br /&gt;            foreach (ParameterInfo param in m.GetParameters())&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine(param.Name + " " + param.ParameterType.ToString());&lt;br /&gt;            }&lt;br /&gt;            /*this shows the invoke Member*/&lt;br /&gt;            Cobacoba ttg=new Cobacoba();&lt;br /&gt;            MethodInfo method = typeof(Cobacoba).GetMethod("LemparbatuReturn");&lt;br /&gt;            /*the usage of methodbody*/&lt;br /&gt;            MethodBody mb= method.GetMethodBody();&lt;br /&gt;            IList&lt;localvariableinfo&gt; x = mb.LocalVariables;&lt;br /&gt;            IList&lt;exceptionhandlingclause&gt; n = mb.ExceptionHandlingClauses;&lt;br /&gt;            /*the usage of Constructor Info*/&lt;br /&gt;            ConstructorInfo ci = typeof(string).GetConstructor(new Type[] { typeof(char[]) });&lt;br /&gt;            string s = (string)ci.Invoke(new object[] { new char[] { 'H', 'E', 'L', 'L', 'O' } });&lt;br /&gt;            Console.WriteLine(s);&lt;br /&gt;            Type tem = ttg.GetType();&lt;br /&gt;            string f="granit";&lt;br /&gt;            int g=3;&lt;br /&gt;            object[] t=new object[2];&lt;br /&gt;            t[0]=(Object) f;&lt;br /&gt;            t[1]=(Object) g;&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                tem.InvokeMember("LemparbatuReturn", BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Instance, null, ttg, t);&lt;br /&gt;            }&lt;br /&gt;            catch (TargetInvocationException ex)&lt;br /&gt;            {&lt;br /&gt;            //do something Here&lt;br /&gt;            }&lt;br /&gt;            Console.ReadLine();&lt;br /&gt;        }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-5042760319017148952?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/5042760319017148952/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=5042760319017148952' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5042760319017148952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5042760319017148952'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/aneka-makanan-reflectionmethodinfometho.html' title='Aneka makanan Reflection,Methodinfo,MethodBody,Constructorinfo'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8762221263913150216</id><published>2007-11-08T23:36:00.000-08:00</published><updated>2007-11-08T23:37:57.135-08:00</updated><title type='text'>Activator object and General method Instancied</title><content type='html'>public class Customer&lt;br /&gt;    {&lt;br /&gt;        string name;&lt;br /&gt;        string address;&lt;br /&gt;        int Phonenumber;&lt;br /&gt;    }&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            //this is better than d because Karena gak perlu super casting dan lebih gampang ketik&lt;br /&gt;            Customer c = Activator.CreateInstance&lt;customer&gt;();&lt;br /&gt;            //this is slower&lt;br /&gt;            Customer d = (Customer)Activator.CreateInstance(typeof(Customer));&lt;br /&gt;            Customer e=CreateandLognewobject&lt;customer&gt;("Dangdang");&lt;br /&gt;            Console.ReadLine();&lt;br /&gt;        }&lt;br /&gt;        static T CreateandLognewobject&lt;t&gt;(string s)&lt;br /&gt;       {&lt;br /&gt;           T t = Activator.CreateInstance&lt;t&gt;();&lt;br /&gt;           Console.WriteLine("Created new object '{0}' ;  {1}", t, s);&lt;br /&gt;           return t;&lt;br /&gt;       }&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8762221263913150216?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8762221263913150216/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8762221263913150216' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8762221263913150216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8762221263913150216'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/activator-object-and-general-method.html' title='Activator object and General method Instancied'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7319900102596298035</id><published>2007-11-02T01:15:00.000-07:00</published><updated>2007-11-02T01:19:34.011-07:00</updated><title type='text'>Gloria , Manukan</title><content type='html'>Ayam penyet luarbiasa garingnya&lt;br /&gt;dan enak dan lembutnya.&lt;br /&gt;dipadukan dengan Juice ALpukat yg Kental ,Ukuran gls besar,cucu coklat yg mantabs.&lt;br /&gt;Luar biasa&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7319900102596298035?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7319900102596298035/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7319900102596298035' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7319900102596298035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7319900102596298035'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/11/gloria-manukan.html' title='Gloria , Manukan'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6358989271314835331</id><published>2007-10-05T19:13:00.000-07:00</published><updated>2007-10-05T19:19:29.619-07:00</updated><title type='text'>Ansle,Bebek tugu pahlawan</title><content type='html'>Ansle - bubur kacang hijau, ada kolang kaling, kacang,kelapa&lt;br /&gt;i don't like it too much&lt;br /&gt;Bebek tugu pahlawan , Taste biasa aja masi enakan  yang deket rumah&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6358989271314835331?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6358989271314835331/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6358989271314835331' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6358989271314835331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6358989271314835331'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/10/anslebebek-tugu-pahlawan.html' title='Ansle,Bebek tugu pahlawan'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-4301345891177707967</id><published>2007-10-02T18:17:00.000-07:00</published><updated>2007-10-02T18:18:13.988-07:00</updated><title type='text'>Cabut gigi</title><content type='html'>gue cabut gigi geraham belakang kemaren&lt;br /&gt;now my teeth formation is back to shape&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-4301345891177707967?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/4301345891177707967/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=4301345891177707967' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4301345891177707967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4301345891177707967'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/10/cabut-gigi.html' title='Cabut gigi'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8029934483411150086</id><published>2007-10-02T18:16:00.000-07:00</published><updated>2007-10-02T18:17:06.692-07:00</updated><title type='text'>MIe ujung pandang</title><content type='html'>Mie dengan Daging ba , ang sio bak&lt;br /&gt;porsi jumbo 15.000&lt;br /&gt;di kedung doro&lt;br /&gt;ok juga&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8029934483411150086?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8029934483411150086/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8029934483411150086' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8029934483411150086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8029934483411150086'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/10/mie-ujung-pandang.html' title='MIe ujung pandang'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-848155318381124234</id><published>2007-09-27T18:09:00.000-07:00</published><updated>2007-09-27T18:26:15.413-07:00</updated><title type='text'>Lontong Balap</title><content type='html'>kemaren mam Lontong Balap. longtong plus kuah yang banyak &gt;?? plus kecap manis terus ada toge,tahu goreng,terus gak tau apa yang dipecahin2 itu. Dan rasanya Ok juga, layak di makan&gt; plus plus es degan&lt;br /&gt;Ok sip.&lt;br /&gt;sekalian mampir di BG junction&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-848155318381124234?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/848155318381124234/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=848155318381124234' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/848155318381124234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/848155318381124234'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/09/lontong-balap.html' title='Lontong Balap'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-5973564775852913484</id><published>2007-09-23T20:25:00.000-07:00</published><updated>2007-09-23T20:37:38.104-07:00</updated><title type='text'>Tempat SBY</title><content type='html'>Sabtu kemaren pergi bareng2 temen kos, di ajak muter2&lt;br /&gt;aku lihat ada tempat nongkrong anak2 motor,&lt;br /&gt;lokalisasi Bencong / Waria di Irian barat,&lt;br /&gt;lokalisasi GAY di pinggir kali dekat DELTA,&lt;br /&gt;pasar2,&lt;br /&gt;gedung pemerintahan SBy,&lt;br /&gt;stasiun Gudeng,&lt;br /&gt;Kuburan bambu kuning,&lt;br /&gt;welehh lengkap nich sby&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-5973564775852913484?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/5973564775852913484/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=5973564775852913484' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5973564775852913484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/5973564775852913484'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/09/tempat-sby.html' title='Tempat SBY'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7680749231271175854</id><published>2007-09-17T02:15:00.000-07:00</published><updated>2007-09-17T02:17:28.612-07:00</updated><title type='text'>KAMPOENG STEAK</title><content type='html'>Kemaren sore mam Steak, di kampung steak&lt;br /&gt;harus pake celana panjang, kipas dan banyak nyamuk&lt;br /&gt;so like that&lt;br /&gt;BUT the price is gilla BEEF steak dan chicken steak hanya 7000 Rupiah, bayangkan&lt;br /&gt;ada kentang , kacang panjang ,jagung&lt;br /&gt;porsi sperti steak normalnya. LUMAYAN lah.. . .rasa ok lah&lt;br /&gt;jus cuma 3500,avocado float dengan satu kop es krim diatas nya 6500&lt;br /&gt;&lt;br /&gt;OK sip&lt;br /&gt;makanan sini memang ada yang murah2&lt;br /&gt;kalo murah murah ampe besar besaran&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7680749231271175854?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7680749231271175854/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7680749231271175854' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7680749231271175854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7680749231271175854'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/09/kampoeng-steak.html' title='KAMPOENG STEAK'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1299334024343666194</id><published>2007-09-10T18:43:00.000-07:00</published><updated>2007-09-10T18:50:22.762-07:00</updated><title type='text'>Dokter Gigi Surabaya</title><content type='html'>Kemaren aku pergi ke dokter gigi di deket sini.&lt;br /&gt;temen kos bilang ada dokter gigi di dekat gereja... pas aku keliling memang ada dokter gigi di rumahan jl.raya satelit indah bn3. pas dateng katanya harus daftar dulu pasien baru, setelah itu saya mendaftar di susternya dan menanyakan harga menambal dan cabut . "Oh itu urusan sama dokternya" . Nah dengan memberanikan diri masuk, lalu ternyata membersihkan menggunakan banyak alat, laser dll, intinya aku itu cuma nambal 1 lubang. dan ternyata harganya 350.000 per lubang. bayangkan aku kira itu paling2 50rb sampe 150rb. lalu dokter menanyakan masih ada 2 lubang lagi kapan bikin janji ke sini, saya bilang ad Kartu nama engga? jadi tar saya yg menghubungi bila mau ke sini. wah wah wah , gile bener, pas pulang ternyata kata temen saya itu poliknik gigi itu di dalam gereja dgn harga hanya 80 rb. KUPRET&lt;br /&gt;Gara2 dokter Gigi Jd musti irit makan Nich.&lt;br /&gt;this is a lesson for me, no matter what you are planning shit happens. i've sufficient my self with certain money and transfer all the rest home to make sure that i don't go to Not right places, or too expense on not usefull things. but shit happens&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1299334024343666194?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1299334024343666194/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1299334024343666194' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1299334024343666194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1299334024343666194'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/09/dokter-gigi-surabaya.html' title='Dokter Gigi Surabaya'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6396631295627645033</id><published>2007-09-09T23:40:00.000-07:00</published><updated>2007-09-09T23:41:35.866-07:00</updated><title type='text'>Spesial Belut Surabaya</title><content type='html'>Wah sudah coba&lt;br /&gt;walaupun dagingnya ok tapi di pikiran jijik mulu&lt;br /&gt;ga demen jadinya&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6396631295627645033?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6396631295627645033/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6396631295627645033' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6396631295627645033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6396631295627645033'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/09/spesial-belut-surabaya.html' title='Spesial Belut Surabaya'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-4092324371459246513</id><published>2007-09-07T20:24:00.000-07:00</published><updated>2007-09-07T20:26:55.999-07:00</updated><title type='text'>NExt to try</title><content type='html'>SBS spesial belut surabaya&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-4092324371459246513?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/4092324371459246513/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=4092324371459246513' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4092324371459246513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/4092324371459246513'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/09/next-to-try.html' title='NExt to try'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-8618087281118419976</id><published>2007-08-31T00:17:00.000-07:00</published><updated>2007-08-31T00:26:06.997-07:00</updated><title type='text'>Adjustment</title><content type='html'>Hmm. . . .&lt;br /&gt;Ga nyangka juga ya bahasa SBY dan jawa berbeda..&lt;br /&gt;aku kira apa e . .. e itu semacam logat ato apa tapi yang aku kira itu artinya apa &lt;span style="font-weight: bold;"&gt;nya&lt;/span&gt;?&lt;br /&gt;beda sedikit aja , ,, dianggep kurang sopan.&lt;br /&gt;apa e itu seperti manggil orang tanpa nama , mgkn apa hei?&lt;br /&gt;ato apa he?&lt;br /&gt;Geee. . . .&lt;br /&gt;Disini ada yg namanya Nofanto , u can see on my friendster&lt;br /&gt;Ga nyangka Orgnya Sensi juga kadang2&lt;br /&gt;Jadi bingung . . . .&lt;br /&gt;Maksud hati bercanda eh jadi nya gak lucu&lt;br /&gt;Mang di sini agak berbeda. . .&lt;br /&gt;ga kaya jakarta becanda nya open dan vulgar ... DIrect approach&lt;br /&gt;di sini ada semacam filter = becanda tapi sopan mas. . . .. . . . .  . .&lt;br /&gt;Gee . . . .still amazed :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-8618087281118419976?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/8618087281118419976/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=8618087281118419976' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8618087281118419976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/8618087281118419976'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/08/adjustment.html' title='Adjustment'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-7983108354997474418</id><published>2007-08-27T23:04:00.000-07:00</published><updated>2007-08-27T23:11:47.719-07:00</updated><title type='text'>Makanan Surabaya</title><content type='html'>Tempe, Burung,Bebek, Ayam PENYET . . . ..  3000-10000  Makanan paling Umum&lt;br /&gt;semuanya itu di taroh di mangkok ato apa yang berisi sambal dan minyak terus di bejek2&lt;br /&gt;jadi PENYEK dong? Namanya juga PENYET&lt;br /&gt;&lt;br /&gt;Tahu Tek&lt;br /&gt;tek tek tek tek begitu bunyinya, tau2 pas makan itu tahu plus telur dadar di goreng, terus di campur kuah , yang kuat banget bau bawangnya. . . . . ampe besok pagi juga ga ilang baunya.&lt;br /&gt;&lt;br /&gt;Martabak Telor Ayam, Sapi,Kornet, Jamur&lt;br /&gt;Enak juga yang ayam. . . . . Kuahnya bukan yang cuka gitu ky di jkt, tapi asam manis&lt;br /&gt;&lt;br /&gt;Kepiting Cah GUNDUL&lt;br /&gt;katanya sih enak tapi belom pernah coba&lt;br /&gt;&lt;br /&gt;Tawon - ini KEmbang tahu, kuahnya Jahe&lt;br /&gt;gak enak 3ribu&lt;br /&gt;&lt;br /&gt;Nasi KEdiri - Gwalk&lt;br /&gt;lumayan lah&lt;br /&gt;&lt;br /&gt;Tahu Crispy&lt;br /&gt;tahu digoreng kulitnya itu bisa jadi garing banget banyak yg suka tapi g plg eneg liat tahu&lt;br /&gt;&lt;br /&gt;Bubur jakarta&lt;br /&gt;&lt;br /&gt;Mie Pangsit Masakan Medan - Ok lah tapi kok mahal ya&lt;br /&gt;&lt;br /&gt;Nasi kari SOlo&lt;br /&gt;&lt;br /&gt;Mealbox - TP , OK lah&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-7983108354997474418?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/7983108354997474418/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=7983108354997474418' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7983108354997474418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/7983108354997474418'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/08/makanan-surabaya.html' title='Makanan Surabaya'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-1468657448881200772</id><published>2007-08-27T22:59:00.000-07:00</published><updated>2007-08-27T23:04:23.218-07:00</updated><title type='text'>When i'll be back to Jakarta</title><content type='html'>Tidak terasa sudah mau sebulan di SBY ini . . . .&lt;br /&gt;Aduh kangen banget nich&lt;br /&gt;sama keluarga , Girl Friend, and Keponakan&lt;br /&gt;kapan ya. . waktu yang pas&lt;br /&gt;cuti itu cuma bisa sehari sebulan&lt;br /&gt;dan harus ngomong sebulan sebelumnya&lt;br /&gt;dan gak boleh ambil 4 hari cuti sekaligus&lt;br /&gt;&lt;br /&gt;Duh . . . .&lt;br /&gt;gak mau jadi co ga bener di sby ini&lt;br /&gt;banyak godaan nya . . . .. . . . . . . . .&lt;br /&gt;&lt;br /&gt;mau pulang. .  . . . . . . . . . . . . . . . . . .&lt;br /&gt;Say . . . . . . . .. . . . . . . . . . .. . . . . . . . .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-1468657448881200772?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/1468657448881200772/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=1468657448881200772' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1468657448881200772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/1468657448881200772'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/08/when-ill-be-back-to-jakarta.html' title='When i&apos;ll be back to Jakarta'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012199710535304233.post-6320648517989426032</id><published>2007-08-27T01:14:00.000-07:00</published><updated>2007-08-27T01:19:56.291-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='My day at surabaya'/><title type='text'>Hari hari gue di surabaya</title><content type='html'>Hallo,&lt;br /&gt;Saya orang baru di surabaya&lt;br /&gt;. .. . .   . ...&lt;br /&gt;working as senior .NEt developer&lt;br /&gt; . .. . . . . . .&lt;br /&gt;i think surabaya is nice&lt;br /&gt;not so condansed &gt; &gt; like jkt&lt;br /&gt;not so jammed &gt; &gt; like jkt&lt;br /&gt;not full of ignorened people &gt; &gt; like jkt&lt;br /&gt;&lt;br /&gt;But yes there are some downside&lt;br /&gt;far away from my Girl Friend at JKT&lt;br /&gt;&lt;br /&gt;i miss u&lt;br /&gt;every day i miss u more and more&lt;br /&gt;draining my Pulse /pulsa  till it dry&lt;br /&gt;but still can't replace u&lt;br /&gt;can't reach u&lt;br /&gt;i can imagine u and your face&lt;br /&gt;still there' . .. .  .&lt;br /&gt;i miss u very very much&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7012199710535304233-6320648517989426032?l=mydailylifecipto.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mydailylifecipto.blogspot.com/feeds/6320648517989426032/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7012199710535304233&amp;postID=6320648517989426032' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6320648517989426032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012199710535304233/posts/default/6320648517989426032'/><link rel='alternate' type='text/html' href='http://mydailylifecipto.blogspot.com/2007/08/hari-hari-gue-di-surabaya.html' title='Hari hari gue di surabaya'/><author><name>Oci Beken</name><uri>http://www.blogger.com/profile/02372912799489587615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
