SqlConnection con = new SqlConnection("Data Source=MORTEZA-PC\\SQLEXPRESS;Initial Catalog=News;Integrated Security=True"); protected void Page_Load(object sender, EventArgs e) { //this code should be into for string myuser = "<CS:userNews runat=" + "server" + "/>"; divShowOtherComment.InnerHtml = myuser; myuser = "<CS:userNews runat=" + "server" + "/>"; divShowOtherComment.InnerHtml = myuser; myuser = "<CS:userNews runat=" + "server" + "/>"; divShowOtherComment.InnerHtml = myuser; } <pre lang="c#">
Page_Init()
Page_Load()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)