|
database: ASPNETDB in app_code that makes a problem... for me
i didnot use any external database .....
|
|
|
|
|
Show us the Code that Connects to the Database, thats not webpart problem.
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
i did not connect to database... i just download from net and i just upload in net but it is not working.....
|
|
|
|
|
Hi,
1) Whats the maximum number of web applications to be hoisted in XP SP2 server.
2) Can u detail of the count of each application(asp.net, php, jsp etc). Plz correct me if the last question is wrong.
Thanks,
S
Long Live
|
|
|
|
|
Member 781610 wrote: Whats the maximum number of web applications to be hoisted in XP SP2 server
I don't know, but you can have many websites. BTW, why you need to know this ?
|
|
|
|
|
I recently attended an interview. there they raised this question. Since i don't have any idea about hoisting i didnt answer this.
Long Live
|
|
|
|
|
Looks like your interviewer is a fool. I never heard some one asking odd questions like this.
|
|
|
|
|
or may be he want to make him confused !!!
|
|
|
|
|
It'll be better if you'll explain your requirement.
Cheers!!
Brij
|
|
|
|
|
Hi thanks for the reply.
Its just a question asked to me in a recent interview. Since, i don't have any idea abt hoisting i'm unable to answer this question.
S
Long Live
|
|
|
|
|
|
How many app each of them can hoiseted viz., ASP.NET, PHP, JSP
Long Live
|
|
|
|
|
Is it just me or is retrieving profile/role info for a user incredibly slow? I used some code that creates an ODS for membership, profile and role info and tried to show all users in a grid on a small site with about 110 users and it takes 2m25s to do it.
Admittedly that's a local asp.net test server fetching from remote MS SQL DB over my 1Mb/s ADSL, but even when both web and db servers and colocated, it's not much better. Generally, why would I not store most user info in a table of my own making with loweredusername as the key?
|
|
|
|
|
Hello everyone,
I am a 4th year student of electronics & tele-communication engineering. I want to develop a customised client-server application for voip usage for our college LAN. We have PAP2T Linksys ATA's and want to develop an web application wherein students can initiate and access voice calls among themselves.
Someone advised us to use asp.net for the server side programming and asp.net ajax for client side. Since I am relatively a novice in programming, having only done coding in C++, .NET framework is entirely a new ballgame.
Can someone please advise on how to initiate this task and possibly advise us on how to go about developing this application.
Any inputs/aids/tips will be deeply appreciated.
|
|
|
|
|
Well, have you discussed this with your faculty? This post assumes this is for a project and the faculty should be the ones you consult with on what to do.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi Paul,
Thanx for the prompt reply. I think my post could have be a bit misleading. Well this is a project which I have undertaken for the fulfillment of the end-semester curriculum. This idea for the student project was duly vetted by my faculty, and in fact one of the faculty members advised me to take the recourse of ASP.NET.
Hope this should clear things up.
|
|
|
|
|
I wrote this code for getting the id of every row in gridview when a button click.I don't know what code should i write for loop(because maybe a user click on several button to order a product).I want to when a button click the Id of it store in a list.
protected void grid_product(object sender, GridViewCommandEventArgs e)
{
string currentcommand = e.CommandName;
int currentrowindex = Int32.Parse(e.CommandArgument);
string productid = GridView1.DataKeys[currentrowindex].Value;
}
|
|
|
|
|
You could store the data in an arraylist and store that arraylist in the ViewState similar to:
public ArrayList GetProductList
{
if(ViewState["ProductList"]==null)
{
ViewState["ProductList"] = new ArrayList();
}
return (ArrayList)ViewState["ProductList"];
}
public void AddProduct(int productId)
{
if(ViewState["ProductList"]==null)
{
ViewState["ProductList"] = new ArrayList();
}
((ArrayList)ViewState["ProductList"]).Add(productId);
}
Then when you want to add something to your product list you can call it using
AddProduct(productId);
And you can cycle through your ArrayList:
foreach(int productId in GetProductList().Items)
{
}
I'm not at my workstation at the moment, but this should help you get started on your problem.
Best of luck!!!
Cheers
Disgyza
Programmer Analyst
|
|
|
|
|
I want to store Id in a list and list in a session.in another page I want to use these id in a gridview.my code is for shopping cart.
|
|
|
|
|
And? Just extract the list again as shown in the demo code ..
If you want to store it in the session then change view state for session!?
Not rocket science.
I'm largely language agnostic
After a while they all bug me
|
|
|
|
|
Hi All,
My web application is having the path C:\Inetpub\wwwroot\Gospel and the admin part is in C:\Inetpub\wwwroot\Gospel\Admin,i have run the admin paart successfully.After finishing it ,i started developing the end user part which comes directly under C:\Inetpub\wwwroot\Gospel.The web.config file is in C:\Inetpub\wwwroot\Gospel\admin now and when im trying to run the project C:\Inetpub\wwwroot\Gospel it gives an error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS." Before adding end user part to the project this error was not coming.Can anyone help me out in this .
Thanks in advance
|
|
|
|
|
I always avoid createing my Virtual directories inside Inetpub folder.
Go to your C:\ and Create a Folder "Gospel". Go to your IIS and Add a new Virtual Directory from there and point to the Gospel Folder in your C:\. That is how you should create a Virtual Directory. if you did not do this when you created your VD then it was not a Correct way
hope it helps
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi all;
i'm new with the crystal report tech
plz told me
how can i Pass parameters into a Crystal Report from asp.NET page using c#
and how can i print this report by code
Kareem Elhosseny
|
|
|
|
|
|
I am creating a Custom Server Control, where one of the properties should be the data type of another property
for example:
for an instance x of my control, I need the user of my control to be able to write something like:
x.property1 = "abc";
x.property1Type = System.String;
So, how to define property1Type within the class
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|