[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Gridview

Posted on 2011-10-25
2
Medium Priority
?
316 Views
Last Modified: 2012-05-12
Hey guy i need to do a gridview with paging and soring from a datatable, and i need css for for the gridview.

i am using c# code.

Please help.
0
Comment
Question by:JCWEBHOST
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 1000 total points
ID: 37024503
All the examples you need for binding and paging:
http://asp.dotnetheaven.com/aspnet/doc/ctrlref/data/gridview.aspx

Example of Styling, use a skin file:
http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx

Example of GridView skin:

<asp:GridView runat="server" BackColor="White" >
      <AlternatingRowStyle BackColor="#D1D1D1" />
      <HeaderStyle BackColor="Black" ForeColor="White" Font-Bold="true" />
</asp:GridView>
0
 
LVL 36

Assisted Solution

by:Miguel Oz
Miguel Oz earned 1000 total points
ID: 37027479
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question