Display in datagrid
-
hi, i've got 2 question. Firstly, how do i upload images into Microsoft Acess and display it into datagrid. Secondly, i can display data from database to datagrid, be it in hyperlink column. I can also do in allowpaging method. But right now, i would like to design it in such a way that it is smth like http://www.dvdavenue.com/[^]. Go ova to this website and click the Go button under Search category on the top left leaving the textbox blank. You will see the web page displaying many movie results. Notice that for each movie, you see a pic of that movie, hyperlink, a breif description for that movie, and a "more" hyperlink. My objective is how do i format the displaying of results like that in datagrid. pic on the left, hyperlink on the right of the pic, brief description at the bottom of the hyperlink, and the "more" hyperlink after the breif description. Chris
-
hi, i've got 2 question. Firstly, how do i upload images into Microsoft Acess and display it into datagrid. Secondly, i can display data from database to datagrid, be it in hyperlink column. I can also do in allowpaging method. But right now, i would like to design it in such a way that it is smth like http://www.dvdavenue.com/[^]. Go ova to this website and click the Go button under Search category on the top left leaving the textbox blank. You will see the web page displaying many movie results. Notice that for each movie, you see a pic of that movie, hyperlink, a breif description for that movie, and a "more" hyperlink. My objective is how do i format the displaying of results like that in datagrid. pic on the left, hyperlink on the right of the pic, brief description at the bottom of the hyperlink, and the "more" hyperlink after the breif description. Chris
Try using the
System.Web.UI.WebControls.Repeater
control instead of the datagrid. This control lends itself a little bit better for this kind of data displays. ~Javier Lozano (blog) -
Try using the
System.Web.UI.WebControls.Repeater
control instead of the datagrid. This control lends itself a little bit better for this kind of data displays. ~Javier Lozano (blog)hi, i've decided to use datagrid instead. ;) anw, im displaying 4 records from database(title, description, price, avaliability). i've added a column "title" for hyperlink. however, the datagrid will display another column of "title" which isn't a hyperlink. how do i remove duplicated column from the datagrid? Chris
-
hi, i've decided to use datagrid instead. ;) anw, im displaying 4 records from database(title, description, price, avaliability). i've added a column "title" for hyperlink. however, the datagrid will display another column of "title" which isn't a hyperlink. how do i remove duplicated column from the datagrid? Chris
By default, the DataGrid will generate columns for you with the same name as the columns in your data source. What you need to do is, under the visual editor, right click on your grid and go to Property Builder --> Columns --> Uncheck the to check box. ~Javier Lozano (blog)