Recent Posts
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||
Sep
19
Sep
18
STEPS FOR PREPARING A SPEECH:
* Think of an idea for your talk.
* Decide your speech’s purpose.
* Come up with a particular slant or focus.
* Write down your message in one sentence.
* Draft an outline with an opening, body and conclusion.
* Write out your complete speech.
* Do the single sentence test.
* Write something out for the person introducing you.
Jun
11
I have setup my photoblog at http://photo.coderkk.net/. Which is base on wordpress engine and plug-in the Yet Another Photoblog (YaPB) component. But thing is the website is very slow….
Hope I can resolve the problem.
Feb
29
Today, my new notebook, Inspiron 1420, has arrive.
It is Windows Vista box. Actully, l want to tested out some program with Vista long time ago. (Althought many people still saying that Vista got many problem with some application). But, for developer, I think I need to try it, and get experience with it.
Now, I am planning what I will do with me new baby now. 🙂
Feb
27
Now my current version dasBlog is 2.0.7226.0. 🙂
Feb
27
This morning I try to find a method to bind DLINQ to DataGridView. There don’t have ToBindingList in DLINQ DataQuery. Need to manually import System.Data.Dlinq.DataQueryExtensions in the top of form
Imports System.Data.Dlinq.DataQueryExtensions
After that, the method ToBindingList() will come out.
Dim sConnectString As String = "data source=.\SQLEXPRESS;" & _
"Integrated Security=SSPI;AttachDBFilename=D:\Data\Northwind.mdf;" & _
"User Instance=true"
Dim db As New Northwind(sConnectString)
Dim cust = From c In db.Customers _
Select c
DataGridView1.DataSource = cust.ToBindingList()
DataGridView1.Refresh()
So now, I can modify this to bind the DataQuery to BindingSource for my form.
Feb
26
I have write a simple program in VB.Net LINQ and Ruby, which product the result is same. If you study the code both syntax almost same. I think nowaday all programming langauge is going to ruby-like programming language (easy to understand and real object-oriented programming).
VB.Net
Dim v as Integer
Dim numbers As Integer() = New Integer() {1, 4, 2, 7, 8, 9}
Dim evenNumbers = From p In numbers _
Where (p Mod 2) = 0 _
Select P
For Each v In evenNumbers
System.Console.WriteLine(v)
Next
Ruby
numbers = [1,4,2,7,8,9]
evenNumbers = Array.new
numbers.each do |p|
evenNumbers<<p if (p % 2) == 0
end
evenNumbers.each {|p| print p}
Feb
4
Oct
10
Yesterday, I surf the net. I found an interesting article calculating EMIs from rmathew.
This guy explain the EMIs formula very clean and easy to understand. After read all the article, I use the formula which provide by rmathew and develop a loan calculator page.
Now, I can use it to compare the housing loan from severals bank. And see who offer a nice home loan interest.
Sep
6