Asp.Net GridView 4

Assalamualaykum Wr Br…GridView displays data directly on to the page with out any proper style as shown below:
If we apply style over to gridview as shown below:

<div style=” height:100%; width:100%; overflow:auto;”>
<asp:gridview runat=”server” id=”gv1″ >
…respective columns…
we get scroll bar when data exceeds than specified height and width on page.
Note: the syntax is pure sensitive, if you miss any colon (:) or double quotes (“) or semi-colon(;) then that does not reflect on UI of Page.
Thats all for the day…hope would be useful in future…
Jazakallah Khair…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s