不太明白你的意思.
要换行就把里面的\n换成<br>
public void bind2()
{
dbConnection = new DBConnection();
sql = "select D13,zongtimb,pynd,ndmb,ndjg from ndpy where Tcbh='" + Request.QueryString["Tcbh"] + "'";
SqlDataAdapter myda = new SqlDataAdapter(sql, dbConnection.getConnection);
DataSet myds = new DataSet();
myda.Fill(myds, "ndpy");
GridView2.DataSource = myds;
GridView2.DataKeyNames = new string[] { "D13" };//主键
GridView2.DataBind();
}