Sunday, August 2, 2009

How to pass a DataSet across projects to a GridView in ASP.NET 2.0?

I am using the new Visual Studio 2005 and ASP.NET 2.0 (C#) to create a 3-tier web application with the middle tier (business logic and database access) in a DLL file created in a separate project in VS2005 from the web site. How do I pass data back and forth between the DLL and the web site to populate a GridView component and still be able to do the standard Update, Insert, Deletes on the data? All the examples in books and on the web assume that your data source objects are located in the same project as the web site (2-tier design and a bad practice).





I can create and pass a standard DataSet object and then link it to a GridView using DataSource/DataBind. This displays data, but when I click the built in Edit/Delete links, nothing happens (screen just reposts, no errors). I assume that I have to add some code in the update/delete event handlers, but what? And how do I pass the modified data back to update the database? Books, websites, examples? Help!

How to pass a DataSet across projects to a GridView in ASP.NET 2.0?
You would have to create a custom Update and delete button when working with a data set. create a template column and have your update and delete buttons there.





In your Gridview databound event make sure you specify the row of the grid to the command attribute of the buttons. That way you know which row you are clicking. Then when you click update or delete in the appropriate event just update the database. then make sure you databind your dataset again before you display your grid so that the changes will reflect on the screen.

stalk

Where can i get a rottweiler for my best mates birthday please help me i need one asp?

Whatever you do, DO NOT get an animal for your friend's birthday unless they have asked for one. If they aren't expecting it than they aren't ready for the responsinility and rottweilers are tough.


Can any one tell how to access Mysql database from ASp programming?

I am using MySQL and i want to access database with ASP

Can any one tell how to access Mysql database from ASp programming?
Do you know ODBC? I think MySQL has an installable ODBC driver which you can use to connect to a MySQL database. After you install the ODBC driver you configure a DSN for your datbase then use the ODBC objects of ASP to connect to the DSN of the database you configured.





URL:


http://dev.mysql.com/downloads/connector...


How do I add password protection to certain ASP pages.?

I have a web site I created for a friend and need to let him upload photos and text files so he can modify the content himself, but I need to password protect the pages. There only needs to be one account and it is unlikely that anyone would care to hack this site.

How do I add password protection to certain ASP pages.?
Just give him the password to the site since it is his anyway. All the pages are protected in my SiteBuilder. Don't know how to password protect single page without a software program specifically for that.


How many hours of work would be required to convert 63,000 lines of ASP scripts to Java (MVC architecture)?

We have an existing ASP/VBScript application consisting of about 500 files containing 63,000 lines of script. We need to convert this application to Java Enterprise technology in an MVC architecture, using Struts. How much effort might this require, like hours per script or hours per line of code, to convert to Java?

How many hours of work would be required to convert 63,000 lines of ASP scripts to Java (MVC architecture)?
industry standards vary, but i tend to quote 10 lines of code per man hour which includes all aspect of application development including design and documentation through testing and deployment.





of course some developers are faster than others. i can name that tune, er convert that code in 5 notes, er months Wink...
Reply:converting programming code is not as easy as converting from english to german or spanish or anyother language.





which means you have to also take care of logic. few things that can be done in ASP may not be possible in JAVA so you will have to use other tricks. Few logics will require a lot of time to undersand and may be it may not work in JAVA easily.





63K lines, 500 files is huge......... I will say it will take 60-70% time compared to the time required to do the project from scrach....





exact number of time required will require me to take a close look at the complication level and other details.





Regards,


Jaunty
Reply:Do not consider the answers posted here. It will only mislead you. Rather contact someone who is expert in both ASP and Java. Check http://k.aplis.net/

rose garden

What is the best book for learning ASP.net? Something that will give me scripts?

and has a CD. I also would like to build a shopping cart with ASP.NET.

What is the best book for learning ASP.net? Something that will give me scripts?
try one from the dummy's series.
Reply:try the books in library. usually they are the best ones because librarians try to buy the best books.





i got a book from my library about asp and i'm satisfied with it. it contains the code which i need
Reply:Try this site:


http://htmlgoodies.earthweb.com/primers/...


Down load the whole thing from msn.net they have instructions for ASP.net, too.


What is the compilation process in ASP.net application or how it is debugged?

What is the role of CLR and IL in the processing?

What is the compilation process in ASP.net application or how it is debugged?
http://samples.gotdotnet.com/quickstart/...





this link gives you a clear picture of wat is ASP.NET is all about.


Best site for Learning all about ASP.NET


How prevent sql injection in asp files?

I have some problems with sql injection. How can I prevent my sites from sql injections? Please help me!

How prevent sql injection in asp files?
Try to use confirmation (If,Switch .. loop)..to fix this problem


How can I add classic asp support to my webserver?

Support for ASP 3.0 is native to all IIS server versions from 4+. You simply start IIS and it works in its default configuration.

How can I add classic asp support to my webserver?
Classic ASP is supported on all modern Windows Server web servers. If you have a Unix/Linux based web server then you will not be able to run Classic ASP.





While there are some programs that try to run ASP on Linux, they do not have the full functions of the ASP that is found in IIS. And I do not recommend using ASP with Linux.





To enable ASP on a Windows Server or for Windows XP for that matter, all you need to do is go into Add/Remove programs and go to the option on the left that says something like "Add Components" and check IIS and ASP.

pink flowers

How to call a ASP program form within javascript?

Have a button, and on onClick event, call a javascript function, inside javascript function, what to call a ASP program. Does anyone know how to do it? what is syntax?





Thanks

How to call a ASP program form within javascript?
ASP is server-side scripting while JavaScript is client-side, so there really isn't a way exactly to call ASP on with an onclick trigger because the page has already been drawn and is static.





however, a work-around could be to have a form who's action is set to an ASP page and then using the following line from javascript you could submit the form that calls the ASP.





even if you did a post back to yourself you at least give the server-side scripting a chance to execute as it re-drew the page.





EXAMPLE:





%26lt;%


if request.servervariables( "request_method" ) = "POST" then


'the request_method is a great way to detect if you're


'being posted to or drawing the page for the first time


end if


%%26gt;


%26lt;html%26gt;


%26lt;head%26gt;


%26lt;script language=javascript%26gt;


function callASP()


{


document.myform.submit();


}


%26lt;/script%26gt;


%26lt;/head%26gt;


%26lt;body%26gt;


%26lt;form name=myform action=mypage.asp method=post%26gt;


%26lt;input type=text name=yourMiscTextFields%26gt;


%26lt;input type=button onclick=javascript:callASP();%26gt;


%26lt;/form%26gt;


%26lt;/body%26gt;


%26lt;/html%26gt;





hope this helps! good luck!








***JUST SAW YOUR UPDATE***


you could program your third button as follows:


%26lt;input type=button value=Click-Me onclick= javascript:window.navigate( 'pagename.asp' );%26gt;
Reply:i assume you want to call an ASP page... i'd probably do something like openWindows("/mypage.asp"); as your on click event code.. you may want to check the exact synatx of that but it should work.
Reply:Not able to get u completely !! Let me try ...





On Button Click u r calling some JavaScript function ..in the fuction...u can call the asp page ..by setting the action to ur asp page !!





Add some more details to ur question ..??
Reply:This doesn't make any sense. You can have javascript on an asp page, but you can't call an asp program from javascript. You can redirect to an asp page. ASP - Active Server Pages - not programs! Come on now
Reply:using Addattribute.


How to connect asp with linux based informix?

ASP pages are served by Microsoft IIS running on Windows, so you would install the Informix client on the Windows box and tell it the hostname / port / database name for the Linux Informix server. Then you can set up an ODBC DSN for the Informix database which you can use in your ASP coding.

How to connect asp with linux based informix?
We can provide you the code for doing the same.


Contact us at


http://expert.timecapsuleyahoo.com/


Email asp file a problem with IE no response?

I have a large asp file that keeps hanging up my computer. I have restored, reinstalled software, still have problem. Can I reset something to be able to read .asp files?

Email asp file a problem with IE no response?
you have to install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS) on your PC. It's too complicated to show you everything here so look here...


http://www.w3schools.com/asp/asp_intro.a...


How can I dynamically bind data to a textbox in asp.net?

I'm using Visual Studio 2005 and I'm looking for a way to programmatically bind data to an object such as a textbox using ASP.NET and VB script. I would really appreciate a quick how to?

How can I dynamically bind data to a textbox in asp.net?
MyTextbox.DataBindings.Add("text", MyDataSource, "MyProperty")





For instance:





txtFirstName.DataBindings.Add("text", dsEmployees, "FirstName")





Where dsEmployees is a DataSet and FirstName is the name of the data column.

night garden

How to display crystal reports in a popup window in ASP.NET?

I want the output of the crystal report in a pop-up window instead in the default web form itself. Can you tell me how can it be done in ASP.NET with C#.

How to display crystal reports in a popup window in ASP.NET?
Use a javascript function.





function whatever() {


window.open(' CrystalReport.aspx, 'Report', 'width=608,height=884');


}





I don't know the right extension for Crystal Reports..probably not aspx but you get the idea. Play with height and width as you like.





call it with a hyperlink


%26lt;a href="javascript:singleSend%26gt;





hope that helps


How can I use media player in ASP.NET with VB programming language?

I cann't take song URL from Database and make media Player to play it

How can I use media player in ASP.NET with VB programming language?
this explains it step by step, it's in C# but u can convert to VB.Net if you want... http://www.codeproject.com/KB/audio-vide...


How do I add this script to my ASP page when I'm using Dreamweaver?

I want to alternate row colors using this script:





%26lt;% DIM iRecordCount


iRecordCount = 0


DO WHILE NOT rsCAInv.EOF


IF iRecordCount Mod 2 = 0 THEN


%%26gt;


%26lt;TR bgcolor="#CCCCCC"%26gt;


%26lt;TD%26gt; %26lt;% rsCAInv("Item") %%26gt; %26lt;/TD%26gt; %26lt;/TR%26gt;


%26lt;% else %%26gt;


%26lt;TR bgcolor="white"%26gt;


%26lt;TD%26gt; %26lt;% rsCAInv("Item") %%26gt; %26lt;/TD%26gt; %26lt;/TR%26gt;


%26lt;/Table%26gt;





%26lt;% end if


iRecordCount = iRecordCount + 1


rsCAInv.MoveNext


Loop


%%26gt;





But I already have this in my ASP page and it was put there as a repeating region by Dreamweaver. I can't seem to figure out how to use them both at the same time.





%26lt;% While ((Repeat1__numRows %26lt;%26gt; 0) AND (NOT rsCAInv.EOF)) %%26gt;


%26lt;TR bgcolor="#CC9966"%26gt;


%26lt;td%26gt;%26lt;div align="center"%26gt;%26lt;%=(rsCAInv.Fields.Item("...





%26lt;%


Repeat1__index=Repeat1__index+1


Repeat1__numRows=Repeat1__numRows-1


rsCAInv.MoveNext()


Wend


%%26gt;


%26lt;/table%26gt;%26lt;/td%26gt;%26lt;/tr%26gt;








Those are not all the columns in the table, but I don't have enough room to paste the whole thing. Can anyone help me here? Thanks!

How do I add this script to my ASP page when I'm using Dreamweaver?
Just replace the two repeating region code blocks with the one code block that begins DIM IRecordCount.


ASP.NET 2.0 Detailsview on a SQLDataSource, can I set a default value if the user leaves a textbox blank?

I want the detailsview to send a word or character like "null" or " " to the database if the user leaves the textbox blank. C#

ASP.NET 2.0 Detailsview on a SQLDataSource, can I set a default value if the user leaves a textbox blank?
In the SQLDataSource, you can define a default value for each parameter. Change the parameter that the textbox provides and give it a default value. This can be done through the SqlDataSource by clicking the little arrow on the top right of the SqlDataSource and selecting "Configure Data Source...". Click through to the Define Parameters section. Notice the textbox for DefaultValue?





You can also do this in the source view of your page by adding the DefaultValue attribute to the appropriate parameter.
Reply:Asptutorials.info is your gateway to the best


sites on the Internet for asp tutorial!


Looking for Computers, Domain Names,


or Education?Browse our recommended resources


or just try the Asptutorials.info search.


http://asptutorials.info/

flower bouquet

Classic ASP script needs to upload CSV file to remote SFTP server?

I have a classic ASP script that builds a CSV file and needs to save it to a remote SFTP (explicit over tsl/ssl). Can anyone suggest any components/dlls or a way of doing this? Thank you

Classic ASP script needs to upload CSV file to remote SFTP server?
hmmm good question,, im guessing ur on a windows machine,,, on linux in the conf file openSSL you point out ur binary for ftp and from there u can create the tunnel using ssh, i do know there is a version of OpenSSL on windows however not sure how expandable and friendly it will be,,, if it's a script however any command line ftp client capable of creating a secure conenction to s/ftp daemon should suffice,, i'd google it =) ...by the way,, i'd call this a suggestion as a pose to an answer,, prolly someone out here with a way better one =)
Reply:Yes, I'm not sure about this either.





In ASP.NET there's a whole zoo of classes and methods to do FTP transfers, handle certificates, etc, but in Classic ASP there's a bit of a void when it comes to 'internet protocols' - just the HTTP Request and Response objects - because ASP was only really built to make web pages 'more' dynamic than they were with htx templates.





You would need to create an 'FTP' client of some kind which issues the open and copy commands, but I do not recall ever a DLL/Component to do this.





A 'fix' might just be to create an FTP script that does the transfer.


How to do url-asp redirection not to enter specific page other than in sequence?

How to do url-asp redirection. Step 1: join.asp Step 2: edu.add.asp IF coming from join asp, OPEN, else REDIRECT index.asp Step 3: other.add.asp IF coming from edu.add.asp, OPEN, else REDIRECT index.asp Step 4: exp.add.asp IF coming from other.add.asp, OPEN, else REDIRECT index.asp Step 5: att.add.asp IF coming from att.add.asp, OPEN, else REDIRECT index.asp

How to do url-asp redirection not to enter specific page other than in sequence?
On each of your pages you are going to do two things...





1) Detect the page they just came from using something like Request.ServerVariables( "HTTP_REFERER" ) which will give you the URL of the page they came from.





2) Then use the response.redir() method to send the user to the appropriate page.





Example...





%26lt;%


if Request.ServerVariables( "HTTP_REFERER" ) = "http://www.myaddy.com/ join.asp" then





response.redir("index.asp")


end if


%%26gt;





So you do this in sequence on each page and you should then find it pretty easy. I have included a links on the two items mentioned here. Good luck!

flower delivery

How to do url-asp redirection not to enter specific page other than in sequence?

How to do url-asp redirection. Step 1: join.asp Step 2: edu.add.asp IF coming from join asp, OPEN, else REDIRECT index.asp Step 3: other.add.asp IF coming from edu.add.asp, OPEN, else REDIRECT index.asp Step 4: exp.add.asp IF coming from other.add.asp, OPEN, else REDIRECT index.asp Step 5: att.add.asp IF coming from att.add.asp, OPEN, else REDIRECT index.asp

How to do url-asp redirection not to enter specific page other than in sequence?
On each of your pages you are going to do two things...





1) Detect the page they just came from using something like Request.ServerVariables( "HTTP_REFERER" ) which will give you the URL of the page they came from.





2) Then use the response.redir() method to send the user to the appropriate page.





Example...





%26lt;%


if Request.ServerVariables( "HTTP_REFERER" ) = "http://www.myaddy.com/ join.asp" then





response.redir("index.asp")


end if


%%26gt;





So you do this in sequence on each page and you should then find it pretty easy. I have included a links on the two items mentioned here. Good luck!


How do I create ASP,NET pages?

I have IIS


but my pages don't run, can anyone give me an eample of how to create one

How do I create ASP,NET pages?
you should download and install the visual web developer from microsoft. the express edition is free. once you have installed it, the .net 2.0 framework is installed on your computer. so you can create and run your asp.net (*.aspx) files from there


How do police ASP batons work?

What locks them in place? how do you unlock them? Is it just a tapered hole that jams in one place whenyou flick it out?





Cheers.

How do police ASP batons work?
The ASP is a telescopic, collapsable baton. It is held together, by friction. A hard flick of the wrist and it expands, locking open. To close, you have to drive the tip of the baton onto a hard surface, collapsing it. Then it locks in the closed position.
Reply:i dont know how they work but i know to unlock them you have to hit hard on the end that is flicked out and it goes back in
Reply:The Monadnock Autolock baton has a technically a more sophisticated soloution to locking and unlocking, using a ball bearing and cam locking mechanism which is released by a push button.


How to check if domain name is in existence (asp/php/scripting language)?

Buddy of mine signed up as an affiliate in a domain name brokering company. He's looking for a code snippet that would check to see if a requested name is already in existence (and therefore if he can sell it) Wish I could help but I'm cluless when It comes to web tech.

How to check if domain name is in existence (asp/php/scripting language)?
I think you need an ASP componant called whois.


There are plenty of them. HAve a look here:


http://www.aspin.com/home/components/int...
Reply:The best site to get what your looking for is Domains.com Report It


wholesale flowers

Can I used a flash+php contact form in a ASP server?

Will a flash contact form with PHP coding work on an ASP server?....

Can I used a flash+php contact form in a ASP server?
It is possible for a web server to support both ASP and PHP. If it supports PHP then yes, if it doesn't then no (unless you install PHP on the server).


I want to set Visibility of the Control true or false acroding to condition using CallBack in ASP.Net2. How?

I want to set the Visilibity of Control Panel True or false according to condition using CallBack Method.





The code is running well but the Controls is not setting Visible. Even I want to display message in Label Control using Lable1.Text="My Message".





But not working. Nothing diplaying nor Panel set vibility true or false from the Call back function.





thanks and waiting for reply

I want to set Visibility of the Control true or false acroding to condition using CallBack in ASP.Net2. How?
you need to go into properties and change the setting..


Inserting asp submit data into Multiple tables with MS access?

Hey,


Here is the database design brief:





I am having a little problem.I currently have 3 Microsoft Access tables. They are IssueComments,Issues and a link table. I have a primary key for the IssueComments and the Issues table. This then means that I can have one issue with many different IssueComments so for when I do queries, it picks that up no problem.





When the user wants to add a Comment to the Issues, how would I go about adding the IssueComment into database with asp and then taking the Issue ID and the IssueComment ID and adding them both into the link table with asp?I need to add the Issue ID into the Linktable and add the IssueComment into the linktable and then when I do a query, it will pull out the Issue with all the different IssueComments. This is with using an ASP website as the front end.





If you have anymore questions then email me.Thanks

Inserting asp submit data into Multiple tables with MS access?
simply, established the connection pooling and synchronized the all access table then defined correctly path and access the data successfully...


Whats is Best Way Of making A mixed Strawberry & ChocolaIce Ice Cream Shake Answers Asp?????

I wanna make a delicious Creamy Strawberry (ICY) Ice Cream Shake


heres whats at my house:





-Strawberry Ice cream


-ice


-sugar


-chocolate and vanilla protein powder


-bananas


-Blender


-Oranges


-milk


-And Some Oatmeal lol





Any Ideas, i just want how much i should add of it in the strawberry shake, i need 2 make it 2day. thank you

Whats is Best Way Of making A mixed Strawberry %26amp; ChocolaIce Ice Cream Shake Answers Asp?????
I'd use ice, milk, choc syrup and fresh strawberries or some strawberry yogurt and some sugar or splenda. Or if I had to use what you have at the house, I'd use the strawberry ice cream, ice, sugar and a small amount of the choc protein pwdr, like 1 tsp. I guess I'd use like 8oz of the ice cream or until it was thickened to my liking. Hope this helps.
Reply:Got a blender then you are all set. Put the ice cream in blender, add a little banana for smoothness, a touch of vanilla protein powder, and milk until you have the consistence you want. Blend and enjoy.
Reply:My neighbor makes this awesome protein shake with the same ingredients, she just puts in 2 scoops of strawberry ice cream, 1 scoop of protein powder or however much ur supposse to have, about 1/2 C Milk.





Blend it up

state flower

I am trying to put my asp.net site on my webserver at home. I am using IIS and receive the following error...

I use the create website wizard in IIS and i just get a message box at the end that says Incorrect Parameter. No more information. The website gets created but is stopped and every time i click start i receive the same error. Can any one help?

I am trying to put my asp.net site on my webserver at home. I am using IIS and receive the following error...
Have u compiled the aspx code in visual studio?


Can you help me with asp and a ms data base?

Ok, i want to be able to type in a url like www.somthing.com/username.asp and then have it retrieve the information from the data base by looking up the user. the problem is that i dont know how to make it to look up the username from the url. any help would be greatly apriceated. thanks.

Can you help me with asp and a ms data base?
The user will need to input his/her name somehow. How about an HTML form?





%26lt;form action="post"%26gt;


Name:


%26lt;input type="text" name="username"%26gt;%26lt;br%26gt;


%26lt;input type="submit" value="Go!"%26gt;


%26lt;/form%26gt;





When the user clicks the Go button, the form will post the data back. Use ASP to capture this.





%26lt;%


If Len(Request.Form("username")) %26gt; 0 Then


UserName = Request.Form("username")


' Do your database stuff here...


End If


%%26gt;


Is there a way to refer to the name of an ASP page within itself?

I want to use the name if the page to make decisions about what to display, shade or hide, according to the name of the file in which certain piece of code is located. It's a menu.inc which is to be included in all of the pages of a site.

Is there a way to refer to the name of an ASP page within itself?
Well, I can't seem to get Yahoo Answers to let me paste the code in here without scrambling it all up, so just check my source link for the code.


Dreamweaver 8, MySQL and ASP-can anyone help with the method needed to bind an img src to a recordset ?

I have created MySql database and am now trying to include photos.. (each record has it's own photo).however, Dreamweaver 8 needs a file pointer to the image source as it will not load "binary" files. Does anyone know how to do this?

Dreamweaver 8, MySQL and ASP-can anyone help with the method needed to bind an img src to a recordset ?
You're two steps ahead of where you want to be. First decide:





Are you storing the binary data in the database, or are you storing the file name and path to the image file in the database?





If the former, you have to extract the binary data to an actual image file first, using a language like php.





In either case, the tag is %26lt;img src="xxx"%26gt;, where xxx is the path and name of the image file. It's not a Dreamweaver problem - it sounds as if you're trying to display data you're storing in the database, and the img tag can't do that - which is one reason it's a bad idea to store the actual image in the database. (Inefficiency is another.)

song meanings

Whats the quickest way to learn how to program with .ASP?

maybe videos?

Whats the quickest way to learn how to program with .ASP?
Buy a book, do a tutorial. Practice. Do stuff with it.
Reply:Well the only way to learn is through book and through videos


Check this out:





www.computervideos.110mb.com...





Hope this helps


Take care!


Cheers! Report It

Reply:practice makes a man perfect :)


How to use a web service in ASP.NET C# to check user details?

I've create a website in visual studio's 2005 in ASP.NET C#, one part of my website requires to check the user details for example personal details and bank details.


The web service must contain the following





-If the details entered by the user don’t match the original


Entered previously by the user and is stored with their profile. Then a message appears asking the user to adjust their details.





-If the details are correct then I want a message stating that the transaction was successful





- Check the type of card that they are using





- if there’s not enough funds in the correct return a message stating that there’s not enough funds in the account.





It’s basically the same process as when you’re using Amazon to purchase goods. For example checks the details that you already have stored in your profile (personal details %26amp; bank) if they match it checks that the funds are available in your account. Can someone write the code in C# ASP.NET using Visual Studios to using the web service to accomplish this(has to be in the web service)





Thanks

How to use a web service in ASP.NET C# to check user details?
You can use the security features in ASP.NET to create user accounts:





http://quickstarts.asp.net/QuickStartv20...





From that, you can associate user accounts you store in a SQL database with the user, and give the logged-in user a way to update those details.





You'll need a payment gateway of some sort to check account balances. In other words, you need a merchant account to check credit balances.





It actually sounds like you should start with the storefront starter kit that ASP.NET provides, and customize that to fit your needs:





http://www.asp.net/downloads/starterkits...


How can upload picture in my site by using asp and microsoft access?

i want to upload pictuer in page and display it in the second page(get it from data base)by using asp and access

How can upload picture in my site by using asp and microsoft access?
It depends which upload component does your host support.


The most common one is AspUpload


When you know this then easily search in


aspin.com or other asp article sites for a sample script


How to design and code a chat program with asp.net?

I have found quite a number of chat program samples but the problem is that when i dwnload the sample code, i can't really view the code and designs at the same time making it hard to understand how it is done...does anyone here know how to code a simple multi chat program using asp.net?? care to help me?? please

How to design and code a chat program with asp.net?
Chat programs are one of the easiest .. so don't worry! You can store your chat inside a database or a plain text file. I assume that yours is a web-based application. So just split the page up into 2 frames, one frame displaying the contents of the database or the text file, while the other is a form that stores the typed sentence inside the database or text file. A more complex one can be created with the help of AJAX (Asynchronous Javascript And XML). If you need more detailed help, drop me an email.
Reply:Quite some time back, I had used the following technique for simulating chat on ASP:


1. Create application level variables to hold current chat lines (from 10 to 15 or 20 - depending on how many lines you want to show)


2. When a user logs in, in Session_Start events, add his entry into the last line variable. Before this, you need to move lines up - i.e. line 2 to line 1, line 3 to line 2, line 4 to line 3 etc. This can be done easily in a loop.


3. Design a page with two frames: top frame showing chat content, second frame showing a text box with submit button.


4. When user clicks on submit at second frame, on server script, take the submitted text, add it to the last line variable along with user name. Move all previous lines one up - as described above.


5. When user exits, use Session_End event to announce his departure in similar way.





Hope this helps. I am sorry - I could not provide code. Its quite long time (more than 4 years) since I have used the above logic and doesnt have that code now.





Good luck.

pollen

How do I create a Line chart in ASP using data from my database retrived by query?

Have you tried a search for your query on http://www.planet-source-code.com/ they have a fantastic database of Free tips and source code.

How do I create a Line chart in ASP using data from my database retrived by query?
If you use Microsoft Access 2003, You can create a page with links to either a table or a query by selecting the pages options and create page in design view or by using a wizard. You can also edit the pages via access and also edit and add some scripting using microsoft script editor available with office and accessable via microsoft word.


Is Sunny Garcia surfing in the ASP for 2008, i havent seen him in the ratings?

No Sunny did not qualify for this years tour, probably because he was in jail.

Is Sunny Garcia surfing in the ASP for 2008, i havent seen him in the ratings?
nope
Reply:Sunny is on house arrest for a while..no surfing till he gets off
Reply:I love Sunny. there ea some pretty rad surfers where I live


(Malibu) but no one surpasses Sunnys style. Maybe Gerry Lopez because of his manuvers but Sunny has such soul!


How to start learn php for asp.net developer?

iam a professional asp.net developer , looking forward to learn php. plz send me the suggestion from where to start , wha are the good books and websites,

How to start learn php for asp.net developer?
The best "book" on PHP is the official documentation:





http://www.php.net/manual/en/





.
Reply:i think the best place for learning the php and the other languages is http://www.w3schools.com or you go for the other websites like http://www.corpseo.com they can help you out too
Reply:look at the official php site www.php.net and read docs there.
Reply:Learn PHP for free here-





http://tinyurl.com/o5e26
Reply:any books or tutorial can teach you the basic, then it just the matter of going through other people's program and learning from it, tons of resources online, a search on "php tutorial" on google yield qutie a good amount of resources.
Reply:The sites DX listed are good. I've always liked trial and error.





I'd try to find other peoples scripts, look at them, then try to figure out what it did with out parsing. Then parse it to see if I was right. If not, I'd edit it to find out what most parts did until I figured out what did what.
Reply:And you are a asp .net developer, jajajajajaja





http://www.php.net/


http://www.phpbuilder.com/


http://www.hotscripts.com


How would I remove the first character from a string in ASP. If I use remove I have to specify the char.?

Essentially I want to be able to remove the first character in a string. Lets say the string is a5 or b16. I want to remove the a or b. If i use replace I must specify what I want to remove.

How would I remove the first character from a string in ASP. If I use remove I have to specify the char.?
If it's always only the first character, you can use:





String.SubString(1, String.Length - 1)
Reply:It's actually simpler, although you should use a little sanity check. Given the name of the string is removeMe, here we go:





if ( removeMe.Length %26gt; 0 )


removeMe = removeMe.SubString(1);

playing cards

Where can i find sql & asp.net experts to do part time job for my small project in coimbatore?

I am looking for sql %26amp; asp.net experts based at coimbatore to help me in my project. Intrested can contact

Where can i find sql %26amp; asp.net experts to do part time job for my small project in coimbatore?
You can find many sql , asp.net experts at website like http://indianfreelancer.net/ .
Reply:can you provide work online


Where can i download the aplication code for creating email account,email registration in asp or javascript?

i need code for email account which shows inbox,composer etc..and email registration page with server side scriptng better in javascripng or other better languages. i also want to know how to connect to data base?

Where can i download the aplication code for creating email account,email registration in asp or javascript?
If you want all that in one place you have to make it according to your requirements! Nobody sells it! Although someone might want to make it...... but the ones that are avail. on the net connect to an SMTP server so......... but if you want any help is DB's and all feel free to contact me at prakharbirla[at]gmail[dot]com


How can i access asp code/ output stored at my computer when iis is installed?

what i kno :


We can execute asp code if we install iis on our coumputer.


iis makes a computer - server


i want to :


access asp code stored under wwwroot from another computer over internet

How can i access asp code/ output stored at my computer when iis is installed?
You need to subscribe to a fixed IP address or dynamic dns. This makes your machine available from outside. Then set port forwarding from your router for port 80 to the private IP address of your server. Open port 80 in your firewall.
Reply:Asptutorials.info is your gateway to the best


sites on the Internet for asp tutorial!


Looking for Computers, Domain Names,


or Education?Browse our recommended resources


or just try the Asptutorials.info search.


http://asptutorials.info/


How can I learn ASP easily?

In my quest to build the ultimate Web server with jsp, php, asp, and aspx, I need to know what is the easiest way to learn asp?





I know php, html, not jsp (yet)

How can I learn ASP easily?
ASP is a very old technolgy relying on VBscript (though you can use other scripting languages such as Jscript or Perl).





I strongly recommend ASP .NET 2.0. Go to the Microsoft website and download visual studio express 2005 - web edition and work through a few starter kits or templates. Before you know, you not only build good web sites, but you also learn about object oriented programming. The number of server controls in asp .net is large, and you will find something for every requirement.





Once you get the hang of the typical postback method of websites, delve into ajax with asp .net (again a free download) to give your web pages a bit more of an interactive feel. Once you start working, you can post questions on the asp .net forums. Usually you get good answers pretty quickly.
Reply:first, decide what language you really want to master.


you just can't learn it right away, it's a long process...


there are a lot of tutorials on the net.





if you really want to learn ASP then


you can visit http://www.w3schools.com/asp/default.asp





just be patient. :)
Reply:what do you need asp for? you can just use php to get the same results
Reply:http://www.asp.net has Video tutorials, task-based code samples and starter sites.





http://www.learn2asp.net helps you learn how to use ASP if you have experience using other languages, such as PHP.

graphics cards

I have good working knowledge of asp, living at small town in india. How can I get jobwork from abroad?

asp is ok, but you need to know more then that to get a job... asp is just one small language so try learning html, php, javascript, css and ajax. thats everything i know basically.


HI i am raja i would like to work as a asp.net free lancer can anyone help me how to start??I have a good idea

i have a project for garment retail company if interested mail me ur details at manpreet_makkar@hotmail.com with ur phone number


How to pass variables between ASP.net pages?

I have three ASP.net pages in Visual Studio, and I need to pass some variables, mostly ints and doubles, between them. I am using C#. Thanks for the answers.

How to pass variables between ASP.net pages?
The easiest way is to just use a Querystring variable.





int MyNumber = 5;





Response.Redirect(String.Format("page2... MyNumber));





To retrieve a querystring variable, simply use Request.QueryString("VariableName");





You could also place your variables in hidden form fields and use Request.Form() to retrieve them.





Some people find it easiest to simply store them as session variables, but I find this to be rather inefficient and a poor practice.


How do I preview a .asp web page that i am designing. It wont preview in iexplorer or my tomcat server 4 java?

I need some advice because I want to pursue a freelance career doing web design.


I've mastered html and I'm mastering flash slowly, so now i'm trying to move on to javascript. I've designed a shopping-cart and check-out facility for an online shop that I'm working on. the pages display fine as html but are not fully functional. I realised that alot of the fully functional online shopping carts are .asp-files so i changed one of my files to .asp to experiment but now it won't preview in iexplore or my Tomcat server which is specifically for javascript. When I try to preview it in the Tomcat Server this is the error i get


[unknown command line option "http://localhost/basket.asp"]





My computer's java platform is quite good so I know I'm making a mistake somewhere along the line. I'm using Dreamweaver and Netbeans IDE 5.5.





Can anyone figure out what I'm doing wrong, itz got nothing to do with the code because I cant even preview the .asp to see if the code functions or not.

How do I preview a .asp web page that i am designing. It wont preview in iexplorer or my tomcat server 4 java?
OK, sorry to tell you this, but a .asp or .aspx is an active server page. This runs on IIS (part of XP-Pro).





You need to check out these tools. Visual Studeo 2005 Express (free from microsoft.), SQL Server 2005 Express (also free). Visual Web Developer 2005 Express (also free)





Check out the training videos available on these tools. (also free)





Once you see the free demonstrations of these tools, you will not develop outside of that environment anymore.





http://msdn.microsoft.com/vstudio/expres...


http://www.learnvisualstudio.net/


http://msdn.microsoft.com/vstudio/expres...


http://msdn.microsoft.com/library/defaul...


http://msdn.microsoft.com/vstudio/expres...


http://msdn2.microsoft.com/en-us/asp.net...


http://www.learn2asp.net/web/Campaign.as...
Reply:"Tomcat server which is specifically for javascript."





If you have this little knowledge of Tomcat I am not sure why you are using it.





1) Tomcat is a Java servlet container. Tomcat can process Java Servlets, server side Java code, jsp's (Java Server pages), etc. Tomcat has nothing to do with JavaScript.


2) Javascript is a client side scripting language that runs in a web browser. Java and Javascript are not the same thing, not even close.


3) Instead of attempting to use ASP (A Microsoft Technology) you should take a look at Java and Java Server Pages since you are running Tomcat. Here is a brief introduction to JSP's from Sun's (the creator of Java) site:


http://java.sun.com/developer/onlineTrai...
Reply:If i read you correctly, you merely change the file extension from html to asp??





This won't work. First your page is not coded in the ASP language and its syntax.





Second, your local machine is not set up to display asp files, if you are using winxp pro, you can install the IIS service to be able to read asp files.





Do google and read up the basics of asp. once you inderstand that asp is a server-side languange rather then a local-side(javascript), i think you will fully understand why your local PC don't show. Of cos remember that your file is not coded properly in the asp syntax in the first place.





Hope this helps
Reply:Remember that asp only runs on Windows servers. There are few of them on the internet compared to Apache. Your server obviously does not support it. You would be better working in php for this. Just changing a file extension to php or asp will not change how it works, you need to write the code in the appropriate language. Learn the language, there are severe limitations to the use of web building guis.

botanical garden

Friday, July 31, 2009

I'm an ASP(accredited staging professional) and want to get to "to the trade only" sites. Help!?

People like me work with realtors or people selling themselves (I know there are many out there). What do we do? We go into a property and make it ready for a quick sale and the highest price. It really WORKS!

I'm an ASP(accredited staging professional) and want to get to "to the trade only" sites. Help!?
Unlike suggested in the previous answer, most of the to the trade websites really are only to the trade. If you have a tax ID number, you can call many of these vendors and obtain an account number (which you will need to actually purchase anything). Once you've done that, they'll assign you a user name and password that you can use to access their entire line.





There are some "trade" websites that will allow you to view product online without signing in. They do not show pricing, and usually only show limited product.





Good Luck.
Reply:What do you want, if you are a professional you should know that sites.





I know several of them and I am not a professional. They are open to anyone.


Is it possible to design and develop applications by sharepoint server 2007 as we did by ASP.Net ?

Yes.

Is it possible to design and develop applications by sharepoint server 2007 as we did by ASP.Net ?
Yes.


Is it possible to design and develop applications by sharepoint server 2007 as we did by ASP.Net ?

Yes.

Is it possible to design and develop applications by sharepoint server 2007 as we did by ASP.Net ?
Yes.


How can I control the font color of an <asp:TextBox> control?

use the style attribute

wild flowers

How do i execute an ASP page?

i am done with the asp page coding in a notepad and saved it with .asp extn. but don't know wher to save it. im unable to locate the directory accessible to the server. and im unable to run the page. please help me out in this.

How do i execute an ASP page?
Well the default home directory for IIS is


LocalDrive:\Inetpub\Wwwroot





Just put your files in there and if that is on your local machine


you can check the page using





http://localhost/yourpage.asp in a browser window.





:) TL
Reply:What is yur webserver and application server.?





Your webserver and application server should be running.





You need to paste the *.asp files in the appropriate deployment directory.
Reply:by default the IIS creates C:\Inetpub\wwwroot\





the wwwroot is the directory of the sites.





if you didn't change the directory go past the asp page there and then the link to check it will be http://localhost/nameofpage.asp and it will run on your browser.





best regards
Reply:you can save it anywhere but must sure it is save as .asp that way the computer will know this is a asp page. open you server and must sure there is no error. then open in the web thought the server pager and it should work.


How do solve the following runtime error in ASP?

Error Type:


Microsoft JET Database Engine (0x80004005)


Could not use ''; file already in use.


/sk/login.asp, line 10

How do solve the following runtime error in ASP?
There is not enough information here to determine that error. What is on line 10? Seems like a connection string error, maybe you should make a temp database and connect to that one.


How can I learn programming like php, asp?

I guess there are so many programming - e.g. php, asp, java


and I guess you need to learn in order to understand well - e.g. learn html, then javascript, css etc etc





Basically what I'm after is learning web stuff - shopping cart, forms, and other things. I did basic web so i know xhtml, javascript, css. don't know cg, gui and other stuff. Please help me!

How can I learn programming like php, asp?
http://www.w3schools.com, i think this is the best site to know abt asp, if ur beginner in asp.
Reply:buy a book.
Reply:i wudnt buy, you can find high quality books online, liek at www.freecomputerbooks.com


What's the best way to learn asp.net and sql server?

I only know visual basic, ASP, and MS Access and would like to know what are some good resources to upgrading my skills to this technology.

What's the best way to learn asp.net and sql server?
Use some .net sites to study .net.from the sites u can get started with the basic conceptsgradually U can go through the detaled section also.from the sites u will get sample projects in bothe vb.net and C#.As u have the vb background it is better to start with vb.net.


pls check the following sites





www.asp.net


www.mocrosoft.com


www.C#friends.com


http://www.dotnet247.com/247reference/ms...


http://www.geocities.com/uttoransen4/...





U will get the sample project with full code and Databse from the StarterKits


http://msdn.microsoft.com/vstudio/downlo...





To study SQL first u should study the SQl statements.


http://www.microsoft.com/sql/default.msp...


www.sqlservercentral.com/
Reply:visit msdn.com , try to begin small example
Reply:I always prefer the direct aproach, go to the store and buy a book about it.
Reply:Go to the website www.brainbench.com.


Click 'Individual Certification'


---%26gt; click 'Explore Our Skills Center'


---%26gt; click 'View All Tests'





When you see the list of tests you will notice that there are three options before the price 'Plan','Learn','Test'. When you click on 'Learn' it will show you list of resources to choose from (you need to sign up first). What is good about this site is that its 'learn' section is geared towards real world experience. The tests for certification have been created in this light as well.
Reply:Believe it or not ... http://www.learn2asp.net





Microsoft has set up that site to show you, in hour-long Webcasts, how to do various things with ASP.NET and SQL Server.





Sign up for at least three Webcasts and they'll give you a copy of Visual Studio 2005, plus discount coupons on VS 2005 Professional and an online exam.





The Webcasts are very good, especially if you have a working knowledge as you do.

stalk

How to disable the Back and Refresh buttons of the browser in an ASP web application?

I basically want the users not to use browser's back button by either disabling it or by giving a message

How to disable the Back and Refresh buttons of the browser in an ASP web application?
This was asked in an earlier question. But the basic answer is, you can't (and you definitely can't do it with a server side script like ASP). Even if you could, you still have other ways that the user can navigate back into the middle of a session. There are the forward/back options in the context menu (right click on a page), there is the browswer history, the user can simply enter an explicit url.





So bottom line is you can't do it and even if you could you need to make your web app robust enough to handle users plopping themselves in the middle of defunct sessions and/or repeating actions.
Reply:I remember seeing this in a yahoo group but can't remember what answer was,


I did quick google with question looks like some answers are there


How do I start using ASP.NET?

You can check out learnvisualstudio.com for some video tutorials on many topics including asp.net

How do I start using ASP.NET?
www.asp.net
Reply:Get a good ASP.NET book and open up Notepad. You dont need any special software to code ASP.NET (but it does make it easier)
Reply:ask bill gates
Reply:Pay microsoft some money and buy Visual Studio .Net 2005 IDE.


I want to develop a basic dating website with videos. Is asp.net the best way to build?

do you have any other suggestions? i want to be able to add adsense and affiliate banners...thanks!

I want to develop a basic dating website with videos. Is asp.net the best way to build?
asp.net is the best when i t comes to high traffic and large data processing. don't let php fool you! you can check out www.dotnetnuke.com as a framework to get you started fast.
Reply:I would recommend PHP, if you need a programmer you can checkt websites like http://getafreelnacer.com/


What is the ASP in the police force?

A indian food store was raided today at the place i work. some of the police wer ASP. what is this task force?





They searched the whole complex in and out of everything.

What is the ASP in the police force?
An Asp is the foldable baton that police now use instead of the old nightsticks. If you saw a police officer wearing an ASP pin, that means he has passed an asp training course and is certified to use one.
Reply:aggresive, state, puppet.
Reply:An ASP is a type of baton.
Reply:ASP, means AS SOON AS POSSIBLE..
Reply:Sometimes different forces have different names for specailist units.Our force had shop squad which others didnt this could be purely a local unit.One unit was the fast action response team(FART) That was quickly renamed.
Reply:ASP=Armament Systems %26amp; Procedures, Inc.

rose garden

What is an easy way to export a dynamic ASP.NET website into a website made of static HML pages?

upload it


and then download the url with :"HTTrack Website Copier"





good luck


and may i ask you to answer my question on this link ?


http://answers.yahoo.com/question/index;...


How can I define the connection String for ASP to connect MS Excel?

Make an ODBC of the MS Excel file and your connection string will be like :-





ConnString = "DSN=myDsn;Uid=username;Pwd=;"





Or there is another way of doing it directly:-





ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"""

How can I define the connection String for ASP to connect MS Excel?
You could try creating an ODBC DSN for your Excel document, and then using a standard ODBC connection string for that DSN, as though you were connecting to any other ODBC source.
Reply:LINE 1 =%26gt;set cn = server.createobject("adodb.connection")





LINE 2 =%26gt;cn.open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" %26amp; Server.Mappath("mydb.mdb") %26amp; ""





LINE 3 =%26gt;cn.execute("SELECT * FROM table")


How to Transfer records from gridview when a client checked a checkbox to another table in asp.net 2.0?

Here i have gridview control in asp.net 2.0, problem is how to transfer a record checked by the user to another table which is a parent table or master table

How to Transfer records from gridview when a client checked a checkbox to another table in asp.net 2.0?
in checkbox_checked event write the code for connection.


there take a linkbutton column in that write querystring.


in another gridview call this querystring.........





if u want i will send the full code......
Reply:No yaar u didnt got my point actually here in real time it is to be included and code cannot be written in the same grid view definition ok Report It



What are the best books for ASP.net and C# From the begining till mastering?

what are the best books for ASP.net and C# From the begining till mastering?e


i am a software engineering student and i dont know what is the best to buy..

What are the best books for ASP.net and C# From the begining till mastering?
good Intermediate C# Book:


Title: C# and the .NET Platform


Publisher: Apress





if you've taken Programming and Data Structures courses, this should be a very good book for .NET





Best Wishes

pink flowers

I want to use ASP to loop through a set of characters. For i = a to f. How do I do this?

Essentially I want to loop though a set of characters?

I want to use ASP to loop through a set of characters. For i = a to f. How do I do this?
for i = asc("a") to asc("f")


character = chr(i)


' do something with character


next
Reply:for c as Char = "a"C to "f"C





' loop body





next for





That should work, characters are just integers. You declare characters like strings of 1 length, and the capital C after them indicates they are characters (not strings). VB syntax is so janky....
Reply:Dim iterate


for iterate = a to f


'Do Something


next





VB.Net-%26gt;


for iterate as integer = a to f


'Do Something


next





c#


for (int x = a; x %26lt; f+1;x++)


{


}
Reply:search on ask.com
Reply:A "for loop" requires you to use a numeric variable





what you do is set the the variable to numbers in the character


values


simple ascii table will give you values


you then convert the number to a $variable single letter


with the appropriate command





As converting variables to numbers and numbers to alpha


numeric is part of the very early hours of programming


you may want to ask slightly more complicated questions


in the future to appear to know what you are doing


What web application software (ASP.NET, PHP, ColdFusion, etc.) can run on a Mac? How? Where can I find it?

I need to know what web application is the most popular and easy to use on a Mac. Also, if one doesn't run on Mac (like ASP.NET) is there a way that it can that will be successful?





I'm just trying to find out what most people do to create dynamic web pages on their Mac. (Web application software, web page editor (dreamweaver?))





Thank you!

What web application software (ASP.NET, PHP, ColdFusion, etc.) can run on a Mac? How? Where can I find it?
Assuming you want to run a Web server on a Mac, both PHP and ColdFusion run on MacOS X. There is also a language called Lasso that was originally developed for Mac, but eventually found a broader user base.





As to successful Web sites, they usually don't run on MacOS; the hardware is too expensive.
Reply:Your best bet for Mac is PHP - because most of what you need is already installed on your computer.


You want to use PHP MySQL and Apache -


There's a lot available online about this topic, too long for a post response - do a search on Installing PHP on a Mac to start -





http://php.net/


http://www.andybudd.com/archives/2003/09...
Reply:I think you're confusing client software with server software.





Mac computers can do all of the things PCs can do, when you're talking about viewing webpages... but when it comes to servers its a different story (like ASP doesn't work on some servers, PHP works on most)





You should develop your pages using dreamweaver if possible (I like that program a lot). If you can stick to the basics, like javascript and html then you'll be safe. The server running your page probably runs PHP, so that would be safe to use as well.





Using things like Flash and other special dynamic languages - is generally not a good idea because lots of people don't have that installed.


ASP Coding to Connect with Access Database?

I am designing one website. I want to collect the details about the users through a HTML form. Please give me the ASP Coding (Not ASP.NET Coding) to connect the Form with Access Database and update the Access Database with the information given by the users through my HTML Form.

ASP Coding to Connect with Access Database?
Connecting to MS Access database from Classic ASP can be accomplished in several ways. You can connect using OLEDB DSN-less connection, you can connect using ODBC connection or you can use DSN.





1. Connect to a Microsoft Access Database from ASP using a DSN





Set oConnection = Server.CreateObject("ADODB.Connection")


oConnection.Open "DSN=;UID=;PWD="


oConnection.Close





The ASP connection example above is very simple and all you need to do is to create a DSN for your MS Access database.





2. Connect to a Microsoft Access Database from ASP using DSN-less ODBC connection





Set oConnection = Server.CreateObject("ADODB.Connection")


oConnection.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" %26amp;


Server.MapPath("") %26amp; ";UID=;PWD="


oConnection.Close


Set oConnection = Nothing





This ASP MS Access connection example doesn’t require DSN, but requires that you have Microsoft Access Driver installed on your computer/server.





3. Connect to a Microsoft Access Database from ASP using DSN-less OLEDB connection





Set oConnection = Server.CreateObject("ADODB.Connection")


oConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" %26amp;


Server.MapPath("") %26amp; ";"


oConnection.Close


Set oConnection = Nothing
Reply:This site should help


Everytime i open my internet it says ASP BROWSER WARNING and my ip address is known how do i get rid of it??

it gives me a link to go to but it wont work page just stays white.

Everytime i open my internet it says ASP BROWSER WARNING and my ip address is known how do i get rid of it??
Go to your start button and click on "run." Then type in or


paste the following:





ipconfig /release





Hit the enter button and a window will pop up and run this command


Then type or paste the following:





ipconfig /renew





Hit the enter button


Again, a window will open and run the command





Shut down your PC, wait a couple of minutes and then turn it back on. Then try the internet again. If it works, do the following:





Update and run your antivirus and spyware software!!! The error message is telling you that your IP address is probably being used by someone other than you. That's not a good thing! :)





If it doesn't work, or you have any questions... re-post...





Also, it could be that your PC is infected and sending out spam, in which case your internet provider may have tagged your I.P. so that it is not allowed on the system. If this is the case, you still need to do the above to clean your system up and renew your I.P. address.
Reply:I don't know about any ASP Warnings, other than to tell you to Update your web browser. As far as your Ip Adress is concerned, we have several routes to follow. You can Enable your Windows Firewall, or Enable SELinux (For you Linux users!) You could also get a router/firewall combo. If you stil feel insecure, Get Norton or McAffe.

night garden

How do I automatically process an incoming mail on my Web Server using ASP.NET 2.0 ?

Hi all,





I've a website with webserver and mailserver on the same server. How do I process any incoming mail using ASP.NET 2.0. please note that I'm not asking for auto-respondars. This is greatly provided by the mail server and I can do the same in my mail server control pannel by logging in to the same.





For Ex:





I want some action to be done which may store or read some information in database ( SQL Server 2K ) and perform some work on the data that has come along with the mail.





Thanks..





Ruchit S.

How do I automatically process an incoming mail on my Web Server using ASP.NET 2.0 ?
Since an ASP.NET page has to be called in order to function, you really can't use it to handle incoming mail; you never know when a message will arrive.





You could put the page on a schedule to process mail, however; either triggering it via a cronjob on a LAMP server, or with a scheduled task to Internet Explorer on your Web server, or depending on the mail server you have, it might be able to trigger a browser visit to your page any time a message is received.





The library you need to work with mail messages is System.Net.Mail.





http://msdn2.microsoft.com/en-us/library...





UPDATE:





I've already explained how you can invoke the page in my answer.
Reply:http://www.codeproject.com/cs/internet/d...


Do I need ASP capable web host to use objects in my website?

I want to create a menu object to use in my template. Can I use object in simple html or will I need ASP and a web host that can support ASP, such as a windows based server?

Do I need ASP capable web host to use objects in my website?
Munu objects use javascript coding, whereas asp.net is used to hook up server side command. Such as email forms, post and get commands, click counters etc.


You can make it simply on any web host.


But if you use asp it only works in rented hosting only, you need to buy one.
Reply:No need of asp simply add files to web server.


Asp php works for special commands and ecryption.


Does California allow ASP Batons to be carried around and used for self defense?

Self Defense is a crime in California.

Does California allow ASP Batons to be carried around and used for self defense?
Absolutely not.
Reply:The "no" answers are correct unless you are licensed to do so (security guards, etc.).
Reply:Simply NO


How to incorporate bullets in a select list control in ASP.NET Mobile control?

I suppose, you should check for it on Microsoft Developer Network (MSDN). Some similar questions have been asked by raised on Google groups, the following link might help you :





http://groups.google.com/groups?q=asp+ne...

How to incorporate bullets in a select list control in ASP.NET Mobile control?
Why don't you ask it in the computer section

flower bouquet

Passing value from child window to parent window in asp or javascript?

i have a parent window that opens a child window when a button is clicked. How do i pass the value from child window to parent window when the child window is closed? the value will be passed to a drop down menu in the parent window.the language i use is asp. thanks

Passing value from child window to parent window in asp or javascript?
Inter-window communication is best accomplished via JavaScript. Here's a sample that goes either way, i.e., parent-to-child or child-to-parent. Put the two files in the same folder and open the parent.html.





parent.html


~~~~~~~~~~~~~


%26lt;html%26gt;





%26lt;head%26gt;


%26lt;style%26gt;


input.msgInput { width: 40em; }


%26lt;/style%26gt;


%26lt;script%26gt;


var childWin;





function sendToChild() {


var msg = document.getElementById('msgText').value...


var target = childWin.document.getElementById("msgTar...


target.innerHTML = msg;


}





function openChildWin() {


childWin = window.open('child.html');


}


%26lt;/script%26gt;


%26lt;/head%26gt;





%26lt;body%26gt;


%26lt;form%26gt;


%26lt;input class="msgInput" type="text"


value="type msg to child window here"


id="msgText" /%26gt;







%26lt;input type="button"


value="click to send message"


onclick="sendToChild();" /%26gt;







%26lt;input type="button"


value="click to open child window"


onclick="openChildWin();" /%26gt;









%26lt;div id="msgTarget"%26gt;


messages from child will go here


%26lt;/div%26gt;


%26lt;/form%26gt;


%26lt;/body%26gt;





%26lt;/html%26gt;





---------------------


child.html


~~~~~~~~~~~~~~~


%26lt;html%26gt;





%26lt;head%26gt;


%26lt;style%26gt;


input.msgInput { width: 40em; }


%26lt;/style%26gt;





%26lt;script%26gt;


var parentWin = window.opener;





function sendToParent() {


var msg = document.getElementById('msgText').value...


var target = parentWin.document.getElementById("msgTa...


target.innerHTML = msg;


}


%26lt;/script%26gt;


%26lt;/head%26gt;





%26lt;body%26gt;


%26lt;form%26gt;


%26lt;input class="msgInput" type="text"


value="type msg to parent window here"


id="msgText" /%26gt;







%26lt;input type="button"


value="click to send message"


onclick="sendToParent();" /%26gt;







%26lt;div id="msgTarget"%26gt;


messages from parent will go here


%26lt;/div%26gt;


%26lt;/form%26gt;


%26lt;/body%26gt;





%26lt;/html%26gt;





--------------------


To pass from child to parent when the child is closed, register the passing function as the handler for the child's onclose event...





%26lt;body onclose="sendToParent();"%26gt;





Tailor the sendToParent() for your case.
Reply:try the following


window.opener.document





from the child windo that gets you access to the parent


One of my friends observed that Harry Potter's younger son's intials are ASP. He thinks that is a clue

predicting what house young Albus Severus will be sorted into. Do you agree?

One of my friends observed that Harry Potter's younger son's intials are ASP. He thinks that is a clue
I can't say I agree or disagree because, I don't really understand what ASP would stand for: "A slytherin possibly?"
Reply:Potentially, after all, harry was a parselmouth
Reply:Greetings: I am the friend. This is what I see: The Sorting Hat was inclined to send Harry to Slytherin. Harry changed the Sorting Hat's inclination. Why have this conversation at the end of Book 7, besides being cute? Because Harry's son had a concern. Why would he have the concern? There did seem to be a possibility. The Sorting Hat sensed the piece of Voldemort in Harry. And also Harry is descended from the youngest of the three brothers who made the Deathly Hallows. Slytherin again. But Harry focused on the other side of himself. And the Sorting Hat responded. That is what Harry is telling his son. The son is made from parts of Harry, and, therefore, subject to some of what came through his father's life. J. K. Rowling is very percise in her writing. The thief's initials were important. Rowling likes this type of thread upon thread upon thread in stories. The books are filled with this stuff. I think she left her readers with a little something. Happily ever after wrapped in a silver lining is not the author's style. There is always a little clue, an eye in a fragment of mirror. A reflection in a reflection. Anyway, that is what I see.
Reply:don't know


but hope jk rowling writes another book so we won't have to guess
Reply:doubt it...think that one is just a coincident
Reply:good question??i never though of that, but if Albus Severus was sorted in to Slytherin that would be a whole new story.cause a Gryffindor hero who has a son in Slytherin.that's bound to be made into a new book.but i think it was probably a coincidence
Reply:That's great logic..but I think that any son of Harry %26amp; Ginny's would be a Griffindor.

flower delivery

What is a good program for developing asp.net websites?

I have an open source program and want to further develop it using an easy platform. Any suggestions?

What is a good program for developing asp.net websites?
If you're just starting out, Microsoft offers beginner's versions of their visual studio suite of software. #Develop (Sharp Develop) is another good development environment.
Reply:this 1 was made by microsoft


but i don't know a lot about it, check it on ur own


it's called Web Matrix
Reply:mymillermedia.com has a great one!


How do I utilize SugarCRM API in ASP.NET web forms?

I am trying to utilize the SugarCRM API to insert data into SugarCRM using ASP.NET, but I can't find an example of this anywhere. Does anybody know how to do this?

How do I utilize SugarCRM API in ASP.NET web forms?
http://www.sugarcrm.com/wiki/index.php?t...


Capture the whole website screenshot by asp coding?

I want to add website screenshots automatically when a user adds a link to my website.





Do you know how to do it with asp coding? some components maybe?

Capture the whole website screenshot by asp coding?
You mean a thumbnail, kinda like Facebook does?





If you want to take a screenshot from ASP, you could use the WebBrowser-control of the .NET-framework 2.0, browse to the url with it and display the image in that. Then you could get ahold of the contentpane and convert it to an image with GDI+.





Alternately, you can use the utility called IECapt:


http://iecapt.sourceforge.net/


How do you view an .asp page on my browser? What is a wwwroot folder?

This is my fist week taking asp and I did not understand much for my homework.Thanks

How do you view an .asp page on my browser? What is a wwwroot folder?
You will need to install an IIS server on your computer. But this can only be done if your using Windows XP Pro (or if your using Vista, at least a Vista Home Prermium or higher version). IIS is already part of the OS installer but needs to be installed (or enabled) separately.





"wwwroot" is the default root folder of the IIS web server. This is were you would normally put your .ASP files.
Reply:If the .asp file is local to your computer, you can just do an Open File in your browser. The browser should read the file in and display it. Easy.





wwwroot is the default "document root" for IIS. That's the top of the directory tree for static HTML documents.

wholesale flowers

How can I create a simple database with PHP that doesn't require MySQL or ASP?

I need to make a simple database (company names and addresses) but I can't use MySQL or ASP. Does anyone have any templates for PHP or CGI databases?





I know CGI and PHP works with my host, but I know MySQL and ASP don't - and I can't change host at this stage.

How can I create a simple database with PHP that doesn't require MySQL or ASP?
You'd be better off using XML.





http://www.devarticles.com/c/a/PHP/Conve...





http://www.php.net/manual/en/ref.xml.php
Reply:if you have the office suite on your computer, or if your business can by it, use MS ACCESS. Its pretty simple and straightforward. Not for extensive use, but from what you described, it seems like the answer. Plus all the help and tutorials you need to start using it is available online





www.microsoft.com
Reply:You don't need ASP (consider ASP, PHP, and CGI/Perl the same stuff), but you need SOME SORT of database, unless you plan to store the data in pure TEXT, which is going to be slow and cumbersome.





Better investigate what does your host REALLY support besides PHP. In general, if they have PHP, they should have Apache / MySQL.





EDIT: The problem is NOT speed. The problem is concurrency (i.e. multiple users). Basically, you have one user writing something, which means nobody else can be editing the same record, or even READING the same record, and so on. Else you'll have updating problems, who's updating what, and so on. That's why we have databases (oh, and they lookup things much faster).
Reply:In Perl, you can use DBM files, which are hashes (associative arrays) stored as files. I once built a client/project database on a server without MySQL using this approach. I don't know that there's anything similar available in PHP, but if your needs are simple, you could probably make do saving arrays as csv files.





Home-rolled databases are fairly simple to implement, up to the point where you have to accommodate multiple simultaneous users.


What are some web site i can got to to get info about asp caterpillar's?

www.wikipedia.org

What are some web site i can got to to get info about asp caterpillar's?
Maybe ask.com or google.com stuff like that. :)
Reply:http://nba.uth.tmc.edu/homepage/eagleman...





http://users2.ev1.net/~rickubis/asp.html





http://whatsthatbug.com/caterpillar_2.ht...





http://www.webmd.com/hw/health_guide_ato...
Reply:here is one





http://insects.tamu.edu/fieldguide/cimg2...
Reply:use search engine at yahoo home page by inputting "asp caterpillar"into the blank beside "search".


what is the advantage of "asp caterpillar"?
Reply:Wikipedia.com is an excellent resource


Is it possible to use PHP and ASP in the same webpage?

I know you can use %26lt;?php (Code) ?%26gt; to start PHP code in the body of an HTML program. But can I go





%26lt;?php


(PHP code)


?%26gt;


%26lt;%


(ASP code)


%%26gt;





?


Please explain your answer.

Is it possible to use PHP and ASP in the same webpage?
Yes !





I am just learning PHP and ASP a good site for information would be WWW.W3SCHOOLS.COM.





I have been living on this site for last couple of weeks. Awsum site.
Reply:No. In order to support ASP code you need IIS, the Windows webserver. To support PHP you need the Apache webserver with PHP installed. Since you can only have one webserver service (IIS or Apache) installed on the server, you can only support one of the languages.





However, you could always program your own webserver software with your own command interpreter that could parse both languages. You could even invent your own language.


Can anyone guide me how to develop an online school management system using ASP.NET?

If anyone know a website that provides free coding of this particular application then please tell me.

Can anyone guide me how to develop an online school management system using ASP.NET?
Well, try http://planet-source-code.com there are more than 10000 source codes for free.





enjoy

state flower

How to install Arabic font in ASP program for my website. No installing in my machine to open.?

How to install Arabic font in ASP program for my website. I don't to install in my machine for opening. It should come through website inbuilt?

How to install Arabic font in ASP program for my website. No installing in my machine to open.?
You need to change the codepage and character set settings for your site to either UTF-8 or windows-1256. That will prompt visitors to install the proper character sets.





Just add this to the HEAD tag section of your HTML:





%26lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"%26gt;





But seriously, make it easier on the CIA and post your terrorist threats in English, please.


If I study PHP or ASP.NET 6 Hours per day Can I get a job in 6 months?

Thx for answering.

If I study PHP or ASP.NET 6 Hours per day Can I get a job in 6 months?
Roland:





You have been asking the similar questions many times for so long. I was wondering how you are doing since you asked the same questions over 6 months ago.





My answer your question is not to ask again. Go study and practice as much as you can. There is no easy way to get your on top of PHP or ASP.NET world.





If you don't practice and learn while you are coding, you will never get to anywhere in the programming world. A good programmer learned from the mistake they did and learned from other programmer. It might take 3 months for someone to get good job, but it will take 2 years for someone to get no job still.





So stop asking if you can get job or not. Go ahead to code. You have wasted a lot of time asking question about yourself. Keep faith that you can do it.


How I allow anonymous access to create user control in asp.net 2.0?

I have my web.config setup to deny ? and allow * in that order so that each visitor must log in.. I am using the 2.0 login controls. the new user link on the login control sends the user back to the login.aspx instead of CreateUser.aspx.


I believe this is cause of the permissions set. shouldnt the login control just redirect the user to the page without going back to itself?

How I allow anonymous access to create user control in asp.net 2.0?
try a proxy website.


How to move a table in a web page from one location to another location using asp..?

use tags like %26lt;dd%26gt; or   %26lt; %26gt;





%26lt;dd%26gt; will make your table move for one line space where as   will make your table move for one space position....





if you are looking for a script statament that can facilitate this... then in VB Script you can write:





Response.Write "%26lt;dd%26gt;" or end your script with %%26gt; and then write %26lt;  %26gt;   and so on until you get the correct position of the table....you'll have to use trial and error





you cannot format the look of your web page using asp technology unless you embedd html with your script......

How to move a table in a web page from one location to another location using asp..?
Start by putting the whole table in a div tag and setting the position of the div tag where you want the table to start.








Then use a java script or this encapsulation of a java script to move the position of the div.





http://amapedia.amazon.com/view/ASP.NET+...





This also lets you dim the background or the foreground


http://www.codeproject.com/useritems/js_...

song meanings