Want To Bind Data To HTML Control [modified]
-
I want to generate HTML Report.... i.e when a button is clicked on .aspx page , i want to open a html page and display the fetched data from the database.... Thanks in adv..
-
I want to generate HTML Report.... i.e when a button is clicked on .aspx page , i want to open a html page and display the fetched data from the database.... Thanks in adv..
Rohit, Which type of html control u have on ur page? Why r u not using SQL Server to fetch the data. :)
-
I want to generate HTML Report.... i.e when a button is clicked on .aspx page , i want to open a html page and display the fetched data from the database.... Thanks in adv..
-
Rohit, Which type of html control u have on ur page? Why r u not using SQL Server to fetch the data. :)
Hi Deepak I have to just display data on any control on HTML page m using Sql 2005
-
then why are you using stringbuilder use data source like datatable, fill it with the data and bind it to the controls' source.
i want to bind that data to an html control which is on another html page,and my html control is not on aspx page....then how should i bind ???
-
Hi Deepak I have to just display data on any control on HTML page m using Sql 2005
Rohit, First clear me that what page u r using .html or .aspx If U r using .aspx page,then data can be bound to dropdown list from db by using SqlDataSource. Is it so? :)
-
Rohit, First clear me that what page u r using .html or .aspx If U r using .aspx page,then data can be bound to dropdown list from db by using SqlDataSource. Is it so? :)
m using .aspx page and on the button click of .aspx page i want to display the html page , and on that html page display the data... http://www.codeproject.com/script/Forums/Images/smiley\_cry.gif
-
m using .aspx page and on the button click of .aspx page i want to display the html page , and on that html page display the data... http://www.codeproject.com/script/Forums/Images/smiley\_cry.gif
Do like as... On btn click use Response.redirect("name of page to redirect to") method. U will go to .html page. In this method u can use Query string of related data to fire query on html page to fill the data to the control on this page. Is there any control on .htm page which support data binding property? :laugh:
-
i want to bind that data to an html control which is on another html page,and my html control is not on aspx page....then how should i bind ???
-
How are u managing the call to the Page? U need to pass the data/parameter from calling page to your called page and u can handle it on the page as per your need.
m calling response.redirect(index.htm) ya i need to pass data/parameter....but could not do so.....
-
i want to bind that data to an html control which is on another html page,and my html control is not on aspx page....then how should i bind ???
-
m calling response.redirect(index.htm) ya i need to pass data/parameter....but could not do so.....
-
Can u please tell me how to pass the parameter...... m not getting any error
-
Can u please tell me how to pass the parameter...... m not getting any error
-
So you've to manually handle/manipulate the string data by JavaScript and feed it to the control.
To obtained by plain HTML (no ASP.NET needed): Although this is definitely not the best practise. And am still not very sure if this is what you are looking for. < html > < head > < title>index< /title > < meta http-equiv="REFRESH" content="0;url=http://www.xyz.com/xyz.aspx" > < /head > < body > Index page. < /body > < /html > using a JavaScript code: < html > < head > < title >index< /title > < /head > < body > < script language="javascript" > window.location = "http://www.xyz.com/xyz.aspx"; < /script > Index page. < /body > < /html >
-
use query string or sessions to pass value
Response.Redirect
("index.htm?username=" +
//parameter value");//in html page
TextBox1.Text = Request.QueryString["username"].ToString();How could i use TextBox1.Text on HTML page.... TextBox1.Text = Request.QueryString["username"].ToString(); ???????