Archive

Create a report with Reporting Services

If you want to create a report in 5 mins, you should follow this tutorial.

All requirement software can be found there. I installed the following:

The tutorial instructs you how to create the report (RDL file): how to define the data source, layout and how to preview the report.

Once you’re done, you can use Report Manager to deploy the report. In my environment Report Manager is available at http://localhost/Reports$SQLExpress and looks as below:

Report Manager

It is possible that Report Manager is available at a different URL on your machine. To check the URL go to Control Panel\Administrative Tools, then Internet Information Services (this is how to get this screen under Windows XP). On the window you get expand Internet Information Services\XXX (local computer)\Web Sites\Default Web Sites. You should see anything that is similar to Reports and ReportServer. As I described before, in my case those virtual directories were named with $SQLExpress suffix at the end.

Anyway, once you get to the Report Manger, click Upload File button. In the new screen choose the file to upload (RDL file you’ve created with the tutorial). Then in main screen of Report Manager select the report you’ve added. Now you should see the report. As the ouput is long, it is paginated so you can use Previuos Page and Next Page buttons to show different parts of the report. You can also choose the format in which the report is presented; by default you can view it in the following formats:

  • embedded in the website
  • PDF file
  • Excel file

That’s all. Now you can create any report you want.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

ASP.NET powered with AJAX

For those who develop web applications in ASP.NET and want to learn how to include AJAX I recommend a series of video tutorial on ASP.NET AJAX.

The series is created (from time to time new videos are added) by Joe Stagner and others from the Microsoft product team. It teaches the basic tricks and explanations of how things should be done.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

What if you extend an abstract class and implement an interface when both define a method with the same name?

Imagine you need to implement a class that extends an abstract class and implements an interface when both define a method with the same name - test().

Example


interface Implementable { public void test(); }
abstract class Superclass { public abstract void test(); }

public class Test extends Superclass implements Implementable {
    /* definition of load method(s)..... */
}

The following will not compile, getting (among others) duplicate method test() error:


interface Implementable { public void test(); }
abstract class Superclass { public abstract void test(); }

public class Test extends Superclass implements Implementable {
    public void Superclass.test() { }
    public void Implementable.test() { }
}

Solution

The correct implementation looks as follows:


interface Implementable { public void test(); }
abstract class Superclass { public abstract void test(); }

public class Test extends Superclass implements Implementable {
    public void test() { }
}

In such case, you need to define the body of test() method ONLY ONCE.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

Refreshing C# and ASP.NET skills

As a matter of fact I’ve been learning Java (for SCJP) and Microsoft .NET (because of project change) recently.

This week I attended two crash courses:

Those courses were fine; I refreshed a lot and learned some new stuff as well. Now it’s time to play around with this knowledge in real world ;)

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

CV updated

I’ve updated my CV:see English or Polish version.
Appart from that, I’ve updated my LinkedIn profile.

It’s very up to date now. Feel free to read it if you’re interested :)

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

Java vs. C#

From now on I’ll be doing much more in Microsoft .NET rather than in Java. Thus, it seems my preparation for SCJP exam will slow down now… Also, I presume there’ll be slightly less about Java on that blog from now on (at least for some time).

I learned about .NET framework and C# programming language at the univesity, but it was a few years ago. Also, I’ve never been involved in a business project that used this framework. So, time to refresh the knowledge of .NET :)

Luckily, it seems there shouldn’t be much difficulties in switching from Java to C#. Of course, those languages differ but still they have a lot in common. This article should be helpful in understanding the differences between Java and C#. It’s well written and the theory is supported with code examples.

After refreshing C# there will be time to re-learn ASP.NET…

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

MyBlogLog

I’ve just signed up to MyBlogLog service.

Look at my profile and my blog’s profile on MyBlogLog.
Continue reading ‘MyBlogLog’

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

Fatal error: Call to undefined function wp_register_sidebar_widget() in …

I’ve just updated Wordpress engine to v2.5. I played with it for a moment and was very happy about it until I got this error when I went to Wordpress Dahsboard:

Fatal error: Call to undefined function wp_register_sidebar_widget() in /XXX/wp-admin/includes/dashboard.php on line 31

Luckily, I’ve found a very simple solution on Tom Raftery’s Social Media Blog. Tom, thanks for sharing with others!

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

Change to Wordpress 2.5

I’ve just changed the engine for my blog from Wordpress 2.3 to Wordpress 2.5.

The change is not visible for the reader but there’s a lot going on in the dashboard, starting with the layout, dashboard widgets, multiple file upload, etc… To get the full list of the changes, please look at the official Wordpress blog.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail

High Performance Web Sites

Recently I’ve been reading “High Performance Web Sites” (look at amazon).

I think it’s a good book who can be recommended to all who do even little bit of front end development. The book describes 15 rules (regarding CSS, JavaScript, etc.) that should be followed in order to deliver high performance web sites. It’s rather short (c.a. 150 pages) and easy to read, but the suggestions described by the author can be helpful while you work.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • e-mail