Google Blogger is Going to Stop its services of allowing to host your blog on FTP.
Please read the notice below i have received one from GOOGLE.COM



Dear FTP user:

You are receiving this e-mail because one or more of your blogs at Blogger.com are set up to publish via FTP. We recently announced a planned shut-down of FTP support on Blogger Buzz (the official Blogger blog), and wanted to make sure you saw the announcement. We will be following up with more information via e-mail in the weeks ahead, and regularly updating a blog dedicated to this service shut-down here: http://blogger-ftp.blogspot.com/.

The full text of the announcement at Blogger Buzz follows.
Last May, we discussed a number of challenges facing[1] Blogger users who relied on FTP to publish their blogs. FTP remains a significant drain on our ability to improve Blogger: only .5% of active blogs are published via FTP — yet the percentage of our engineering resources devoted to supporting FTP vastly exceeds that. On top of this, critical infrastructure that our FTP support relies on at Google will soon become unavailable, which would require that we completely rewrite the code that handles our FTP processing.

Three years ago we launched Custom Domains[2] to give users the simplicity of Blogger, the scalability of Google hosting, and the flexibility of hosting your blog at your own URL. Last year's post discussed the advantages of custom domains over FTP[3] and addressed a number of reasons users have continued to use FTP publishing. (If you're interested in reading more about Custom Domains, our Help Center has a good overview[4] of how to use them on your blog.) In evaluating the investment needed to continue supporting FTP, we have decided that we could not justify diverting further engineering resources away from building new features for all users.


For that reason, we are announcing today that we will no longer support FTP publishing in Blogger after March 26, 2010. We realize that this will not necessarily be welcome news for some users, and we are committed to making the transition as seamless as possible. To that end:

    • We are building a migration tool that will walk users through a migration from their current URL to a Blogger-managed URL (either a Custom Domain or a Blogspot URL) that will be available to all users the week of February 22. This tool will handle redirecting traffic from the old URL to the new URL, and will handle the vast majority of situations.
    • We will be providing a dedicated blog[5] and help documentation
    • Blogger team members will also be available to answer questions on the forum, comments on the blog, and in a few scheduled conference calls once the tool is released.

We have a number of big releases planned in 2010. While we recognize that this decision will frustrate some users, we look forward to showing you the many great things on the way. Thanks for using Blogger.

Regards,

Rick Klau
Blogger Product Manager
Google
1600 Amphitheatre Parkway
Mountain View, CA 94043

[3] http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html

----
This e-mail is being sent to notify you of important changes to your Blogger account.

Hello,

Please find below code that can help you to solve your problem of opening page in new tab of browser.

use this below code in the code behind

btnPrint.Attributes.Add ("OnClick","openwindow()");

and use this code in the head tag

<script type="text/javascript" language="javascript">

function openwindow()
{
window.open ("PrintReport.aspx",'','width=1000px,height=600px,menubar=yes,scrollbars=yes,
left=0,top=0');
}
</script>


Thankyou,
Rajesh Singh
Asp.Net Developer
Indianic Infotech ltd (India)
rajesh@indianic.com

Hello,

This is one of the important validation that you need to take care, when user enter's data in form.

Most of the time user tries to enters his/her birth date higher than today's date, so this is poor validation.

Please find few line code below that will help you comparing users birth date which should be lower than today's date.

//---------------code of code behind -------------------

If Trim(txtBirthDate.Text) = "" Then
Else
Dim textboxdate As Date = Convert.ToDateTime(txtBirthDate.Text).Date
Dim todaysdate As Date = DateTime.Now.Date
If textboxdate >= todaysdate Then
datelabel.Visible = True
datelabel.Text = "Birth date must Not be greater than today's Date"
flag = False
End If
End If

//------------------ code ends -------------------------


//---------------code for front end --------------------

<td>
<div id="datediv">
<asp:Label ID="datelabel" runat="server"></asp:Label>
</div>
</td>>

//-------------------code ends -------------------------

Hope this post will help you,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech ltd (India)
rajesh@indianic.com

Different Types of Methods in VB.NET

Posted by rajesh Singh | 3:10 PM

There are two types of methods in VB .NET:

those that return a value (Functions)
and those that do not return a value (Sub Procedures)

Sub Procedures ( do not return a value )
--------------------
Sub Main()
'sub procedure Main() is called by default
Display()
'sub procedure display() which we are creating
End Sub

Sub Display()
MsgBox("Using Sub Procedures")
'executing sub procedure Display()
End Sub

Functions ( return a value )
-------------
Sub Main()
Write("Sum is" & " " & Add())
'calling the function
End Sub

Public Function Add() As Integer
'declaring a function add
Dim i, j As Integer
'declaring two integers and assigning values to them
i = 10
j = 20
Return (i + j)
'performing the sum of two integers and returning it's value
End Function


Hope this post will help you,
Rajesh Singh
Asp.Net Developer
Indianic Infotech Ltd (India)
Rajesh@indianic.com

C# Code to Delete All file from the Folder

Posted by rajesh Singh | 6:38 PM

You can Copy below code and paste in your code file.

//-----------------------Code Start here----------------------------

protected void CleanImageFolder()
{
string imgFolder = Server.MapPath("~/lab/maskemail/img/");
string[] imgList = Directory.GetFiles(imgFolder, "*.jpg");
foreach (string img in imgList)
{
FileInfo imgInfo = new FileInfo(img);
if (imgInfo.LastWriteTime < DateTime.Now.AddMinutes(-3))
{
imgInfo.Delete();
}
}
}

//-----------------------Code End here----------------------------

Hope this post will help you,
Rajesh Singh
Asp.Net Developer
Indianic Infotech Ltd (India)
Rajesh@indianic.com

Contact Us

Posted by rajesh Singh | 5:51 PM









Name
E-mail Address: *
Phone
Purpose of Contact *
Message

* Required

In below code you can find, How to implement update query using Stored Procedure.


IF EXISTS (SELECT * FROM SYSOBJECTS WHERE ID=OBJECT_ID('UpdateProjectDetail'))
DROP PROCEDURE UpdateProjectDetail
GO

CREATE PROCEDURE UpdateProjectDetail
(
@piProjectID INT,
@piCustomerID INT,
@psProjectTitle VARCHAR(100),
@psProjectDescription VARCHAR(200),
@psProjectCategory INT,
@pdStartDate DATETIME,
@pdEndDate DATETIME,
@psStatus VARCHAR(10),
@piHours INT,
@piCreatedBy INT
)
AS
BEGIN
UPDATE projects SET

CustomerID=@piCustomerID,

ProjectTitle=@psProjectTitle,
ProjectDescription=@psProjectDescription,
ProjectCategory=@psProjectCategory,
StartDate=@pdStartDate,
EndDate=@pdEndDate,
Status=@psStatus,
Hours=@piHours,
CreatedBy=@piCreatedBy,
CreatedDate=GETDATE()

WHERE
ProjectID=@piProjectID
END
GO


Hope this post will help you,
Rajesh Singh
Asp.Net Developer
Indianic Infotech Ltd (India)
Rajesh@indianic.com