|
I guess after I install .Net 2.0, the IIS(5.1) got confused? If I type URL http://localhost/myasp.aspx that used to be working under the default web site not working anymore. the web application that I build using vs 2005 automatically assign a port# and having no problem. Any thoughts?
thanks,
|
|
|
|
|
mhp130 wrote: If I type URL http://localhost/myasp.aspx that used to be working under the default web site not working anymore.
What exactly do you mean by "not working"? What error message do you get?
You can try to reregister ASP.NET in IIS using aspnet_regiis.exe -i
mhp130 wrote: the web application that I build using vs 2005 automatically assign a port# and having no problem.
That is using the built in web server in Visual Studio, not IIS.
---
Year happy = new Year(2007);
|
|
|
|
|
Hey Folks,
I'm trying to get a name and description to store with a stream I'm writing to a database. I thought It would be easy to query the user with a dialog box to get the name and description just before I save all of it to the database. Unfortunately I can't fiqure out how to do that.
Thanks a bunch
dan
|
|
|
|
|
You use the window.prompt function in Javascript.
---
Year happy = new Year(2007);
|
|
|
|
|
Thanks but I'm sorry I'm trying to do this from within c# on a given event. Any suggestions.
Thanks
agin
|
|
|
|
|
If you want to interact with the user you have to go back to the browser.
---
Year happy = new Year(2007);
|
|
|
|
|
I don't know what you mean "If you want to interact with the user you have to go back to the browser."....
|
|
|
|
|
Try this
if(condition)
dosomething();//code here
else//if condition fails give the prompt
{
string selectwarning="alert(\"Please Select user\");";
Page.RegisterStartupScript("selectwarning",selectwarning);
}
|
|
|
|
|
It means that you can not interact with the user in the server code, any interaction is done in the browser. If you want to ask the user anything, you have to put it in the response that is sent to the browser, and then handle the answer from the user in the next request.
---
Year happy = new Year(2007);
|
|
|
|
|
Guys,
I have a web based 3-tier application in Asp.net 1.1 and Sql server
2000. We have decided to go from 1.1 to version 2.0 and SQL 2005 as the backend .
I am very confused about which codes go where... Any advice is greatly appreciated.
I have the data layer and business layer classes for each object used
in my application in a separate class project (C#) in version 1.1.
I was wondering if I have to put all the data layer classes(with methods
to access stored procedures) in App_Code directory. I understand that
the App_Code contents get compiled dynamically. So, is it ok to put the
entire datalayer for the application into this directory?
If not, how do I organize the data layer and business layer classes? Please note i am refering data access layer in Buzz layer through dll reference.
I appreciate any advice and direction with links to articles or books.
Thanks in advance.
Amit Gugnani
|
|
|
|
|
You can keep the code in separate projects.
---
Year happy = new Year(2007);
|
|
|
|
|
then how will take the benefit of APP_Code folder?
|
|
|
|
|
What benefit?
---
Year happy = new Year(2007);
|
|
|
|
|
Maybe his question was meant like "then what is this App_Code folder for" ?
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
|
Hi ...
How can i fill ListRorder control from SqlDataSource using C# code (not HTML).
Thanks
|
|
|
|
|
I am building an employee search application in C#.NET.
How do i search within a keyword,e.g if i am searching for an employee named Jonathan, it should be listed if i enter Jon. Please suggest any queries to be included.
|
|
|
|
|
hello,
u can make ur query as: like "john%"
Thanks alot
Hamody
|
|
|
|
|
Sorry but this doesn`t work when using a stored procedure and using the passed parameter as the value field.
Here is what i did...
Alter procedure Emp_proc
(
@fname nvarchar(20),
@lname nvarchar(20)
)
as
Select * from Employee where fname like '@fname%'and lname like '@lname%'
|
|
|
|
|
hi friends i am very new for ajax I just want to know what is ajax , why it is use and Please give me some refrance links for study of ajax
|
|
|
|
|
Refer asp.net.
And AJAX is a tech used for async call to server. Async means without page post back you can call server code. E.g you need to fill different dropdownlist without post back.
In classic ASP time, we do the same by using HttpInit.
In both the cases, from page you call javascript and from javascript you create server page request and as a coder your control the response.
This is one of the feature of AJAX toolkit, but many more. So please refer AJAX on asp.net.
I hope this gives u some idea...
Good Luck,
Amit Gugnani
|
|
|
|
|
Just to add www.asp.net and in Asp.net 2.0, callback features are in built. )
|
|
|
|
|
a very intresting article[^] right here on code project
|
|
|
|
|
hi friend's i am dealing with datagrid ,i am using item templte to show data
I use a table in one item templete and in that item templete i have 3 rows 5 columns. i have 3 buttons inside that itemtemplet itself .
I want to edit the content inside datagrid using on that buttonclick event.
how to do that.
Initially i took edit templete and edit command to update records.the problem
is doing with this is if i took edit command then edit button comes in next column and i want edit button inside same column between records
please tell me how to do this
it is urgent
thanks in advance.
Makarand Jadhav
|
|
|
|
|
hi
place the edit button code inside the next col. code and let me know. please send me the sample html code. for further assistance.
|
|
|
|