setting crystal report using sqldatasource in visual studio 2008

It’s been several days I looking for connecting crystal report express for visual studio 2008 using sqldatasource, so i can edit the sql query using code behind on runtime. All I found on the net are using dataset or xsd, so more coding required 🙂
But finally I found it in microsoft site, with a few simple steps:
– Create crystal report file.
– Connect to database and add fields on the report, customize it as you like.
Continue reading

Null changed to Nothing in Visual Studio 2008

in many example i found in the internet it seems doesn’t work in my VS 2008, they code always has blue line under the Null word.

on the pop up they said:

‘Null’ is not declared, ‘Null’ constant is no longer supported; use system.DBNull instead

Continue reading