|
hi
i want to make a web application which can do some thing like send some emails on the specific time automatically without calling the application by any one means at specific time server automatically call that file and that sends the email
i didn't got any idea that how to do so can some guide me that how to do this
thanks in advance
regards
shezi
|
|
|
|
|
You are describing a "Windows Service[^]". This has nothing to do with Web Application and therefore ASP.NET is not relevant.
led mike
|
|
|
|
|
Actually i want my application to send birthday cards on the birth date of the member so i actually don't know what to call it exactly if u can explain some...... i m using asp.net (c#)
shezi
|
|
|
|
|
why we will give connection srting in web.config and please mention the code or syntax.
I Mohammed Abdul Nasar,my qualification is Msc(computer science),working in top mnc.
|
|
|
|
|
Hello all
I have a one doubt regarding the asp.net
1)when i try to open my asp.net project i am getting this error
visual studio .NET has detected that the specified web server is not
running ASP.NETversion 1.1. you will unable to run ASP.NET web
applications or services.
So kindly suggest to avoid this and open my project
hai all please clarify my doubts
|
|
|
|
|
You may have two versions of .NET framework.
|
|
|
|
|
my .net farme work is 1.1 version only
could tell me clearly
hai all please clarify mny doubts
|
|
|
|
|
Go to IIS and browser to Default Website.
Then open the Properties of Default Website.
In the Properties Dialog go to the ASP.NET tab.
There you can see a Drop-down box for ASP.NET version.
Check whether it is set or not or check whether it has more than one version.
|
|
|
|
|
Go to IIS and browser to Default Website.
Then open the Properties of Default Website.
In the Properties Dialog go to the ASP.NET tab.
There you can see a Drop-down box for ASP.NET version.
Check whether it is set or not or check whether it has more than one version.
hello sir...
i open the Properties of Default Website.
but i didn't get the asp.net tab so please tell me
if i check the default website is in stop mode
Many Thanks!!!!!!!!
hai all please clarify mny doubts
|
|
|
|
|
sir
how to register the aspnet_regiis-i
in command prompt
Many Thanks
hai all please clarify mny doubts
|
|
|
|
|
Ok so I have a site which is made up of several pages. All pages use one single masterpage file and this is great because I only have one file to make global changes. I need to put a Google Map on one of my pages but the thing is this means adding a chunk of Javascript into the head of the page and a OnLoad function in the Body tag. Now obviously all other pages produce an error because they dont have the map div required to put the map in.
How can I avoid creating a seperate master page and dynamically produce the Javascript when needed. I can managae the Javascript in the head of the page using; ClientScript.RegisterStartupScript. but what about the Onload function. How can I add that in to the body tag dynamically??
This is the second time I have had this problem and was unable to find an answer the last time. Would greatly appreciate any feedback on this one. Thanks
|
|
|
|
|
Sam Heller wrote: but what about the Onload function. How can I add that in to the body tag dynamically??
There are two ways that come to mind:
+ You can use javascript to register the client side function for the onload function of the body element.
+ You can mark the body element with the runat="server" and then you can define a body property (with the HtmlGenericControl) in either the Master Page or a base Page class. Now that you dynamically add your own script to the body element using the Attributes collection.
|
|
|
|
|
Ok thanks that seems to work great. For those interested i used a select statement like this to add the onload and onunload events.
case "/prototype/map.aspx":
//Add in Google Maps code
BodyTag.Attributes["onload"] = "load()";
BodyTag.Attributes["onunload"] = "GUnload()";
break;
The google maps code was then added using
Page.ClientScript.RegisterStartupScript(this.GetType(), "MyScript", myScript, true);
|
|
|
|
|
Hello,
I have a DataGrid (bound to a table) which outputs like this:
JobName - FullTime - PartTime<br />
=============================<br />
Dentist - 1 - 0<br />
Doctor - 1 - 0<br />
Baker - 0 - 1
I use 3 BoundColumns, as such:
asp:BoundColumn DataField="job_name" /<br />
asp:BoundColumn DataField="full_time" /<br />
asp:BoundColumn DataField="part_time" /
My question is this: How can I replace the 'FullTime' and 'PartTime' columns with a single column, which contains a string, either 'Full Time' or 'Part Time'?
I cannot make any changes to the database here.
Thank you!
|
|
|
|
|
How do you populate the Datagrid. If it's using a simple SQL query then you can append fields together to make a single field.
|
|
|
|
|
Like Sam said, you can populate a single field in the sql command and then bind it to the column. In addition, there are a couple of options here:
+ You can use a single column and use the ItemDataBound event of the grid control to specify the value for each cell of the column.
+ You can use a template column and put your data binding expression there to determine the value of the column from two fields full_time and part_time.
|
|
|
|
|
Hi all, I'm having what appears to be a very simple yet irritating problem.
I am using .Net 2003 with version 1.1 of the framework and I've installed the service packs. I am using VB as the programing language.
My problem is that a comma is appearing out of nowhere when I grap the .text value from the text box. For instance, let's say the user types "ABC" in the server side text box control in my web app. The value returned to my application is "ABC,". I do not know where the comma is coming from and can only imagine it is a bug of some sort. I haven't been able to find any documentation on this and was wondering if anybody has come across this problem. If so, is there a fix? I can use the REPLACE function for any comma's, but would rather not do that in the event a comma is the desired text.
Thanks a lot!
|
|
|
|
|
I've nevr heard of this happening, and I've done a lot of ASP.NET 1.1. Can you post the relevant code ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for the response, but it concerns me that nobody's seen this.
I'm actually dynamically creating the text boxes and feeding the .text into a Crystal report as a parameter. However, even if I use some simple code, I get the same response. For instance...
dim x as string
x = textbox1.text
cache("text") = x
I redirect to the new page and in the page_load event, I have
label1.text = cache("text")
The label displays the text as "ABC," or sometimes ",ABC" (assuming ABC was typed into textbox1). Now, if I put
x = textbox1.text.replace(",",""), the problem goes away.
|
|
|
|
|
How can i disable a hyperlink column when the value inside is 0
Lets said is a monthly display and tehy are going to be reference to another page according to the value if the value inside the column is 1 or more i need to be hyperlink bu tif the value is 0 i do not need it to be hyperlink.
How can i achieve this
Thanks
|
|
|
|
|
If I can understand you correctly you want to disable the hyperlink in the column based on whether the value of the cell is 0.
First, you probably don't want to disable the entire column, only the individual cells in the column. You can use a template column to create a hyperlink or not depending on the value. You could also handle the databinding events such as ItemDataBound and configure the cell there.
only two letters away from being an asset
|
|
|
|
|
Yes that is right i need to disable the individual cells.
How can i use the template column sto let it know that it need to be able only when the cells has a value of 1 or more
Thanks
|
|
|
|
|
<TemplateColumn>
<% if cell.value == 0 %>
<asp:Hyperlink
<% else %>
<asp:Label
</TemplateColumn>
only two letters away from being an asset
|
|
|
|
|
I've been putting together the first pages of a site and clicked the debug button and get a message that I can't debug. In going through the exercise of settings to debug I come across a page of system requirements- ASP.NET Debugging: System Requirements. It lists Visual Studio Edition,,Express, Standard and Pro/Team. And has a nice list of "no's" for visual basic, C#, C++ J# and Visual Web Developer beside express.
I have difficulty believing MSFT goes to the trouble of writing the visual web development 2005 express application and doesn't have any way to debug it, except to buy a Professional edition of Windows XP. I have the Windows Media Center Edition of Windows. Further down the page it lists Windows XP Professional as needed for local debugging. Which is unfortunate. Too bad when I downloaded VWD express it didn't say I need a professional version of windows.
I am sure I don't need all of windows XP Professional. I'll bet I already have a lot of it, whatever it is. Is there some way of getting the routines I need for debugging and not loading an entire operating system into a computer that works fine as it is?
Mark H.
|
|
|
|
|
have you checked out the video on debugging here :[^]
|
|
|
|