20 October 2008

I m using SQL Server 2005 and trying to get table name "myTable" from all databases from SQL Server

begin try
Exec sp_MSforeachdb 'Select * From ?..sysobjects where name=''myTable'''
end try
begin catch
print 'error'
end catch

06 October 2008

If you are using FCK editor and also you are using "Theme" from ASP.net you may get error for head tag in master page for Runat="Server" when you are uploading image from FCK Editor.

It have a simple solution,
Create a web.config file in "fckeditor" folder

and add "Page" element into "system.web" tag. and write down theme="".

configuration>
system.web>
pages theme="">
/system.web>
/configuration>

30 September 2008

Search Direct "Code" as search result!!!

You can see ZIP file's code without downloading. there is also "Language" option in advance search to get result for particular language.

So start to find direct Code!!!

24 September 2008



Get home entertainment via BigFlix , Just Register, Pay fees, and get DVD to your home!!!

It also present in Ahmedabad.

read More about this site.

20 September 2008

Download Visual Studio 2008 SP1.

and also read about that what new in Visual Studio 2008 SP1 from here in power point presentation and also in text format here.

18 September 2008

Download .NET Framework 3.5 Common Namespaces and Types Poster in PDF format.


17 September 2008

When you have update panel in your web page, You wanted to update page, Actually there will be same page life cycle, and also Page_Load event, It means that suppose you have some code in Page_Load event to bind Grid which is not there in UpdatePanel, Normally it will go to rebind data!

So, the question is how could we know different between normal postback and post back via update panel?

There is a property in "ScriptManager" control to get this different named "IsInAsyncPostBack"


protected void Page_Load(object sender, EventArgs e)
{
if (!ScriptManager1.IsInAsyncPostBack)
{
///Page Regular code
}
else
{
///Code Only for controls inside Update Pagens
}
}

30 August 2008

Create "Tab" Image Online...



and download "PNG" format, very quickly.
DayPilot is an AJAX calendar/scheduling control for ASP.NET 2.0 that allows you to to build calendar-related applications: personal or shared event calendars, resource booking applications, time tracking applications, project management applications.




This one is g8!
If you want to apply theme to Ajax Controls Toolkit, You may get following error.


Parser Error


Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'ajaxToolkit:ControlName'.


This is because it is required to register all custom user controls in to the web.config file.

So, under "pages" element create "controls" and add folofing tag in to it.

add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>

Done, refresh the page. error is solved.