Monday, July 7, 2008

fix header in repeater and datalist

<%#Eval("localityid") %><%#Eval("localityname") %>
code behind code
protected void Page_Load(object sender, EventArgs e)
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
SqlDataAdapter cmd = new SqlDataAdapter("select top 100 * from locality", con);
cmd.SelectCommand.CommandType = CommandType.Text;
DataSet ds = new DataSet();
dl.DataSource = ds;


No comments :

Post a Comment

AJAX, asp,, and sql server security, IntemIndex, C#, Css, DataBinder.Eval, DataKeyNames, Datalist, Datapager, DataSet, DataTable, DropDownList, FindControl, gridview, JavaScript, jquery, Listview, Paging, Regex, RegularExpression, Repeater, Server side validation, Sql Server, timer, timercallback, Validation, XML, xmlnode, XPath