Click here to Skip to main content
15,896,154 members

Comments by Neetesh Agarwal (Top 152 by date)

Neetesh Agarwal 26-Aug-15 11:07am View    
In .CS Page

public void binddata()
{

string sql = "Select test from testt";
SqlDataAdapter sdr = new SqlDataAdapter(sql, con);

DataTable dt = new DataTable();
sdr.Fill(dt);



if (dt.Rows.Count > 0)
{
dlEmployee.DataSource = dt;
dlEmployee.DataBind();
}
}
Neetesh Agarwal 26-Aug-15 11:05am View    
In .aspx Page
<asp:DataList ID="dlEmployee" runat="server">
<itemtemplate>
<%#DataBinder.Eval(Container.DataItem, "test")%>

Neetesh Agarwal 26-Aug-15 10:51am View    
Not Only Images. He can edit Text content , Hyper link etc.

You are right CMS seems to be better option. Thanks
Neetesh Agarwal 26-Aug-15 10:50am View    
Thanks Sergey.
Neetesh Agarwal 30-Jun-14 6:40am View    
Deleted
Thanks but its not working. Its show Unable to connect any specified Mysql host..