Firstly, any help here would be great. Its been a while since I worked with gridviews.
I am developing in VS2005, .NET 2.0, SQL Server 2005.
I have a gridview on a page and I am binding (autogenerate columns = true) a datatable to it. Unfortunately, I have no choice but to have the autogeneration = true because the columns in the gridview will be different for different classes of users. Anyway, I have 2 columns which specify the path of an image .../folder1/image.jpg and I wish to convert these to columns displaying the image as opposed to a path. Any ideas on how to go about this. Should I add a new image columns and mirror the values from the other column.
Also, I need to implement sorting for all columns in the gridview. How can I specify a sortexpression for each column? The gridview will have 0 columns.
I am developing in VS2005, .NET 2.0, SQL Server 2005.
I have a gridview on a page and I am binding (autogenerate columns = true) a datatable to it. Unfortunately, I have no choice but to have the autogeneration = true because the columns in the gridview will be different for different classes of users. Anyway, I have 2 columns which specify the path of an image .../folder1/image.jpg and I wish to convert these to columns displaying the image as opposed to a path. Any ideas on how to go about this. Should I add a new image columns and mirror the values from the other column.
Also, I need to implement sorting for all columns in the gridview. How can I specify a sortexpression for each column? The gridview will have 0 columns.