|
Sam,
Yes, you are right. I alreay solve my question by using javascript to show/hide group rows in gridview.
I have another question, why the grid always has one more empty row as last row of the gridview grid, how can I avoid it?
Thanks!
|
|
|
|
|
Same,
just like the example in the link you reply, if I expend two category, and keep other collapse, after I click sort button, I still want to keep these two category expend, how can I do that? Do you have any example to this case?
Thanks!
|
|
|
|
|
I have problem whenever i run the Javascript from vb codebehind the script runs after the if condition and msgbox is displayed
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Page.ClientScript.RegisterStartupScript(Me.GetType(), "alert", "compute();", True)
if x > 10 then
..........
else
...........
end if
msgbox "asdfasdf"
End Sub
|
|
|
|
|
hi their,pls anyone could explain me what is cache and how can we implement it in our code?
|
|
|
|
|
|
|
Hi,
ASP.NET caching enables you to create high-performance web applications. You can cache individual objects such as DataSets, and you can also cache objects that you have created yourself. If you have a ASPX page that contains lots of work behind the scenes, you can also do page level caching, or sections of a page if you have user controls inside that page.
When to use caching
If you are recreating information on each page request, caching might be a good idea. But before you go cache-happy, think about how this will effect your application. For example, a news related site might not want to cache its front page for longer than 1 minute, while the actual article can be cached for much longer.
Please check this article:
http://msdn.microsoft.com/en-us/library/18c1wd61(VS.71).aspx
|
|
|
|
|
Search on google or check msdn...anyway r u a beginner then buy a .Net book
|
|
|
|
|
hi their,I wanna to know about state management in asp.net 2.0(c#)
pls tell me why we need it actually?
thank u
|
|
|
|
|
|
man man hey start reading .net book and if u have problem in implementing then post message
|
|
|
|
|
Hi there,
I have a database in access and it contains 10 tables.
I have managed to get a selected table to disply on a webpage using Visual Studio, the Access data source, and the Grid view.
in the grid view I have selected one out of the many tables I have. This displays without a problem
What I am looking to do now is to have the option for the user to select individual fields then the table will reflect the fields selected.
i.e
there is a table with 4 colomns.
1.Car make
2.Car model
3.Engine size
4.Car colour
I presume you will need to use the drop down list.
So in the ist dropdown list the user selects the car make. this will then inturn display all the cars of that make in the grid.
The user can then go on to select a car model, which inturn will select all the cars of that make and model.
the same goes for engine size and colour.
I would like the database to have this functionality for no matter what the select, i.e if they select the car colour first , the table will then show all the cars/makes/models/engine size of that colour.
What is the best way of doing this with access and asp.
Thank you
|
|
|
|
|
So, do I understand that your result table will always display the following columns ?
Make, Model, Engine Size, Color
If so, then you would create 4 drop down lists which would be used to filter the results grid.
Start with this,
1) Place a combo box on your page and fill it with distinct values of car makes.
Your SQL would be something like: "select distinct make from myTable order by make"
2) Create code for the combo box "SelectedIndexChanged" event that would build a new SQL string including the selected value from your combo box in the where clause. Your SQL would be something like "select * from all_cars_table where make = combobox.selectitem"
This should give you a direction to start in ...
Good luck.
|
|
|
|
|
Thank you, that does seem like the most appropriate way of doing so. The problem is I have no idea about SQL or many other programming languages. I am a massive beginner and dont know how or where to start
Im using Visual studio 2008 and Ms Access 2008.
I will have around 100 different makes of cars.
|
|
|
|
|
|
Hi Guys
I'm starting work on a project that is a larger scale to anything I've done before, and it is probable that we will be deploying it to clutered servers...
Do I need to do anything special to account for this in the app? or would I just carry on developing as though it was a single server web application?
Thanks in advance
oooo, the Jedi's will feel this one....
|
|
|
|
|
You must have system intergration plan document/deployment document(deployment environement related stuff doucmented)/design documents in your project which should be having all these information. Your question does not reflect any specific technical query however which is general to technical forum.
Please correct me if I am wrong.
Thanks,
Arindam D Tewary
|
|
|
|
|
Thank you for your reply.
I'm sorry. I don't think I was very clear with what I'm after.
This is my first large scale application. Everything else I have done has been happy running on a single server. This project is to run on clustered servers, so I was wondering if I would need to code to account for the multiple servers (Data Access etc), or if I should just code as I would have for a single server solution? I don't know if the cluster would take care of itself, or if I need to take care of it programatically.
This is probably a silly question, but I'm self taught, and have never tackled this kind of thing before.
(I may be in a little over my head... )
oooo, the Jedi's will feel this one....
|
|
|
|
|
If your application is deployed over multiple server then you might keep in mind some below mentioned points as a developer.
(1) There are load balancing software which handles incomming request.
(2) if you know that your application redirects http request across multiple domain, then you should use Response.Redirect(). Otherwise server.transfer for new redirection in case you need that.
(3) Even if you use session variable you have to store Session data in a centralised database/server so that redirtion across multiple server(domain) does not loose any session data. I would post if some more points I can provide to you in this thread.
Thanks,
Arindam D Tewary
|
|
|
|
|
Thats a good point about the session data. I didn't think about that. I suppose session data would no longer be any use unless stored in a database or maybe in cookies? to cope with the possibility of a different server serving up your newly navigated page from the previous page.
That has given me a good start. Thank you.
oooo, the Jedi's will feel this one....
|
|
|
|
|
You are welcome.
Thanks,
Arindam D Tewary
|
|
|
|
|
See As per development point of view, if your application is going to be on multiple web servers, then you have take extra care about those items who resides in server memory like session,application variables etc.You should use DB to store most of the data. Application variables should not be used in case of multiple servers. And for session, it should not be in InProc mode.
For details about session, Exploring Session in ASP.Net
Rest thing like how your application is going to accessed by endusers ie url, how you are going to connect to DB and other server if there, should be taken care by H/W guys
|
|
|
|
|
Great. Thank you.
oooo, the Jedi's will feel this one....
|
|
|
|
|
your welcome
|
|
|
|
|
hi people
i have this issue , and am seeking solution
i want to prevent user from making changes to querystring coz i pass some parameters
i tried the querystringmodule that encrypt the query string but no luck coz if the user opened the page source he will see all the links.
i also tried some mod-rewrite or url rewrite , but its complex and also can be changed by user (its not secure, its just makes the query string pretty )
now i used iframe in home.aspx page and the src is my login page of the application , so the user see only home.aspx in the address bar
but the problem is that the user can open the iframe content in any new window so i need to prevent any access to the application that comes from other windows (not from the iframe).
please give me ideas or solutions
thanks
|
|
|
|