If your using VWD you need Click Website, Start Options, click the Build node, change Target Framework to the one you want, click OK. You should rebuild the project, then close it out in VWD2008 before reopening in 2005.
Don't you have a database that you can use for this? It's more stable and much more scalable, which is important for a high load application.
Despite everything, the person most likely to be fooling you next is yourself.
There's no control for this, but you can just show/hide your grids when the links are clicked.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
DataViews have a Table property to return the DataTable that is associated with it. So you would get reference to the DataTable like... DataTable dtData = ((DataView) Cache["AdminGrid"]).Table;
when you want to change your sort direction, aren't you have to bind the data again? that process will bring you back to page index 0, isn't it ? well if you want to go to certain page, just assign that certain page index at gridview.currentpageindex ... hope it helps..
You are correct, there is no option for App_Code, I just ran into this the other day. You can simply make a folder manually by that name and asp.net will recognize it as something to be compiled separately. However if you are making a web application rather than a web "site" it won't matter where you put the classes as they will be compiled into the entire assembly anyway.
When everyone is a hero no one is a hero.
ss.mmm wrote:
There is no App_Code folder when I try to create a new ASP.net folder for my project. Please help me.
Right-click the website item in the Solution Explorer. Go to 'Add ASP.NET folder' and select 'App_Code'.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
ss.mmm wrote:
TreeNode _Del = new TreeNode(); _Del.Text = "Administrator"; _Del.NavigateUrl = "~\\Form1.aspx";
as you are navigating to the same URL, so quick fix is to add a parameter in the URL like: _Del.NavigateUrl = "~\\Form1.aspx?node=1"; and _Del1.NavigateUrl = "~\\Form1.aspx?node=2"; and in the code you can show and hide the panels based on node.
-----
ss.mmm wrote:
with protected functions?
What do you mean by protected functions ?
ss.mmm wrote:
ViewState, Session
I prefer session if the DataSet contains less amount of data. Viewstate will increase network bandwidth.
ss.mmm wrote:
Cache?
This can be used, but multiple users who visits your page at same time will get same results.
My Website | Ask smart questions
Generate JavaScript in your server-side code that declares and assigns values to some global variables and use the ClientScriptManager class to include the JavaScript code in your HTTP response.
Paul Marfleet
It depends, what is gridViewId ? The id you assign on the server is not the one used on the client. You need to do something like var gridViewId = '<%=gridview.ClientID%.'; to create the variable you use to find the element by it's id.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
There's no such thing as MDI in ASP.NET. Just add the textbox and button and set their visibility. Or make the user control, it's not hard.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )