ASP.NET insert 请程序员帮忙!
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
String PadLeft(Int,Char);
String PadRight(Int,Char);
string str = "Hello World";
string str1 =str.PadLeft(15,'@');
string str2 =str.PadRight(15,'@');
Response.Write(str1.ToString()+"<br>");
Response.Write(str2.ToString()+"<br>");
}
}