Where is code generated by VS for Gridview

  • Thread starter Thread starter walanta
  • Start date Start date
W

walanta

Hi,

I use VS2005 to generate Gridview in aspx file.
But when I source aspx file and cs file. I don't see the lines.
I would like to modify code base on the code generated for me...

Can you help . Thanks
 
There is no code generated to make a GridView, it is just an ASP.net control.
If you want to alter the functionality of the control, create a user control
that inherits from it.
 
There are a few things that can be modified w/the gridview. It depends
on what you need modified. To check those options, select the arrow on
the top right of the gridview control in the design view of the ASPX
page. If you need to change column formats (i.e., add $ signs, etc) or
hyperlink cells to different web pages or websites or similar, that can
be added in the source view of the ASPX page. Otherwise, follow the
advise that clickon gave. Hope this helps.

Regards,

Enrique Martinez
Sr. SQL Server DBA/Developer
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top