Monday, December 28, 2009

Big Fish Ever

Today I went for lunch I was thinking what I will eat. However, stomach was not in a good condition but I did not have breakfast that's the point. So, I have to eat something good that I was thinking. So I ordered a fish. But when the fish came, to my utter surprise, I found that it was a big fish. I am afraid whether I could finish it or not. Apparently, it was fish for at least 4 people and I started eating. I was eating slowly. I didn't finish good taste as it was not well-cooked. So, I felt bad to finish the fish..otherwise it will be counted as spoiling. However, finally I finished the eating and came out normally. However, I decided not to eat such mammoth fish again.
thx. (27-12-2009)
Masud

Big Fish Ever

Today I went for lunch I was thinking what I will eat. However, stomach was not in a good condition but I did not have breakfast that's the point. So, I have to eat something good that I was thinking. So I ordered a fish. But when the fish came, to my utter surprise, I found that it was a big fish. I am afraid whether I could finish it or not. Apparently, it was fish for at least 4 people and I started eating. I was eating slowly. I didn't finish good taste as it was not well-cooked. So, I felt bad to finish the fish..otherwise it will be counted as spoiling. However, finally I finished the eating and came out normally. However, I decided not to eat such mammoth fish again.
thx. (27-12-2009)
Masud

Saturday, December 26, 2009

Creating PDF file using ASP.NET,C#

This is an interesting thing to accomplish creating PDF file in ASP.NET ,C#. Let me share with you the techniques of creating PDF. Here are the following steps.
step-1: download the following itextsharp .dll from the following link
step-2: Add reference to the .dll in your project using Visual studio
step-3: Now use the following code only to create a simple paragraph in .pdf file.
//creating pdf source code
try {
Document mydoc = new Document(PageSize.A4.Rotate());
PdfWriter.GetInstance(mydoc,new FileStream("masud.pdf",FileMode.Create));
mydoc.Open();
mydoc.Add(new Paragraph("This is the first paragraph written by me"));
mydoc.Close();
MessageBox.Show("PDF created successfully!");

}
catch (Exception exc)
{
MessageBox.Show("Failed to create PDF file"+exc.Message);
}

This is how you can create PDF uisng some dll. So interesting!

thanks. Masud (26-12-2009)

Sunday, December 13, 2009

The First Day in KU in job career

All the time there may be some hesitation and unknown worries about the first day for a new job to start. Though I was not first to start a job but the matter is it was the first day for a govt. job and there are certain formalities I have to follow. However, the day before the joining my supervisor called me and informed me the result. After knowing the result I was excited but the moment I heard that the next day I have to join then it becomes really problematic for me. I then called head sir for the decision to be taken for the welfare of job career. He told me to join the next day. So I have to decide to catch the bus the within next 2 hours and I had to finish lots of works within a very short time. Mukta did a great job by collecting my ticket for the bus. However, when at the evening I was planning for the night having a company job, but at the night I had to run for a govt. job. When I reached khulna I found it was place of cold relative to dhaka. After the official works...we spent some time in the office...having some snacks in the afternoon and in the night again started for Dhaka in response to the responsibility of company's call. So this was my first day in KU job as a lecturer.
Thanks for reading!

Masud...(14/12/2009)