Author: kansona | Posted on: 8/14/2008 12:31:52 AM | Views : 1175

hi.. i want to display data from data base into html page with out use of rich control and any  other controls..
 
 SqlConnection con = new SqlConnection("connection_ string");
            con.Open();
            SqlCommand cmd = new SqlCommand("select mname from menuxml", con);
            SqlDataAdapter da = new SqlDataAdapter(cmd);
            DataSet ds = new DataSet();
            da.Fill(ds,"kan");

            Page.DataBind();
...

Go to the complete details ...