>>>>Hi everybody,
>>>>
>>>>In the source code window in VS 2005 I want to code the method which fires when you navigate through the grid.
>>>> First of all, I don't know the method's name,
>>>
>>>Is this the WebControls.GridView. If so then, IIRC, there's PageIndexChanged and SelectedIndexChanged (amongst others)
>>>
>>>
>>>but secondly, I could not figure out how to show all available methods for each particular object.
>>>>
>>>>How can I do it?
>>>
>>>The events are all listed in the Properties window (click the button with the lightning icon)
>>
>>Thanks, got both answers already in the other forum, but selected index didn't work for me for some reason.
>
>Didn't fire when you clicked the SelectButton?
>
Actually, the whole deal is described here
http://forums.asp.net/t/1232110.aspxUnfortunately, I can not even test anything, because we're using Remote connection to the server and it times out every time.
So, I'll post another thread in SQL Server forum in a sec., but just in case, how can I use two connection strings to switch between development/local?
The connection string is in web.config
>>
>>Also it's a bit inconvenient to switch back and forth, e.g. in order to see properties I need to go to design view and click on a grid and then back to cs file. Found it a bit inconvenient, it would be good to be able to do it directly in the source code.
>
>You mean in the .cs window. Intellisense shold show all the options?
Yes, exactly.
If it's not broken, fix it until it is.
My Blog