Hi, yes thats true, didnt know about that one... but the downside is that i then have to make my own pager... A bit to overkill for me at the moment i think. Thanks /Tiru
dTiru
Posts
-
Gridview "columnization" -
visual studio .net and visual web developer 2005The extra line is:
-
visual studio .net and visual web developer 2005sacheesach wrote:
I developed a web application in VWD2005 and uploaded on net. But i got an error, which is "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. "
The extra line to web.config i wrote would get you trough this part as then you will see the error occuring. Tiru
-
visual studio .net and visual web developer 2005Sorry, fixed the first post so that it should present the solution... /Tiru
-
Gridview "columnization"Thanks, i get the general idee, i have used the click/drag/drop functions in VS with data but that should i figure out how to do... But one thing more... as i in reality have more than one column, is this the right aproach? DataTable dt = new DataTable(); DataColumn dc = new DataColumn("RowOdd", Type.GetType("System.Int32")); DataColumn dc1 = new DataColumn("RowOdd1", Type.GetType("System.Int32")); DataColumn dc2 = new DataColumn("RowOdd2", Type.GetType("System.Int32")); DataColumn dc3 = new DataColumn("RowEven", Type.GetType("System.Int32")); DataColumn dc4 = new DataColumn("RowEven1", Type.GetType("System.Int32")); DataColumn dc5 = new DataColumn("RowEven2", Type.GetType("System.Int32")); dt.Columns.Add(dc); dt.Columns.Add(dc1); dt.Columns.Add(dc2); dt.Columns.Add(dc3); dt.Columns.Add(dc4); dt.Columns.Add(dc6); I think that should be fine... (I realized when writing the code) :) Thanks alot Tiru
-
visual studio .net and visual web developer 2005Hi, In your web.config add: Tiru -- modified at 8:15 Thursday 16th August, 2007
-
Gridview "columnization"Hi, I'm not sure if this is possible at all, but my intention is to use the gridview to display the data in it in two columns next to eachother. Lets say i have just a string in my databinding and 10 rows. Then i wish to display it like this: row1 | row2 row3 | row4 row5 | row6 row7 | row8 row9 | row10 But as the gridview is making a table this cannot be done it seams. I have tried using itemtemplate and alternatetemplate but with no success as the gridview after each row inserts a new tr / td and ending thesame at the end. Is there anyway this can be done with the gridview or do i need to use repeaters and make my own paging for that? Thanks Daniel Tiru