displaying a whole table from the database
I am having a table in my database named Feedbacks and i need to diplay in the page of admin when admin will be going to click on the view feedback button then the whole feedback table with the buttons reply,add delete for each row should be displayed. The columns in my feedback table were commenton,commentabout,your comment,,etc
Vishal GilbilePosted Mar 6, 2013, 1:33 AM
Your question is not quite clear but certainly what I understood is that you want to display data from a particular table with all the rows and column. In such case what you can do is you can create a procedure which will display data from database particular table or you can use the following line of code.
con = new SqlConnection("Data Source=D-NIIT-CR02;Initial Catalog=AdventureWorks;User Id=
If this doesn't solves your problem kindly let me known.