I have a html file which has a huge table with 4 columns and multiple rows. I want to display it in an asp 2.0/3.5 page, such that it's first 2 columns appear in one area and other two appear in another area adjacent to it. Some thing like splitting the table in two and displaying. Is there any way i can achieve it?
How do you generate the table? That will determine how you split it.
Also, I don't understand the benefit of just putting the two halves side by side. Did you intend to be able to hide one half?
I would split the dataset into two seperate datasets with the appropriate columns. I would also have two seperate GridViews to display the different datasets.
To minimize code duplication, I would use ASP.NET themes to skin the datasets and I would also hook into the same GridView functions (Update Command, DataBound, etc) so that you don't have to re-write much.
If you're doing the tables by hand, it's just a question of changing where you're response.writing the and 's to.
Well i wrote a RegEx and split the file in two html files. then i loaded each of them inside a div tag. It worked for me.