|
you can use the popup window to show the calendar.
and use javascript to show the selected date in the textbox.
Pankaj Gupta
(Take it easy)
|
|
|
|
|
Thanks your reply but i dont want prepop up window
|
|
|
|
|
|
I'm wanna write web application that can control the iis,such as create virtual web site,set virtual directory,configure parameters,delete virtaul web site.
whether .net 2.0 have provide the such class??
where I can find such component??
have other method to finish such work??
whether you have wrote such application?can you teach me how to do??
KSCsoft
|
|
|
|
|
Hi All,
I have faced a problem, When i export more than two thousand records from database to an excel Sheet an error occur . I take data into a dataTable and export it.
The error is :
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. "
In the event viewer i have seen the the error 'aspnet_wp.exe (PID: 2320) stopped unexpectedly.
my Operting system is Windows 2000 server and ASP.NET version is V1.1.
Plz find me a solution for the same.
Thanks you
Regards Difin
-- modified at 5:35 Tuesday 14th November, 2006
|
|
|
|
|
Is it Oracle? If so, don't use their data provider due to memory leak issues... use what Microsoft offers: System.Data.OracleClient
You can also try and re-install the framework, that might help.
Nila
|
|
|
|
|
Hi
Thank you for the reply.Here i am using SQL Server 2000 and sybase server. In both cases the same error shows. I have reinstalled the framework and reinstlled ASP.NET,still same problem exists,"server application not avaialable".The Export to excel functionality exports nearly six thousand rows with out any problem. If the number of rows exceeds more than this it shows the error.
Thanks and Regards
Difin
|
|
|
|
|
This sounds like a memory leak. And when you recompile your project and upload again the site is back up (or at least until someone exports another 6000+ records) right? Try to push the data as CSV and see if it makes a difference. Also make sure your servers are up to date with the service packs and patches (sorry if I sound foolish… Im not familiar with sybase )
Nila
|
|
|
|
|
Hi,
I have a dropdownlist that gets populated programmatically from a datasource.
However, depending if the user is a admin user, I want to add 2 more list items to the
Here is my code on how I add the list items programmatically to that list:
<code> drpStatus.Items.Add("Admin")
drpStatus.Items.Add("Global")
</code>
Problem with my code is, the value and display of the list item is the same. My value and display text differ. I need to have something like(excuse the code, but it does not render correctly when posted:
<code>
<asp:DropDownList ID="drpStatus" runat="server">
<asp:ListItem Text="---Select from list---" Value="0" />
<asp:ListItem Text="Admin" Value="A" />
<asp:ListItem Text="Global" Value="G" />
</asp:DropDownList>
</code>
How can I do this?
|
|
|
|
|
playout wrote: something like:
Something like what?
If you are using html tags then check the box "ignore HTML tags in this message (good for code snippets)"
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi, I changed my message. Thanks for the tip on the tags!
|
|
|
|
|
you can do it like this:
ListItem li = new ListItem("test3,t);
ddl.Items.Add(li);
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks Apurva,
I got it to work.
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
OK i think you want to add value also if i am not wrong
try this
ListItem items = new ListItem("Admin", "A");
or you can do this way also
ListItem items = new ListItem();
items.Text = "Global";
items.Value = "G";
Add to the DropDownList
DropDownList1.Items.Add(items);
Is it fine ?
Send your reply
|
|
|
|
|
Hi,
Yes, thank you, this worked too.
Thanks for the help.
|
|
|
|
|
You can use this one line code
DropDownList1.Items.Add(new ListItem("test","t"));
Pankaj Gupta
(Take it easy)
|
|
|
|
|
Hi
When I tried to search files using the code given below
Dim f() As String = Directory.GetDirectories(path)
it is generating an error like
"Error : Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed."
I am getting the issue even if I specify the folders which is having full access.
I am using asp.net using vb.net in my program.
Please show me the right way to solve this.It is much appreciating..
Thank You,
RPM.
|
|
|
|
|
Are you trying to search system folder ?
if you only want to get files from the folder try this code
DirectoryInfo di = new DirectoryInfo(path);
FileInfo[] fi= di.GetFiles();
|
|
|
|
|
Hi Sandeep,
Thank much for the quick response and information..I tried that but still I am getting the same error..It is going to catch while executing the "DirectoryInfo" code,where we are getting the directory..
How I can resolve this...?
Thanks,
RPM..
SoftwareDeveloper(.NET)
|
|
|
|
|
Are you trying to search system folder ?
or any internet tool folder or your own local folder
reply
|
|
|
|
|
In my search I am trying to search only my own local folders and some folders are in network..
For example //Myserver/users/fname
Thanks,
RPM.
SoftwareDeveloper(.NET)
|
|
|
|
|
OK i think problem is the security of the folder do one thing
first try to search your local folder such as C:/foldername ok
and be sure that you can access this folder from asp.net application
to check this try out following
1) reight click the folder go to properties then click the security tab
2)In group or usernames see the following names are added or not
ASP.NET Machine Account[userid\ASPNET]
also check Debugger Users[debugger\Debugger Users]
if they are not present then you have to add them by clicking add button
|
|
|
|
|
Hi Sandeep,
Thanks a lot for your responses...
I followed the steps,but when I tried to add the specified groups,I couldn't find them in the drop down.....
What I should do...
Thanks,
RPM.
SoftwareDeveloper(.NET)
|
|
|
|
|
hi friends
how to generate events for inner grid using asp.net 2005
prasanna
prasanna
|
|
|
|