How to dynamically add div in asp web page ?ie, if mssql server returned n rows from a query, i must place all these n rows in seperate div which has to be created dynamically.!!pls help (d case is when displaying search results in a web page like shopping sites)
asisaf
0
Newbie Poster
Recommended Answers
Jump to Post<%@ Page Language="C#" %> <!DOCTYPE html> <script runat="server"> protected void Button1_Click(object sender, EventArgs e) { TextBox text = new TextBox(); text.Text = "This is the runtime textbox"; text.Style["width"] = "300px"; PlaceHolder1.Controls.Add(text); } </script> <html xmlns="
All 3 Replies
baig123
0
Newbie Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
elsunhoty
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.