Add database data to html table cell console app c#
how to Add database data to html table cell. my table consist 3 columns and nth rows(dynamically creates based on database data)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sudipta sanyalPosted May 14, 2014, 11:47 PM
CREATE TABLE #temp_table (eid INT IDENTITY(1,1),ename NVARCHAR(200),esalary float,dep_id INT)
samantaPosted May 13, 2014, 7:46 AM
i want to fill the table cell with database value one by one.
sudipta sanyalPosted May 13, 2014, 6:17 AM
samantaPosted May 13, 2014, 2:09 AM
how to achieve this?
sudipta sanyalPosted May 13, 2014, 2:02 AM
then
1. write a query which gives you all data
2. pick those data in a datatable or a dataset
3. write a loop on that datatable or dataset loop
4. now generate the tr td based on your loop and append the value with your control
samantaPosted May 13, 2014, 1:58 AM
actually i have created html template and i want to bind database data to that html.
how to do that
sudipta sanyalPosted May 13, 2014, 1:45 AM