ASP.Net Gridview Filtering and Display
Posted on 2011-03-23
I have a two questions. I was not sure if I should split them up or not. But I have a gridview in asp.net (c#). The girdview's datasource is a SQL Server view. I want to filter the gridview for the currently logged in user. I am using the membership model. How do I filter the data?
Second, with that same gridview, I want to dispaly the data in 2 columns. Is there a way to do this? It's returning only one column from the view, but the results can be many records. I'd ike to display it in two columns so it does not take up to much real estate. Thanks.