Saturday, August 21, 2010

I am 47 How can I motivate myself to learn web development asp.net?

plz help.I am 47 How can I motivate myself to learn web development asp.net?
First, do you have to learn asp.net, or would you rather learn another framework, like PHP, JSP, Ruby on Rails? If you don't like Asp.net, try one of these alternatives.





Maybe you can set up a goal. If you're trying to develop a website, design the site, and give yourself a deadline in which to complete it. Maybe you could force yourself to donate $10 to charity for each day your deadline slips. At least someone can benefit from your laziness.I am 47 How can I motivate myself to learn web development asp.net?
You can get motivated a number of ways:





1. desire for money


2. fear


3. ambition


etc.





but it all comes down to you. You can't fake yourself into motivating yourself. Either something motivate you, or it doesn't.





If you can't motivate yourself by fear of being ';a loser'; as you say, then I don't know what can be done. You need some confidence and a belief in yourself. Only you can give it to you.

How do I use ASP to submit simple form data, and have the server e-mail me with the results.?

I have a form I've built using html but I have little scripting experience. I'm trying to find a simple solution for users to be able to submit form data without using an e-mail client. Then have that sent to a dedicated e-mail address for review.





Any help or links would be appreciated.How do I use ASP to submit simple form data, and have the server e-mail me with the results.?
You can use a simple asp form With sending email with CDO, and redirect it to any email address. this is a small sample:





http://www.w3schools.com/asp/asp_send_em鈥?/a>





Also if you wish i can make you the form with saving data in access database while you can view the data in administrator section of the site.





IF you need more help Please just msg me.How do I use ASP to submit simple form data, and have the server e-mail me with the results.?
A great source for sample code and applications is:


http://www.planet-source-code.com





You have to join to get unlimited daily code downloads (otherwise it's only one per day). Search for what you want under the ASP catagory.

How can I use the FileSystemObject or the Drive object in ASP to list all files in a directory I specify?

for example you can check if a file exist by





%26lt;%


Set fs=Server.CreateObject(';Scripting.FileSy鈥?br>




If (fs.FileExists(';\\panter\test1.jpg';))=tr鈥?Then


Response.Write(';File 1.jpg exist';)


Else


Response.Write(';Call IS department';)


End If





set fs=nothing


%%26gt;





But how could I list all files in that particular \\panther\*.*.How can I use the FileSystemObject or the Drive object in ASP to list all files in a directory I specify?
You can use the Files collection:





Dim MyFolder





MyFolder = ';\\panther\\';





Dim objFSO, objFile, objFileItem, objFolder, objFolderContents





Set objFSO = CreateObject( ';Scripting.FileSystemObject'; )





Set objFile = objFSP.GetFile(MyPath)





Set objfolder = objFile.ParentFolder





Set objFolderContents = objFolder.Files





And then you can iterated through your collection:





For Each objFileItem in objFolderContents





Response.Write objFileItem.Name %26amp; ';%26lt;br%26gt;';


Response.Write objFileItem.Size %26amp; ';%26lt;br%26gt;';


Next
  • horses for loan
  • skin care
  • What would you learn if you were a newbie like me. Asp.Net or PHP?

    Please detail how long will take to be good at it. Considering that I will spend an average of 3H per day learning it. Thanks.What would you learn if you were a newbie like me. Asp.Net or PHP?
    Hello,








    PHP is a relatively simpler language to use than ASP.net. Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding. However, critics also count this advantage of PHP as a disadvantage. Some of them maintain that the language of PHP has not been updated much, and hence it is still quite archaic and even, somewhat cumbersome for coding. ASP.net, which is a relatively new development, has a lot of options when it comes to languages. Here, you can use languages such as C#, J#, C++ and VB.net. Hence, when it comes to sheer choice, ASP.net has better to offer. But PHP is no less, since it can do its task quite well, even with its minimum language tools. The main thing your site will be used for is database reference. PHP is has much better support for the database management system, MySQL. This factor alone should probably help you make your decision. There is a lot to debate on about the worthiness of PHP over ASP.net or vice-versa. There is probably no end to it, and there never shall be. The problem mainly is that both of them are good in their own place, but people who have been staunchly using PHP for several years now 鈥?some of them for more than a decade 鈥?would certainly not like to go in for the new ASP.net. The price to be paid is quite high, i.e. learning a whole new syntax and getting used to it. That is more the reason why PHP is still so popular.





    Good Luck!


    Sean Colicchio


    Server Engineer


    Host My Site


    hostmysite.comWhat would you learn if you were a newbie like me. Asp.Net or PHP?
    *****Quote: w3schools.com*****


    Before you continue you should have a basic understanding of the following:





    * HTML/XHTML


    * JavaScript


    *************************************





    PHP is great, but be sure you know a little bit about the above mentioned. w3schools.com is a great place to learn all kinds of coding. They teach the web standards that are created by the World Wide Web Consortium. If you were working 3 hours a day on PHP I would suspect you could get through their entire tutorial on PHP in 1 to 3 days. Then you would know all of the syntax, the next step would be to start fooling around with it and when you can't remember some of the code you just use the reference.
    PHP. It is open source, and fits with many setups.





    How long it takes you to learn it depends on how you learn. I am a hands-on learner so I prefer to get books like PHP Cookbook and learn by deconstructing code. That way, I get the language structure and methodology at the same time I get syntax.





    It also depends on whether or not you understand logic, and programming standards already. If you know how to code something in another language, then ramp up time will be shorter. It is possible (and desirable) to do OOP with PHP.





    Also, take a look at this:





    http://www.w3schools.com/PHP/
    PHP





    If you spend three hours a day on it, with lots of testing and trying it yourself, you'll be pretty good in a week (being able to cover some of the basics and intermidiate tasks.)





    After another week or so, If you dive into MySQL a little, you'll step up your game a lot further.
    I would learn PHP. ASP only works Microsoft platforms, whereas php works on multiple platforms and is open source.


    Plus, I've used both and PHP is a lot nicer to work with than ASP (ASP is better for specific things but I find it isn't as flexible)
    Definately PHP!!!

    How can I make my stand-alone PC simulate an active-server-page (ASP) capable web server?

    So I can edit and test-run a website without having to go on-line. Please understand, I'm from the Philippines. Our ISP's are so inutile designing a website here is like digging a cave with a needle.How can I make my stand-alone PC simulate an active-server-page (ASP) capable web server?
    download and install WAMP


    http://www.en.wampserver.com/


    is a free package that contains ,apache,mysql,php etc

    When i move mouse pointer over link button then a message will higglighted in asp.net, how to do?

    when i move the mouse pointer over the link button then a message will highlited in asp.net, how to do?When i move mouse pointer over link button then a message will higglighted in asp.net, how to do?
    Put the desired text to show in mouse hover event of link button.When i move mouse pointer over link button then a message will higglighted in asp.net, how to do?
    use mouseover

    I am 47 How can I motivate myself to learn web development asp.net?

    I don't seems to motivate myself and keep learning. How can I accomplish that? I learn 1 day %26amp; skip several days then I have to come back and relearn what I forgot. I am 47 maybe it is my age? I need to do that , I need an improvement in my finances. Plz let me know what I should do? Or I will stay a loser all my life.I am 47 How can I motivate myself to learn web development asp.net?
    I think trimanga hit it. Microsoft targets the larger corporations who need internet and intranet services.





    Most everyone else runs on a Linux box. guncoding the page in php and pulling files from subdomains housed in MySQL.





    At least they should be.





    Why not, if you want to do backend work, don't you pick up a old P-III and set it up like a web server. There plenty of Linux forums, and the more you ask the more you'll get to know people.





    The class idea is great but I'd encourage you to get started on your own and make some mistakes in the meantime.





    I'm 58 and have two sites that benefit from that knowledge, but I've decided what makes me happy is working on the content and graphic design.





    And that's the key to anything. Do what you love to do, and live in the present. And then give yourself a present - to reminjd you of a particular accomplishment.





    Good LuckI am 47 How can I motivate myself to learn web development asp.net?
    how can we know what motivates you? everybody works differently. Some get motivated by the money, others just enjoy working with computers. If you don't enjoy it, maybe it's better to look for something different.





    some people work with a coach to find the best way of motivating them, or to get a clue which job they would like; sometimes, unemployment agencies can help with that, too. but if you're lacking motivation, then maybe programming is not the right thing for you.
    Everyone deserves a fresh start.
    motivation is up to oneself...when you get up each morning you need to say that you will accomplish this today....do this every day until it becomes a habit.... also, work on you self esteem...
    Just think of how people are growing as old as you waiting for your incredibly cumbersome and slothful asp.net pages to partially load and fail to work properly. (Don't worry, it's not your fault, it's the nature of the beast.)
    I recently took Visual Basic .net classes at a local community college.





    I don't think I could have learned it online or from a book.





    What is your reason for learning ASP.net? After studying VB.net I decided the web runs on Javascript and MySQL.

    I have a database with special characters, I wan't to display them on a web page and I'm using ASP, any ideas?

    ASP page connected to a mySQL database. The database text fields contain some special symbols, like french and german letters, how can I get ASP to display the characters correctly?I have a database with special characters, I wan't to display them on a web page and I'm using ASP, any ideas?
    Make a function that checks for special characters and replaces them with HTML friendly equivalents, before you write it out to the page.I have a database with special characters, I wan't to display them on a web page and I'm using ASP, any ideas?
    Use Server.HTMLEncode(';忙酶氓';) to encode the string before Response.Write()'ing it :)

    Will using an Access Database for my ASP.NET limit the number of people who can be on my website at a time?

    I read that Access will only allow a few concurrent users. So, If I use an Access(mdb) database for a product catalog on my ASP.NET website, will there be a limit to how many people can look at the catalog at one time?Will using an Access Database for my ASP.NET limit the number of people who can be on my website at a time?
    Access databases (you're really talking about MS Jet) has a limitation of 255 users, but it just gets unbelievably slow with less than that. Microsoft themselves don't recommend more than 20 concurrent users. You could try the free SQL Server Express, or Oracle 10g Express.





    You will hit first the XP Pro, 2000/NT Workstation limitation of 10 concurrent connections. ASP in Vista has the same limitation, but instead of returning an error it will queue requests.Will using an Access Database for my ASP.NET limit the number of people who can be on my website at a time?
    For a product catalog, I would think you are just looking up product, description, price, etc. So you can query all the data into a local dataset/array/datatable at page load and close the connection to Access.





    If you had multiple people actually ordering things simultaneously you might have the limits issue you describe, but for a product catalog I would think it's not an issue.





    hope that helps
    Yes it will. Access is not a relational Database Management System. It is a Jet engine.





    If you expect a higher number of concurrent users to access your website reading and writing data to your data tier, you should consider using SQL Server instead.
    I agree with plez on this one. As long as you close the connection after retrieving data for some portion of the catalog, Access will probably be sufficient.






    yes another great answer smutty





    Yes it will. Access is not a relational Database Management System. It is a Jet engine.





    If you expect a higher number of concurrent users to access your website reading and writing data to your data tier, you should consider using SQL Server instead.
    MS Access is a poor choice for an online database as a large number of simultaneous users could cause errors or even corrupt the DB and it doesn't have robust security or query performance. Much more popular databases for developing online apps are MySQL or the free (express) versions of Oracle, DB2 and SQL Server.





    If you cannot get those databases installed onto your web server than MS Access will be good enough for lower traffic volumes.
  • horses for loan
  • skin care
  • How to Populate javascript array from asp.net array?

    I want to populate all values from asp.net array to javascript array.Please give me simple example code that helps me.


    How to Populate javascript array from asp.net array?
    I would know how to help a lot more if the question was with PHP, but I got a suggestion for you that might help.





    add all values from the .net array in a hidden select box and call a javascript function that will read the elements from the select box to populate the javascript array.





    Good luck.

    How can i retrieve data line by line from database in asp.net?

    I store some poems in my database when i try to retrieve that poems on web page it looks like the paragraph, not like poems.


    Can anyone tell me or send me code that how can i retrieve poems line by line. I am using vb.net.How can i retrieve data line by line from database in asp.net?
    Perhaps do you have a delimeter for the poem? say comma or something so that it can clearly shows that when is the end of the line. for instance:


    bla bla bla,


    bla bla bla,


    bla bla bla,


    bla bla bla.





    So when you store them into the table column, it will look something like:


    bla bla bla, bla bla bla, bla bla bla, bla bla bla.





    And this will be what you see as well when you display them out. If you have a delimeter like ';,'; in your poem, when you display out you can actually break them and store them into an array, and display them back in line by line. Code should look something like this:





    Dim poem() as String = Split(xxx, ';,';)


    Note: xxx is the source of your data from DB, it should look something like dataset.Tables(';poem';).rows(0).item(';col鈥?br>




    Dim line1 as String = poem[0]


    Dim line2 as String = poem[1]


    Dim line3 as String = poem[2]


    Dim line4 as String = poem[3]





    Me.txtPoem.text = line1 %26amp; ';%26lt;br%26gt;'; %26amp; line2 %26amp; ';%26lt;br%26gt;'; %26amp; line3 %26amp; ';%26lt;br%26gt;'; %26amp; line4





    I'm not sure is this what you want, hope it will help. And please note that this code will only works if you have only ONE comma in each line and the comma is located at the end of the line. (last line can have no comma at all) :)How can i retrieve data line by line from database in asp.net?
    Change the DataBase field as text field.And Use Fck editor to write and save text.It will save exactly the same format u write on editor.Do some R%26amp;D.

    How can i add 35 min in System Time in ASP?

    I want to add 35 min in Sysyem time through ASP Now function.What is the way to do this?How can i add 35 min in System Time in ASP?
    DateAdd(';n';, 35, Now)How can i add 35 min in System Time in ASP?
    in ASP.NET, this is done with the TimeSpan class.





    Dim ts As New TimeSpan(0, 35, 0)


    Dim datePlus35 As DateTime = DateTime.Now.Add(ts)

    How to set the HTTP header, HTTP_Authorization using ASP?

    I am developing a website that allows users to upload and download files using ASP. However, I want to only allow the users to download the files which are uploaded by the corresponding users. So, now, I enable the Basic Authentication to protect the folders that contain the files. However, this needs users to type userid and password twice (one is inside the ASP and the other is the windows authentication dialog box). My ultimate goal is the ASP code can pass the userid and password to the dialog box. I know there should be something to be done with the HTTP_Authorization header. However, I found that I cannot use the response.addheader command to set this. What can I do with this? Many thanks.How to set the HTTP header, HTTP_Authorization using ASP?
    You'd be better off using just forms authentication, rather than trying to mix and match. You are really going to confuse the heck out of your users with the convoluted scheme you are using.





    Take the forms authentication you begin with, create a boolean session var called ';boolLoggedIn'; and set it to true. Boot out any user (via your global.asa) who does not have 'Session(';boolLoggedIn';) = true'

    How to delete a content of a file in ASP?

    I want to add a new content in begining of a file. How can i do it.


    My idea is reading all the data from a file to a variable and write the new content in to a file and then write the old content from a variable.How to delete a content of a file in ASP?
    I would write the new part to a temp file, then add the old part to it. Then read from the temp and write it all at once into the file.How to delete a content of a file in ASP?
    Look into the FileSystemObject

    How to Get The Ip address of all the systems connected in my sytem using asp.net(c#)?

    i have to know how many systems are connected to my system in network and i need their Ip addressHow to Get The Ip address of all the systems connected in my sytem using asp.net(c#)?
    Why don't you check your DNS server?How to Get The Ip address of all the systems connected in my sytem using asp.net(c#)?
    using System.Net.NetWorkInformation;





    //the network


    IPGlobalProperties myNetwork = IPGlobalProperties.GetIPGlobalProperties鈥?br>




    //gets the array of connections


    TcpConnectionInformation[] networkConnections = myNetwork.GetActiveTcpConnections();
  • horses for loan
  • skin care
  • Which DBMS I should choose to work with ASP?

    I want to design a website with asp and i was wondering to choose sqlserver2000, 2005 or mysql. And if I choose mysql to work with phpmyadmin, how do I start phpmyadmin. I mean making it work?Which DBMS I should choose to work with ASP?
    If possible, choose SQL Server 2005. Take SQL Server 2000 as next option and MySQL as the last option.





    The reason is that there is quite good integration between ASP.NET and SQL Server 2005 especially in caching. You can get data caching to work with SQL Server 2000 too but it is a bit cumbersome.





    MySQL is a completely foreign database to ASP.NET and it is best advised to avoid it if you can. Actually, I love MySQL and I use it for most of my work but it doesn't go well with ASP.NET. If you were talking PHP, I would have told you to use MySQL.





    Also, if you want to use PHPMyAdmin, you need a webserver with PHP support. Since you are running IIS, you will have to install PHP on that and then extract PHPMyAdmin files in your webserver root or create a virtual directory for PHPMyAdmin. Then you can access PHPMyAdmin by going to http://localhost/virtual_path_to_phpmyad鈥?br>




    Make sure you have PHP installed for this. Also, you should configure PHPMyAdmin with the correct database login.








    I strongly recommend against using PHPMyAdmin to manage in this case. Again, don't get me wrong, I use PHPMyAdmin to manage my databases but that's because I primarily develop with PHP. You will unnecessarily have to install PHP to get PHPMyAdmin to work. You can use a windows based GUI to manage MySQL databases too. I have used SQLyog for this and I think it is satisfactory. SQLyog is available at: http://webyog.com/en/Which DBMS I should choose to work with ASP?
    If you will be hosting the website with a hosted service, then you want to use SQL Server. If you will just be doing it on your local machine, then I'd use MySQL (Free since it's open source.)





    to use phpMyAdmin, simply follow directions that came with the install.

    How much should I be paying a ASP programmer an hour from India to do work for my website ?

    Well it depends on your requirement and the task and also how good the developer is. Usually if the developer is very good, and quick in what he/she does, then they tend to charge a bit more, typically $20-25 an hour. But if the programmer is relatively new, and you want to take chances, then it might go as low as $15 an hour.


    Though I recommend going for some small companies, with a proven track in development, even though they charge a bit more than that.How much should I be paying a ASP programmer an hour from India to do work for my website ?
    You can find many freelance programmers at websites like http://oktutorial.com/ , http://www.indianfreelancer.net/ ,etc. Just post your requirements there and let many freelance programmers bid for your project , you may then hire whoever you like.How much should I be paying a ASP programmer an hour from India to do work for my website ?
    Check out http://www.scriptlance.com





    Good Luck!

    How do I make ASP.NET web pages with content all over the place...not just top to bottom on top of each other?

    I want to make ASP.NET web pages with content all over the place...Like banners in the lower left corner...text on the upperleft side...links on top...... in ASP.NET





    do I just use HTML?


    or do i need CSS?


    or watHow do I make ASP.NET web pages with content all over the place...not just top to bottom on top of each other?
    How many ways are you going to ask the same exact question? You keep getting the SAME answers over and over again...





    You don't need to use ASP.NET to position banners on a web page this can be done using only HTML and CSS.





    Just visit http://www.w3schools.com and learn HTML and CSS and stop repeating your question again and again.How do I make ASP.NET web pages with content all over the place...not just top to bottom on top of each other?
    Hello,





    This can be done with both HTML and CSS. But, if you are looking at content overlapping each other than take a look at absolute positioning:


    http://www.w3schools.com/Css/tryit.asp?f鈥?/a>





    All of this can get a bit tricky though, cross browser compatibility is difficult especially with excessive CSS code.





    Good Luck! =)
    One way is to use html table to position contents on the page. %26lt;table border=';0'; width=';100%'; height=';100%';%26gt;


    ...put all content here...


    %26lt;/table%26gt;

    How do you navigate with ASP forms?

    On the page I am designing, I am going to have the user answer a question, then click ';submit.'; If it is ';yes';, the next page will have certain questions. If ';no';, it will display other information on the next page. Also, I need each answer to be recorded on a database.





    How would this be set up?How do you navigate with ASP forms?
    Look up Reponse.Redirect, ADO, ASP Forms.

    How to insert data from asp.net 3.5 to sql server 2005 database ?

    I have an application wherein i need to insert the value of a textbox in the database designed in sql server 2005 .. but i dont have any clues about it ... pls help ...How to insert data from asp.net 3.5 to sql server 2005 database ?
    Check out http://www.Asp.Net





    Microsoft has plenty of videos on that topic


    How to insert data from asp.net 3.5 to sql server 2005 database ?
    Hi search for tutorials abt SQL in below site





    cheers :-)
    Wish I could help you but this is out of my element

    How to lock the controls in ASP.net form?

    I designed a ASP.net form with some controls. While I designed, the controls are looked in well format. But in running mode the controls are jumped and disordered form. I want to lock the control in design mode. Is there any possible? Thanks...How to lock the controls in ASP.net form?
    You could use absolute positioning for your controls, see link below.


    However, read the comments with the article. Lots of people don't like that approach.
  • horses for loan
  • skin care
  • How do i serve a .asp website with out microsoft products?

    what app do i point the asp mime type to?How do i serve a .asp website with out microsoft products?
    I assume you have a Linux server? Look into installing Mono (http://www.mono-project.com/Main_Page), specifically mod_mono if you're using the Apache web server.How do i serve a .asp website with out microsoft products?
    You don't - you need an ASP.Net interpreter on the site. (You could run on an Apache server and use http://weblogs.asp.net/israelio/archive/鈥?/a> )

    How to--- display image from access database in Dreamweaver using ASP?

    I m trying to display the content of the table in the ASP web page. the entire table is getting displayed except for the image field.





    It is a simple Employee database, I want to display information like details of each emp along with their photos.





    (AND the images are not being displayed)





    Plz HelpHow to--- display image from access database in Dreamweaver using ASP?
    in order for the image field to work, it would have to be a virtual link to a physical jpg, gif, or other actual image. Most likely, your Access database is taking the image, and converting it to a format similar to uuencode / uudecode, hex 64, or some other similar format. My suggestion would be that you really need to export each image, and then rather than storing the actual image in the database, to store the file location or url for each image in the table.





    That would be the only way it would work. You can then have the image display like so:





    While not myrec.EOF


    Response.Write ';%26lt;img src=''; %26amp; MyRec(';ImageFilePath';) %26amp; ';'%26gt;';


    MyRec.MoveNext


    Wend

    How Can we add one special symbol '-',along with numbers from 0 to 9 ,in validation pf asp page.?

    If Possible Can any one help me with some code snippet.Its very urgentHow Can we add one special symbol '-',along with numbers from 0 to 9 ,in validation pf asp page.?
    %26amp; ndash; = -





    %26amp; mdash; = -- %26lt;%26lt;%26lt;%26lt; longer dash





    there is a semicolon after the h





    take out space after the %26amp;


    How Can we add one special symbol '-',along with numbers from 0 to 9 ,in validation pf asp page.?
    Java tutorials-


    http://java-tip.org/

    How to show truncated data in grid view in ASP.NET?

    I am using asp.net 2.0. I am using grid view to display data from data base. In grid view for one column i don't want to show all data from database, i want to show only first 10 characters only. i also tried using width property, but it doesn't work.How to show truncated data in grid view in ASP.NET?
    %26lt;asp:GridView runat=';server'; ID=';gv'; AutoGenerateColumns=';False';%26gt;


    %26lt;Columns%26gt;


    %26lt;asp:TemplateField%26gt;


    %26lt;ItemTemplate%26gt;


    %26lt;%# (Eval(';Name';).ToString().Length %26gt;=10) ? Eval(';Name';).ToString().Substring(0, 10) : Eval(';Name';) %%26gt;


    %26lt;/ItemTemplate%26gt;


    %26lt;/asp:TemplateField%26gt;





    %26lt;/Columns%26gt;


    %26lt;/asp:GridView%26gt;








    Before you truncate the first 10 characters, you need to verify that the string you're truncating is actually more than 10 characters long or you'll get an ';IndexOutOfRange Exception';





    In the above I assumed that the field you're truncating is called Name.





    %26lt;%# Eval(';Name';) %%26gt; will return the whole field. In the above, I test if the returned value's length is greater than 10. If yes, I truncated the string to display the first 10 characters. Otherwise, I display all of the field.





    For a better approach, you can try to handle the RowDataBound event of the GridView.





    Hope this helps.

    Is there a book for Classic ASP programmers that will teach how to program using ASP.NET?

    I'm an experienced ASP programmer that would like to improve my prospects and I'm looking for a book that will teach me how to program using ASP.NET. Straight to the point instructions with little technical ramblings and explanation will make it easier for me to learn. If you know where I can find a book like this, please leave a reference.Is there a book for Classic ASP programmers that will teach how to program using ASP.NET?
    ASP.NET and ASP are radically different technologies and platforms; as different as PHP is to Ruby on Rails. So rather than trying to find a specific book that is ';ASP.NET for ASP Developers';, which is about the same as trying to find a book called ';Ruby on Rails for PHP Developers'; - just get a good book on ASP.NET and learn it from scratch.





    If you feel like you need some help with the basics and concepts involved in ASP.NET, but written with technical people in mind, I recommend Wrox's Beginning ASP.NET 2.0 (http://www.amazon.com/Beginning-ASP-NET-鈥?/a> )





    If you would rather skip straight to the real development and skirt the basics (or after you've finished Beginning), I recommend Professional ASP.NET 2.0 (http://www.amazon.com/Professional-ASP-N鈥?/a> )





    I have more than a dozen Wrox books, most of which are on .NET and they're some of the best purchases I've made.Is there a book for Classic ASP programmers that will teach how to program using ASP.NET?
    There is not upgrade process from ASP to ASP.NET. Just read about ASP.NET





    ASP.NET Books I like:


    - Professional ASP.NET 2.0 - Wrox


    - Beginning ASP.NET 2.0 in C# From novice to Professional (A Press)


    - Programming ASP.NET By Dan Hurwitz, Jesse Liberty O'Reilly

    How to delete a record from to table in database using ASP?

    I have two table that are tbl_EmpDetail and tbl_User. these two contains same data. How to delete the records in both table at the same time?





    Please Help..How to delete a record from to table in database using ASP?
    command.CommandText = ';delete from tbl_EmpDetail; delete from tbl_User';;





    I am not sure about doing that in one SQL statement, but you can always use multi-step SQL commands. I know SQL Server supports this.
  • horses for loan
  • skin care
  • How do i solve this ';user session has expired'; when running crystal reports on the web and asp?

    Iam using crystal reports 8.0 and asp to view reports on our company intranet.Some computer display this error while some computer will show the report correctly.How do i solve this ';user session has expired'; when running crystal reports on the web and asp?
    When attempting to view a Crystal Report through a web browser, one of the following errors is received:





    “User Session Has Expired”





    OR





    “The oPageEngine object was not created or is not in scope. Please check that the Viewer is referencing rptserver.asp in the correct virtual directory. It is also possible that the ReadRecords method failed. Ensure that you are logging on to the datasource correctly and have provided values for Parameter Fields.”











    More Information:





    The Active Server Pages require the use of temporary “session” cookies in order to maintain the user state while viewing the Crystal Report. These errors may result if the browser or other software is set to block cookies.











    Solution:





    Enable cookies in the browser or disable cookie-blocking software.





    Go to tools and then internet options, then privacy and advanced. Enable your cookies.

    How to change theme in the whole application in asp.net?

    i made two radio buttons in which 2 themes in .css and skin files are defined.On selecting the radiobuttons,the particular theme is called and applied but i want after selection the theme it should be applied to the whole application but not only to that particular page.how it is possible??? can we call webconfig files differently???How to change theme in the whole application in asp.net?
    I like to change my theme programmatically for example on the first of December.


    I've got the following page directive in my web.config:





    %26lt;pages theme=';default';%26gt;%26lt;/pages%26gt;





    Now I'd like to change to the cristmas-theme for the whole application on a certain criteria.


    I put this code into my default.aspx





    private void Page_PreInit(object sender, System.EventArgs e)


    {


    if(december){


    Page.Theme = ';christmas';;


    }


    }





    This code works fine, but only for the page default.aspx.How to change theme in the whole application in asp.net?
    the CSS would have to be applied to the whole website.





    A session variable used to store what CSS theme is selected would help apply the theme to the whole site.





    When the page is being rendered on the server it would look at the session variable to know what css theme to use.
    Select your theme and apply in .css.Then .css file should call in all the pages.then entire application will change

    How to get text data from barcode scanner to ASP web forms(Tell me the procedure)?

    The only practical way to do this is to use a keyboard wedge style bar code scanner. This is a scanner that connected either between the keyboard and computer, or to a USB port and it appear to the computer that the value in the bar code is being typed on the keyboard. With keyboard wedge you can use a bar code scanner any place you can use a keyboard.

    Want to run ASP on Vista starter edition?

    I have windows Vista starter edition,how can i run asp files or install IIS on my computer.Want to run ASP on Vista starter edition?
    go to the properties of the files and....... ummm

    I have to pass a hide int value whenever i change the value of the dropdownlist in asp.net. How to do?

    I have to fill a dropdownlist with two value as (id, value) in asp.net application. That value only fill with dropdownlist. that id should be hide. when i click the value that id has to passed as internally. how to do this?I have to pass a hide int value whenever i change the value of the dropdownlist in asp.net. How to do?
    see the code:





    %26lt;input type='hidden' id='hdCombo'%26gt;


    %26lt;select id=someCombo onchage='saveChangedValue(this);'%26gt;


    %26lt;options%26gt;......


    %26lt;/select%26gt;








    %26lt;script%26gt;


    function SaveChangedValue(ddl)


    {


    document.getElementById('hdCombo').value = ddl.options[ddl.selectedIndex].value;


    }


    %26lt;/script%26gt;





    and refer the hidden field in server-side code


    e.g. in page load event as:





    request.form(';hdCombo';)





    if you are using server side combo box,


    use in page-load:





    srvCombo.attributes.add('onchange', 'saveChangedValue(this);')





    here replace srvCombo to your Combo box IDI have to pass a hide int value whenever i change the value of the dropdownlist in asp.net. How to do?
    If u r filling drop down lits from database u have to bind the dataset to control


    1. First set properties of dropdownlist


    DataTextField = ';ColumnName'; this will be visible on webpage


    DataValueField=ColumnName'; this will be value which is invisible on web page


    2. Bind dataset


    drpdown.DataSource = dataset;


    drpdown.DataBind();


    3.Set AutoPostBack propertyof dropdownlist to true


    and write what ever u want to werite in dropdown index changed event...


    u can get id of the selected value by selectedvalue property...





    If u dont understood mail me


    with column names ur featching from database.


    I will provide code for u...





    -----------


    Dropdown list has items colletion


    and each item will have value and text fields


    If u are filling dropdown list manually then give id in value and value in text fileds....


    U can get ids by selectedvalue property of dropdownlist
  • horses for loan
  • skin care
  • How can I copy the contents of one MS Access table to another using ASP by VB Script?

    Code required, Thanks.How can I copy the contents of one MS Access table to another using ASP by VB Script?
    eg. if you want to pass all data of table1 to table2 from asp page.





    use select command in asp script





    eg.





    select * into table2 from table1





    this will insert all records of table1 into table2





    kshitij yelkarHow can I copy the contents of one MS Access table to another using ASP by VB Script?
    1. Create a database connection


    2. Execute SELECT INTO command

    How to connect to Oracle 8i Database using ASP?

    I have developed a database using Oracle 8i. I have also developed webpages using Macromedia Dreamweaver. I would like to connect my database to my webpages. I'm considering using ASP. Is this possible? And does anyone have sample codes regarding this? I have searched but have found very little on connecting to Oracle 8i. Thanx in advance :)How to connect to Oracle 8i Database using ASP?
    %26lt;%


    if len(Request.form(';txtSQL';)) %26gt; 0 then


    dim cn, rs, i, cString





    set cn = Server.CreateObject(';ADODB.Connection';)


    set rs = Server.Createobject(';ADODB.Recordset';)





    cString = ';DistribTx=0;Data Source='; %26amp; Request.form(';txtDbase';) %26amp; ';;User ID='; %26amp; Request.form(';txtUserID';) %26amp; ';;Password='; %26amp; Request.form(';txtPassword';) %26amp; ';;';








    with cn


    .Provider = ';ORAOLEDB.Oracle';


    .Connectionstring = cString


    .open


    end with





    dim sql


    sql = Request.form(';txtSQL';)


    rs.open sql, cn,3,3





    if rs.eof = true then


    Response.write ';No Data in recordset';


    else


    rs.movefirst


    %%26gt;

    How to highlight a particular row in a datalist based on some condition in ASP.NET?

    I have a datalist bound to a database. I want to highlight the rows of the datalist if the date in the database column is less than today's date in the output. How to go about it?How to highlight a particular row in a datalist based on some condition in ASP.NET?
    Depends how you have your DataList laid out.





    I would use the OnItemDataBound event to dictate the background of the item.





    Sub dlStuff_onItemDataBound(Sender As Object, E As EventArgs)


    Dim dtTarget As DateTime = Now()


    If E.Item.ItemType = ListItem.Item Or E.Item.ItemType = ListItem.AlternatingItem Then


    Dim dtTemp = Convert.ToDateTime( (CType(E.Item.DataItem, DataRowView) ).Row.ItemArray(1).ToString())





    If dtTemp %26lt; dtTarget Then


    E.Item.BackColor = ';Yellow';


    End If


    End If


    End Sub





    %26lt;asp:DataList


    id=';dlStuff';


    runat=';server';


    BorderColor=';black';


    CellPadding=';5';


    CellSpacing=';0';


    RepeatDirection=';Vertical';


    RepeatLayout=';Table';


    RepeatColumns=';3';


    OnItemDataBound=';dtStuff_onItemDataBou鈥?br>

    %26lt;HeaderTemplate%26gt;


    List of items


    %26lt;/HeaderTemplate%26gt;





    %26lt;ItemTemplate%26gt;


    Name:






    %26lt;%# DataBinder.Eval(Container.DataItem, ';Name';) %%26gt;






    Date:






    %26lt;%# DataBinder.Eval(Container.DataItem, ';Date';, ';{0:d}';) %%26gt;


    %26lt;/ItemTemplate%26gt;


    %26lt;/asp:DataList%26gt;How to highlight a particular row in a datalist based on some condition in ASP.NET?
    You should write code in the ItemDataBound event handler of the DataList.





    private void dl_ItemDataBound (object sender,


    System. Web. UI. WebControls. DataListItemEventArgs e) {


    DataRowView drv = (DataRowView) (e.Item. DataItem);


    DateTime date = DateTime( drv. Row[';DateField';]. ToString() );


    if ( date %26lt; 10 ) {


    e.Item.BackColor = Color.Red;


    }


    }





    PS~The above code uses the same approach in VB.NET however it contains a mistake. The e.Item.BackColor is of type System.Drawing. Color not System.String. You cannot assign the string ';yellow'; to it.
    IN the datalist properties look for the style section


    In the selectedItemStyle change the back color to your highlight color.





    that should get you close...hope it helps

    Problem in dataformatstring of numbers in a template column of a datagrid in ASP.Net?

    I use a template column to display a column of numbers in a datagrid. I have formatted the data using the format string ';0:#,#';. This is for using comma as thousand separator for numbers. The problem is when the value is equal to zero, it is not displayed but it is left blank. How to display zero values also while using formatting?Problem in dataformatstring of numbers in a template column of a datagrid in ASP.Net?
    Use the format string ';0:N0';. This is the proper format string for a number with commas separating thousands. The 0 after the N indicates zero decimal places. Please see the source link for other options on formatting numbers.Problem in dataformatstring of numbers in a template column of a datagrid in ASP.Net?
    is the datagrid directly connected with the database.? or u r using some middle(business) layer to fetch the data and pass it on to the presentation layer..?

    How can i connect database from Sql server to asp.net pages?

    I have created the web page using asp.net and also database using Sql server want to input through text box from asp.net and insert the same to database i am new to this please guide (created data base using windows authentication in sql server)How can i connect database from Sql server to asp.net pages?
    1) Create an SqlConnection object. Supply a connection string to the object





    SqlConnection cn = new SqlConnection(';server=YourServer; Database=YourDB; Integrated Security = True'; );





    2) Create a command object to hold and execute your query


    SqlCommand cmd = cn.CreateCommand();


    cmd.CommandText = ';Your Query Here';;








    3)Open the connection:


    cn.Open();





    4)Execute your query


    cmd.ExecuteReader(); //if the query retrieves a record set


    cmd.ExecuteNonQuery(); //if the query is a Data modification SQL





    5) Close the connection


    cn.Close();





    Hope this helps.

    How to Install and run ASP.Net windows xp Proffesional?

    I want to know how to install asp.net , and Configure it into IIS and then run the code sucessfully. wait for answersHow to Install and run ASP.Net windows xp Proffesional?
    Check out this link below:


    http://www.w3schools.com/aspnet/aspnet_i鈥?/a>


    For asp.net tutorials check:


    http://www.w3schools.com/aspnet/default.鈥?/a>


    Hope it helps
  • horses for loan
  • skin care
  • How do I change the name of an uploaded file with asp?

    I have a page that allows a user to upload documents to a specified directory. I need to change the name of that file based on a name field (example:JohnDoe.doc). How can I get this done?How do I change the name of an uploaded file with asp?
    Here are two ways to rename files in ASP:








    http://classicasp.aspfaq.com/files/direc鈥?/a>How do I change the name of an uploaded file with asp?
    Use namespace System.IO. The following examples should be on one line (don't break the line).





    VB.NET:


    File.Move(


    ';C:\Dir1\SomeFile.txt';,


    ';C:\Dir1\RenamedFileName.txt';)





    C#:


    File.Move(


    @';C:\Dir1\SomeFile.txt';,


    @';C:\Dir1\RenamedFileName.txt';)

    How do I open asp file in browser saved in wwwroot on same computer i..e. what to type in address bar to open

    I activated IIS on computer and copied asp files to wwwroot folder.


    Please tell me now how i open it in Internet Explorer 7?How do I open asp file in browser saved in wwwroot on same computer i..e. what to type in address bar to open
    from IIS you can browse to the asp file, right click and choose browse. This will open the chosen file with your default browser.


    You check the url for yourself.How do I open asp file in browser saved in wwwroot on same computer i..e. what to type in address bar to open
    In the browser address bar, type localhost/pagename.asp





    If you need more help, contact me at http://www.yuchniuk.com

    How Compile a code written in text box in asp.net with C#.?

    I want to developed a website in which use a textbox.


    In textbox write whole code in c# console application.


    How its compile.How Compile a code written in text box in asp.net with C#.?
    Please clarify yuor question.Also,ASP.Net never used in Console Application...





    Go to





    File--%26gt; New--%26gt; Website --%26gt; ASP.Net Website --%26gt; cilck OK.





    Then U can use the source view to write HTML,Javascript %26amp; other web designing code...When u drag some control from standard toolbar say button,double click it then you will got a window named default.aspx.cs in which u can write C# programs...How Compile a code written in text box in asp.net with C#.?
    Jay try this link's





    http://www.asp.net/(S(ywiyuluxr3qb2dfva1鈥?/a>


    http://support.microsoft.com/kb/303247


    http://wiki.asp.net/page.aspx/282/passin鈥?/a>


    http://www.codeguru.com/Csharp/Csharp/cs鈥?/a>
    Yes it is possible to compile code at runtime and this is how





    http://support.microsoft.com/kb/304655


    http://www.voidspace.org.uk/ironpython/d鈥?/a>








    As an answer for your question I would check


    http://www.codeproject.com/KB/cs/codecom鈥?/a>

    How, with ASP Coding, can you do this?

    I am developing a website, and would like to code it so that there is a form to enter in testimonials, and then they instantly come up onto the testimonials page.





    The best way I have currently found is for the form to be e-mailed to me, and I manually enter it, but it is really annoying, and there MUST be another way !!





    Thanks in advance :)How, with ASP Coding, can you do this?
    Well you could create an XML file as the source for the testimonials and then save the data here. This will sort out you copying but, you might want to consider that at the moment you get to proof the data before displaying on your web site. If it's automated you could get ads etc, 'Want a Playstation'.





    There are always alternatives but they aren't always better.How, with ASP Coding, can you do this?
    Two things, i don't unfortunately have much experience coding in ASP, however if you said PHP i could write you a simple script.





    what you are basically looking for is a simple, modified guest book script one which takes the testimonials and processes them into a databse table so it is immediately visible. I did a quick search on google and came back with http://www.planet-source-code.com/vb/scr鈥?/a> as one tutorial for what you would like to do.





    If you would like a hand and decide to do it in PHP then feel free to email me using the address at http://www.dvariant.net

    How to send sms to mobile using asp.net?

    hi guys


    i heard that we can send sms to mobiles using asp.net with mobile tools available in .net. can any one tell me how to do that??How to send sms to mobile using asp.net?
    you need sms gateway service








    and that cost money

    How long will it take to learn: html,xhtml, css, javascript, flash, asp, and php?

    Does anyone know how long it will take me too learn these languages? I need to know them all extremely well with in a year in a half. Does anyone know if I will be able to do that? If not, how long do I need? and Where what is the best way to go about learning these languages very well?How long will it take to learn: html,xhtml, css, javascript, flash, asp, and php?
    HTML/XHTML are the same thing only XHTML is a bit more strict. They are very easy to learn and really can be done in a couple of days. I taught my wife most of the basics in a couple hours.





    CSS becomes a little more complicated because it has a completely different structure than any of the other examples you mentioned. And using CSS effectively is something that really comes with practice. There are a lot of quirks between different browsers that you need to figure out along the way and the proper use of positioning is an art form that takes some time to master. I'd say it only takes a few months to learn.





    JavaScript is the first real language that you mentioned. As they go it's pretty easy, but can become quite a hassle. It's used mostly for manipulating a web page that has already been loaded. Either by changing colours, content, or form fields. It can be a valuable tool when you look deeper to realize it's potential. It will take you a couple of months to really be able to write it confidently.





    PHP is the first real useful language. You can use it to create rich web apps. It can take about a year to be masterful at but afterwards you'll be able to do almost anything you want with it.





    ASP is more of a term to describe the microsoft way of doing things. You still need to learn C# or VB in order to create an ASP page. If you learn C# you're in for a lot of learning. It works completely different than PHP where PHP executes from top down, C# is object based and the code can jump all over the place. The good thing about C# is that once you know it you can create powerful desktop applications as well. VB is the easier of the two languages and can also be used for desktop apps but isn't a strong as C#. They can take you about a year to learn as well.





    The good news about all of this is that you can l earn all of these simultaneously because you need to use most of them together. XHTML and CSS are essential for each other to work. Javascript and PHP work together to create AJAX. PHP ultimately output XHTML, CSS, and Javascript, as does ASP. So in a year and a half you could very easily learn all of these. You won't be a master at any of them, that will take a few years of practice, but you'd be alright.How long will it take to learn: html,xhtml, css, javascript, flash, asp, and php?
    Well, that depends on your ability to learn logic. I suggest that you learn in the order mentioned, I believe you can achieve what you ask at that time. I suggest that you read first, practice what you read in the examples given, and then create the application. Do not create the application while studying. Instead of learning ASP I suggest that you study PHP first, and then if you want ASP.
    I have been taking classes at Kaplan University for over a year now and I have learned HMTL, XHTML, SQL, VB.NET and various other languages. There are many routes that you can take to achive these languages. I am using this route to achieve my Bachelors in IT with a focus on Web and Game Design. I still have 1.5 yeas to go. This is the best route for me, but may not be for you. Below, is the site if you want to check out more information about this college. My classes are taken online, which give me the freedom that I need as opposed to on-campus classes.
    You can start learning those languages by going to a website called www.w3schools.com or you can google w3schools........It's the best place for learning all the languages related to the Internet........hope it helps...........
  • horses for loan
  • skin care
  • My software firewall Commodo blocks the asp.net development server. How do i fix it?

    I first get an error when running a web project ASP.net development server failed to start listening to port 2860.


    Then i get the message Unable to connect to local host's web server.





    How do i allow it to the cassini web server to work with the firewall on.My software firewall Commodo blocks the asp.net development server. How do i fix it?
    Missing some details, so I posted a couple of links to help figure your issue out both links pertaining to same error different ways to fix, hope this fixes it.





    http://p2p.wrox.com/topic.asp?TOPIC_ID=43685


    http://forums.iis.net/p/1132140/1797712.aspx





    What OS?

    How to create a Flash form to send email without any knowledge of ASP, PHP or any other programing languages?

    How to create a Flash form contains subject, email, and message in Flash 8 that people can click one button to send email? I wanna put the files on Yahoo Geocities or any other free web sites. I don't have a server and I don't know how to do something like ASP or PHP.How to create a Flash form to send email without any knowledge of ASP, PHP or any other programing languages?
    When you boot up Flash, on the banner window, look on the bottom right where it says developer center. Click on it.





    You will have to learn what ASP and PHP are...not how to develop applications in. The wizards in Flash are great and easy to follow - BUT do some of the online tutorials and examples.

    Wednesday, August 18, 2010

    How do I upgrade my asp.net 2.0 web application to framework 3.5 with silverlight?

    I'd like to upgrade my asp.net 2.0 web application and I want to use the new visual studio 2008 and framework 3.5 and add some silverlight codes too. Is there any tutorial or video that can guide me through this whole process so I won't mess up my original application?How do I upgrade my asp.net 2.0 web application to framework 3.5 with silverlight?
    Your not providing enough details for me to give an accuarate response. However for most small apps I have found that converting to 3.5 is very simple and problem free. Just open the solution in VS 2008, let it auto-convert, try to compile, then go through any errors/warnings in the output dialog. Some things in 2.0 have been deprecated and will need to be replaced. Impossible for me to tell if you will run into anything. Bottom line - make a backup of your old solution, then just try converting it.

    How do I connect to a remote Oracle server using Classic ASP?

    Can someone give me a connection string to connect to an Oracle server on another server?





    I'm coding in classic ASP on a windows server... I can't setup ODBC so I'd like a dsn-less connection.





    Act as if, the user ID (schema) in new_apps is ';username';, with the password ';password';. The TCP/IP address for new_apps is 114.91.65.12 on port 1521.





    Can you help?How do I connect to a remote Oracle server using Classic ASP?
    Your server is going to need a driver for Oracle. That means ODBC or OLE. You need one or the other in order to connect.





    Assumung you truly cannot use ODBC, which I doubt, here's an OLE connection string using Data Access Components:





    ';Provider=MSDAORA;Data Source=114.91.65.12:1521; User ID=userName; Password=userPassword;';





    If that doesn't work, you can try this:





    Provider=OraOLEDB.Oracle; Data Source=114.91.65.12:1521; User Id=myUsername; Password=myPassword;





    And I'd go ahead and try ODBC, since I've never heard of a Web server with OLE but without ODBC:





    Driver={Microsoft ODBC Driver for Oracle}; ConnectString=114.91.65.12:1521; Uid=myUsername; Pwd=myPassword;





    In all the strings above, you need to remove the spaces following semicolons (;)

    How do send a sms to a mobile from an asp.net page?

    Hi I am involved in a school management software using asp.net to develop a web site. Here i have to send sms from the asp.net page. any one know how to send sms from a asp.net pages please help meHow do send a sms to a mobile from an asp.net page?
    http://www.codeproject.com/aspnet/Sendin鈥?/a>
  • horses for loan
  • skin care
  • Alison M. Jaggar believes that modern science needs to elevate emotions to play a prominent role in every asp

    Alison M. Jaggar believes that modern science needs to elevate emotions to play a prominent role in every aspect of scientific exploration, though she doesn't provide many concrete examples to examine. Identify one emotion that you believe should be an essential and consistent element in scientific inquiry, and explain [briefly] how this emotion might be better integrated into the process of constructing knowledgeAlison M. Jaggar believes that modern science needs to elevate emotions to play a prominent role in every asp
    This is contrary to Science (or at best irrelevant).


    Science has its own agenda: explaining the world.Alison M. Jaggar believes that modern science needs to elevate emotions to play a prominent role in every asp
    Confusion... when science is at hand!

    How can I develop a db-driven website in ASP.NET without buying db server software?

    I'm building a website in ASP.NET VB (not going to change language at this point), and I'd like to interact with either MS SQL server or MySQL. In developing the site, I need to test my code locally before deploying on the internet. How can I achieve this without paying for the same software that will be used by the web hosting server? Can I download MS SQL Server Compact Edition, code to that, then just upload to a site using SQL Server? Or is there some way to develop for free with MySQL?How can I develop a db-driven website in ASP.NET without buying db server software?
    The free database engines from Microsoft are fully compatible with SQL server, the only differences are the supplied tools, the maximum database size and the number of connections.


    MySQL is free so you can download and install exactly the same software as used by your web host.How can I develop a db-driven website in ASP.NET without buying db server software?
    You can download SQL Server Express edition for free from microsoft. If you have the express edition of visual web developer then I believe that you have it already. In any case you can download it seperately. You can get it at http://msdn2.microsoft.com/en-us/express鈥?/a>

    How do I pass a variable in ASP code and have that variable show up in the URL?

    I am programming an .ASP file. I want the person to be able to fill out there first and last name and on the next page they are sent to I want their first and last name to show up in the URL. Can you explain how to do this or recommend a web site?How do I pass a variable in ASP code and have that variable show up in the URL?
    Hi,





    You don't need ASP to do this - passing variables in the URL is a standard HTML form function (although you will need ASP, or another server side language, to retrieve those variables).





    Use the GET method for the 'method' of your form. The data will be appended to the URL you specify in the 'action' of the form.





    EG:





    %26lt;form action=';processform.asp'; method=';get';%26gt;


    %26lt;input type=';text'; name=';firstname'; value=';John';%26gt;


    %26lt;input type=';text'; name=';lastname'; value=';Smith';%26gt;


    %26lt;input type=';submit'; value=';Submit';%26gt;


    %26lt;/form%26gt;





    When submitted will land the user at processform.asp?firstname=john%26amp;lastname=鈥?br>




    For your information, the POST method is generally considered a cleaner way to handle forms. You can read more about forms, the GET and POST methods at the w3 schools website - http://www.w3.org/TR/html4/interact/form鈥?/a>How do I pass a variable in ASP code and have that variable show up in the URL?
    why not simplify your problems by sending it to a database and then recover it back for the database on the next screen

    How could I enable user to upload and download file from server using asp.net 2?

    How could I enable a user to upload file to the server and then view link to download this file from the server to anthor user i when he enters the site using ASP.NET 2?How could I enable user to upload and download file from server using asp.net 2?
    1. Use the FileUpload control to upload the file.


    2. Store the file name in a database table


    3. Display datatable to other user.





    I'll put up some demo code for this shortly.





    UPDATE:





    Code link is below.

    How to configure IIS so that .aspx files are parsed with asp.net interpreter but have .html extension?

    I've built a simple .aspx web page with third party opc control. Displays fine in Mozilla or IE, but won't display in Safari on my iPhone. Have read that I need to convert it to html, but when I save .aspx page as .html, all i get is a text string.How to configure IIS so that .aspx files are parsed with asp.net interpreter but have .html extension?
    The association association is decided in the Internet Information Services (IIS) Manager, however I don't believe that will help you.





    On many systems the fact that file.exe is a program while file.txt is a text file is decided by the file extension, however that is not the way browsers work. Browsers identify the type of data by the response they get to their HTTP request. The page you're reading this on doesn't have any extension.

    How to run ASP code on PC via IIS?

    I want to run asp code on my pc...i have installed IIS on VISTA...i saved the file in C:/inetpub/wwwroot/form.asp.....and i tried to run it by http://localhost/form.asp but it doesnt execute.....error comes file not found...but file is there......what should i do?How to run ASP code on PC via IIS?
    You have to add ASP capabilities to IIS. This post may help: http://snukie.wordpress.com/2008/05/14/v鈥?/a>
  • horses for loan
  • skin care
  • Script timed out (ASP) How can I overcome this problem?

    I am using classic ASP. how can I overcome this problem? what code should I use to make it expire in 60 minutes etc?Script timed out (ASP) How can I overcome this problem?
    %26lt;%


    script.Timeout = 1000 * 60 * 60


    %%26gt;





    1000 milliseconds * 60 seconds * 60 minutes = 1 hr

    How long does it take to become a good asp.net programmer?

    I was told that I need to learn some basic C# programming to start ASP.NET. So I am currently learning C# with a LOT of difficulties. Got problems understanding OOP as well as some


    (for loop). Should I give up?? I am 49 and was thinking getting into .NET development. What do you guys suggest I should do??How long does it take to become a good asp.net programmer?
    Stick with it. It is very rewarding. But, like many things in life, it is not terribly hard to learn but very difficult to master. With quite a bit of prior programming experience, I felt that I had ';learned'; .NET in about 6 weeks of working with it. But, I have been using it for almost 6 years (since it was first available) and only in the last year would I even begin to say that I have ';mastered'; it. I would say I am in the very, very bottom of those who would be considered .NET gurus. So if that helps you get any idea of what kind of effort it requires...





    But of course, you do not have to be a guru to do even very impressive, sophisticated things with .NET. It is a very broad platform, and I know many who have made it to ';senior developer'; level after only having used it for 2 or 3 years. They also had prior programming experience, though.





    You mention that you are struggling with OOP concepts. This suggests that you are learning .NET as possibly your first programming language, or at least your first real one. Don't worry about the .NET part - concepts like OOP and for loops apply to (nearly) all programming languages, and you would have to learn them regardless of the specific language you choose. So you are actually learning two things at once - programming theory and .NET/c#. Because of that, give yourself extra time, and take into consideration the fact that you really are learning two subjects at once.How long does it take to become a good asp.net programmer?
    You can use ASP with either C# or VB. In my opinion VB is a little easier to grasp as it is based upon a beginner language (BASIC)





    OOP - Object oriented programming is just a fancy way of grouping related parts of a program together. OOP allows you to structure your code so that is is easier to read, maintain and reuse.





    In an OOP program you have Properties, Events and Methods which are grouped together into the following:


    Class, Module, Form


    .


    Properties - describe


    Events - indicate something has happened


    Methods - do something








    A Form is a container for program code with a user interface. ( a Window)


    A Module is a container for related code like a form but it has no visible interface


    A Class is like a module but has the ability to be copied.





    You can think of a Class as cookie dough... With it you can make different types of cookies. A Class object called Cookies is copied and among the different copies some of the properties are changed by the baker.





    So with a flavor property you can set it to represent different types of cookies. Chocolate Chip, Peanut Butter, Ginger ect.


    The copies are all cookies it is the value of their properties which set them apart.








    With our cookie dough you need a method to bake it and we need a property to indicate if it has been baked.





    So the Cookie Class will have a method called Bake which will set a property IsBaked to True to indicate that the cookie dough is no longer raw but a finished baked cookie.





    This brings us to the topic of Events... Events tell the program something has happened. When an Event happens the section of code related to an event fires and the section of related program code will execute.





    To tie this in to our cookie class...


    When we baked our cookies we most likely baked a dozen. So we could have aother property called Count. We could have as part of our Bake method some code which adds 12 to the Count.





    Now for an Event.... the most likely Event to have with a Cookie Class might be. ';Eat A Cookie';





    With the ';Eat A Cookie'; Event we can indicate to the program that something has happend. ';Eat A Cookie'; will reduce the Count by 1. So Every Time you eat a cookie the count is reduced.





    You can make more events to trigger other program functions.


    Like when the Cookie count drops to zero fire an Event called ';Time To Make More Cookies';

    How to prevent going back to previous page using back button after you logout in asp?

    im submitting a form and getting logged out. But after i log out im able to see previous page by clicking back button. I wanted to avoid this and want to redirect him to previous page. How can i do this. Plz tell me the code.How to prevent going back to previous page using back button after you logout in asp?
    You can also add meta tags that will prevent caching, since your browser is displaying a cached page. Check Microsoft instructions for IE at link below:How to prevent going back to previous page using back button after you logout in asp?
    If you have classic asp, you can do a ';session.abandon()'; in the logout page, and they should not see the info if they refresh by going back.





    if you have asp.net you can use the built in login/out controls.

    How do I create a PDF Report using ASP?

    I'm currently working on a website in which we need various reports generated online. They need to be PDF's, and I'm using a MySQL backend. For our in-house application (Visual Basic) I'm using Crystal Reports, but the Crystal Reports method for generating PDF's online isn't optimal.





    What I want to know is, how can I create a dynamic data-driven report in ASP (not .NET) that will display on the users screen as a PDF?How do I create a PDF Report using ASP?
    Jeff,





    Don't know if this will help. Try typing in 'Cute PDF' in a search engine to see what comes up. Often times it's a matter of having a simple download. The one I downloaded allows you to convert anything in a PDF format. However, I understand that you are talking about a programming language and not regular documents. You might wanna check it out anyway just to see what comes up.





    Steven

    How do i create a simple form using ASP?

    i having problem creating a simple ASP form page. It will captured the data from the textbox(eg Name, Age) and once clicked on the submit button , it will send to one of the email.How do i create a simple form using ASP?
    You need one HTML form to collect the data and send them to an ASP page, and the ASP page takes the data from the form and send them to an email.





    **NOTE: I have trimmed the code from the source so that it becomes readable.








    HTML form:





    %26lt;form method=';POST'; action=';form_ac.asp'; name=';form1';%26gt;%26lt;br%26gt;


    name:%26lt;input type=';text'; name=';name';%26gt;%26lt;br%26gt;


    email:%26lt;input type=';text'; name=';email';%26gt;%26lt;br%26gt;


    message:%26lt;br%26gt;%26lt;textarea name=';message'; cols=';40'; rows=';5';%26gt;%26lt;/textarea%26gt;%26lt;br%26gt;


    %26lt;input type=';submit'; name=';Submit'; value=';Submit';%26gt;


    %26lt;input type=';reset'; name=';Reset'; value=';Reset';%26gt;














    ASP page:





    %26lt;%@ Language=';VBscript'; %%26gt;


    %26lt;% Option Explicit %%26gt;











    %26lt;%





    Dim name, email, message, NewMailObj


    name=request.form(';name';)


    email=request.form(';email';)


    message=request.form(';message';)








    Set NewMailObj=Server.CreateObject(';CDONTS.N鈥?br>

    NewMailObj.From = ';michael@codefixer.com';


    NewMailObj.To = ';whoever_you_want_to_send_it_to@hotmail.鈥?br>

    NewMailObj.Subject = ';New message sent..';


    NewMailObj.Body = ';the name you entered was '; %26amp; name %26amp; _


    ';%26lt;br%26gt;the email was '; %26amp; email %26amp; _


    ';%26lt;br%26gt;the message was '; %26amp; message





    'you need to add the following lines FOR the mail to be sent in HTML format


    NewMailObj.BodyFormat = 0


    NewMailObj.MailFormat = 0


    NewMailObj.Send





    Set NewMailObj = nothing


    Response.write ';The email was sent.';


    %%26gt;How do i create a simple form using ASP?
    Don't use ASP, use PHP it's much simpler and a better language.





    You can use this PHP Form:


    http://www.thedemosite.co.uk/phpformmail鈥?/a>

    How to get to a control in a datalist with c# and asp.net?

    I have a datalist on a page that is getting populated with values when the page gets loaded up. i have chosen to fill the datalist item with a hyperlink. I want to now set the style of the link when it loads. How can I do this? I need to be able to set the css of the link that is in the Datalist as an item. How to get to a control in a datalist with c# and asp.net?
    IDs are by default auto-generated by ASP.NET, beginning with name 'ctl00' or the like. The easiest way is to assign a class to the DataList and then make an entry for the text style of the hyperlink within that class.How to get to a control in a datalist with c# and asp.net?
    I went to Yahoo search the Web and entered ';Setting the css of the link in a Data list.'; This produced quite a bit of information on the subject.
  • horses for loan
  • skin care
  • How would I make my dress longer?

    I need to get my dress longer maybe to my knees or passed that.





    Any ideas?





    or how much it would cost to take it in?





    Here it is: http://www.forever21.com/product.asp?cat鈥?br>







    thanks so much!How would I make my dress longer?
    cut your feet offHow would I make my dress longer?
    Please try to dress designer

    Dreamweaver 8 Using ASP, How do I preview in browser, or set up a testing server to preview?

    In Dreamweaver 8, I have a site that uses ASP. I could preview the site in previous versions without setting up a testing server. I upgraded, to DW8 and now it requires a testing server set up. I set this up with my ftp account, and I could preview, but it also uploaded the files. I simply want to preview my pages locally, then upload them. Any help would be appreciated.


    Thanks so much!Dreamweaver 8 Using ASP, How do I preview in browser, or set up a testing server to preview?
    Install IIS. (Internet Information Server). This is a free Microsoft product to allow you to make your personal computer into an ASP server to view your ASP pages before you upload them.





    I only know how to do this in XP Professional, but it should be the same for XP home.





    Goto Start


    Then click on Control Panel


    Double click ADD or Remove Programs


    Select ADD/Remove Windows Components


    Select (IIS) Internet Information Server from the list


    Click on Next


    Microsoft will then begin to install IIS on your computer.

    How long does it take to be good using ASP.NET?

    Considering that I have no experiencxe in C# or VB.NET but a little experience in html. I was to become an asp.net developer.How long does it take to be good using ASP.NET?
    It also depends on how much programming knowledge you have in general. I would expect 3-6 months to be able to really know what to do, 12-18 months to be proficient enough to produce useful, complex systems on your own.How long does it take to be good using ASP.NET?
    Depending on how much time you are willing to put into learning the language as well as aptitude for programming in general. Since you have little to no experience it may take over a year to become proficient in the language if you are willing to put all of your time into it. ASP.NET is a lot more difficult than HTML though and if it took you a lot of time to learn that it will be that much more difficult to learn ASP.NET.





    Blair Craven, Junior Server Engineer, Hostmysite.com
    you'll first have to learn C# or VB.NET, if you have an experience with a OO programing language learning them will be easy. if you don't well it will depend on how quickly you learn stuff.


    To be good in ASP.NET you'll have to know, HTML and VB.NET or C# but to make a good site you'll also have to understand JavaScript, CSS, XML (for AJAX).
    If you want to learn Asp you need know html and javascript.


    But one of the quickest ways to learn all of those would be


    to go to w3schools.com the have easy to understand tutorials


    that are free and you don't need to download anything

    How do I get my asp.net form to validate in FireFox?

    I've been working on this for almost two weeks and I just found out that the required field validator only works in I.E. can anyone help me make it work in FireFox too?How do I get my asp.net form to validate in FireFox?
    No.


    But on the bright side- you've learned not to trust Microsoft products.





    What on earth possessed you to do client side form validation using Microsoft proprietary software?


    It won't work on anything other than Microsoft kit- there are a lot of Mac/ Linux/ mozilla/ Opera/ Mobile users out there.





    To salvage your code- couldn't you validate server side?


    It's not as neat, but if it took you two weeks to do it in ASP, it'll probably take a lot longer to get it working cross browser in javascript.


    (just remember to populate the form fields when you send the incomplete form back to the user- it's really frustrating when you have to fill in EVERYTHING 'cos you forgot one little detail)

    How to create an ASP.NET 2.0 application when I am using Web Developer 2008?

    I can't get my application to work on the host and I believe the reason is that they are using 2.0 and I am using 3.5. So how can I turn my 3.5 applications into 2.0 applications?How to create an ASP.NET 2.0 application when I am using Web Developer 2008?
    not sure what your asking. (?) you believe the host is using .net 2.0? ask the host. they should list the spects somewhere on there site.





    are you programing asp.net programs? if you've already programed an asp.net app using the new 3.5 then u can't convert back. You'd have to uninstall your .net 3.5 and revert back to the older versions. (i believe) never been in that situation before.How to create an ASP.NET 2.0 application when I am using Web Developer 2008?
    Just substract 1.5 from your application.It would become 2.0.

    How to create a dynamic report using a datagrid in ASP.Net?

    I want to display a dynamic report using datagrid. i.e ten check boxes will be present in a web page representing column names of a table and based on the selection of these check boxes, corresponding columns should be chosen from an access table and displayed in a datagrid. The selection of check boxes might vary each time but correct number of columns should be displayed in the datagrid dynamically. How to go about it?How to create a dynamic report using a datagrid in ASP.Net?
    First, you will need to use dynamic sql to build your query based on the selected check boxes (columns) because the columns in your select statement will need to be dynamic.





    Second, you will need to use the sql statement you create to fill an untyped dataset.





    Finally, bind the dataset to your datagrid and make sure that the ';autogeneratecolumns'; value is set to true.
  • horses for loan
  • skin care
  • How emoticons appear in ASP message boards?

    I'm playing about with ASP at the moment and I'm curious to know how, in message boards, how it knows to replace :) or [smile] with an emoticon image?


    Are there any tutorials or code snippets explaining how it works?


    Cheers!How emoticons appear in ASP message boards?
    Some boards are doing it using JavaScript, (to save server resources); but you could do it using a function like preg_replace ( see http://php.net/preg_replace )








    In ASP you would do something like:


    %26lt;%


    RThis = (';Hey replace my smiley :-)';)


    RThis = Replace(RThis, ';:-)';, ';%26lt;img src=';';Smiley.png';';%26gt;';)


    %%26gt;





    %26lt;p%26gt;%26lt;%= RThis %%26gt;%26lt;/p%26gt;








    Just replace ';Smiley.png'; with the smiley you want.

    How can host ASP pages on tomcat?

    I have an intranet of my department which we are planning to build in ASP. The server we would given to host it would be a linux box. I want to know if there is any way I can host ASP files on Apache without incurring extra cost (like using some other free web server for linux or putting support for ASP on apache).How can host ASP pages on tomcat?
    You may be in for a rough ride if this site uses any COM+ packages. Enabe mod_perl and install this script in Apache.





    http://www.apache-asp.org/How can host ASP pages on tomcat?
    I believe you cannot use Linux box to run ASP, you may use PHP or JSP/ Servlets in a Linux box, but ASP I'm afraid you cannot. You can ONLY access an ASP created script from a Linux client box, via web server running in Windows, such as IIS or Apache (Windows version).
    no need to put extra cost...assign port number to apache server and perform url mapping , deploy asp files and host.
    Strictly speaking, there may not be an exact solution for what you're asking, but here are some solutions that are close...





    Grasshopper - Enables ASP.NET (not ASP Classic) to run as Java servlets on a Java webserver (Tomcat is a Java webserver)


    http://dev.mainsoft.com/





    ASP.NET on Mono - Although there are some patent intellectual property disputes, as it stands now Mono offers you the chance to run ASP.NET using practically any webserver on Linux.


    http://www.mono-project.com/Main_Page





    Chilisoft - A special Java server from Sun that will run ASP Classic


    http://www.sun.com/software/chilisoft/in鈥?/a>





    ASP on Apache - Not sure why you might prefer Tomcat over other public licensed webservers, but Apache is an option this is just one of many solutions


    http://www.apache-asp.org/





    I'd question your project specs to build using ASP - If that's what you know then fine but if you're building brand new I'd probably recommend a more modern architecture that would perform better like ASP.NET.

    How do I add a new field to an ASP login and save it to SQL?

    I have the login working, but I tried to add another field for when a user registers for a login. It doesn't seem like it is saving the new field to the SQL database. Also, how do I call back the information in that field for the logged in user so I can use it on the page?How do I add a new field to an ASP login and save it to SQL?
    hi,


    When you try adding another field in a registration script, it doesn't mean you just alter by adding an extra field.





    You have to alter the database by adding that field, and you have to tell your program to insert that field into the database. I don't know your script inorder to help you out.





    You have to re-edit the insert query to fit your specified inputs (new ones as well).





    You have to have some programming experience inorder to do such thing.





    To do use that login information, you have to alter your login script and initialize or set a SESSION once the user was verified,





    You have to understand the concept of SESSIONS first before continuing.


    http://www.sitepoint.com/article/asp-ses鈥?/a>








    But here is how you do it...


    AFTER you verified that the user has been logged in do this:





    response.write Session(';username';)=';the name from database';





    NOW to USE it in any page you do this:


    you can just print Session(';username';)





    Enjoy.. Good luck on it

    How can I add tv episode name, numbers and season numbers to a C# windows application or ASP.NET page?

    I do not want an electronic tv guide, just a list of all aired episodes which updates itself when new episodes air.


    The TV shows I would want to see would be things like CSI, Scrubs, Doctor Who etc.How can I add tv episode name, numbers and season numbers to a C# windows application or ASP.NET page?
    Your question is very general.





    You'll have to design your data tier well. The data tier is the component of your application that is supposed to hold data. Typically this should be hosted on a Relational Database Management System. This step involves identifying the identities in your system. The identities are usually mapped to tables in the relational model. Example of entities you will have are : Episode, Program, EpisodeDetails etc...








    After designing the Data Tier (the database), you have to choose the nature of the application you'd like to have (windows or ASP.NET).





    Hope this helps.

    How to add timer on code behind file which redirect to another page after 10 secs? ASP.NET?

    I am new to the asp.net with vb...i want to use timer for displaying some message on page for some time and then the page should automatically redirected to the another page using params in querystring... thanksHow to add timer on code behind file which redirect to another page after 10 secs? ASP.NET?
    i can think of two ways, one with meta refresh tag, and another with simple javascript.


    First one, with meta tag; put this in your head section of page:


    %26lt;meta http-equiv=';refresh'; content=';15;url=http://example.com/';/%26gt;





    Second one, with javascript block can look like this:


    %26lt;script%26gt;


    setTimeout(


    function() { window.location=';http://www.google.com';; },


    15000


    );


    %26lt;/script%26gt;





    Both scripts redirect after 15 seconds. With second one, you can create URL string with params. If you want to inject something user entered in TextBox, then you use inline vb.net (this is js inside aspx):


    var element=document.getElementByID('%26lt;%= TextBox1.ClientID %%26gt;');


    var url=';www.google.com?query=';+element.valu鈥?br>

    (all this put inside function() )





    hope it helps!

    How to find out which tables are being used in the database of a web application developed in the ASP.net?

    I have access to database but not to the source code of the web applications and i can view and use the application. Now this application has many modules( like A, B, c, And D). If i want to find out which tables are used in C module. How i will be able to do that. I am using MS SQL server 2005. Please tell me the way to do that. Or if any software will be helpful in that.( please mention any freeware)How to find out which tables are being used in the database of a web application developed in the ASP.net?
    You have access to the front-end of an application, you have admin privileges to the databases (but not to the actual script), and you want to know what tables the script uses? Try actually using the application, then see what tables are updated. I must be missing something, because I don't see why you would want to see what tables are being use.
  • horses for loan
  • skin care
  • How long does it take to learn ASP?

    How long would it take to learn ASP. I fully understand PHP and mySQL already if that helps.


    and can you do most things with ASP that you can do with javascript%26gt;?How long does it take to learn ASP?
    It won't take you long if you know PHP. The only difference really is that ASP is a bit more verbose and based on Visual Basic in syntax (vbscript). Also it is used more with SQL server products which will take you a few more days to get a working knowledge.





    Since javascript is more of a client (browser) based language and ASP is server-side, they don't act much the same. There is a closer link between ASP and PHP or coldfusion.





    I would say it would take you about a week or two to pick up most of ASP if you are into PHP heavily. ASP.NET will probably take you closer to a month since it has some unique things like server-side controls, post back, and code behind techniques.





    Hope this helps!How long does it take to learn ASP?
    First, note the difference:





    ASP, usually refers to ASP Classic. It can be incorporated using vbscript, and the page development is very similar to php.





    ASP.net, is the latest technology, and is different than ASP classic. I requires programming in VB (Visual Basic, not VBScript), or C#, Java, or another compiled programming language.





    JavaScript is not the same. JavaScript is usually used client-side, where php and ASP are server-side. ASP.net will write a lot of javascript for you.





    ASP.net is more powerful than PHP, but not as simple to code.
    Jump in and do a sample project. If you know VB it will be extremely quick. Knowing PHP gives you the understanding of server side programming which is what ASP is. ASP should not be compared to Javascript. VBscript compares to Javascript. ASP compares to PHP.





    For browser compatibility stay with Javascript over VBscript. ASP vs PHP is totally up to you since it is run on the server. Just remember that server OS that runs ASP will cost you money, not so with PHP.





    Just have fun








    WOW Marty can type fast!

    How can I change/Convert HTML page to ASP page with out losing any property of page?

    Is there any body to help me about this question I will give High rate to whom give the best solution 100 % How can I change/Convert HTML page to ASP page with out losing any property of page?
    what?





    Just end it with .asp instead of .html its not going to do anything. You use the code throughout to apply applications to your code which still will use html its basic language. How can I change/Convert HTML page to ASP page with out losing any property of page?
    Change to file name to *.asp (or *.aspx for ASP.NET) instead of *.html





    This is because ASP supports HTML so it will work, no problem. All you have to do is rename the file.

    In ASP - How to upload a file to the server from a website?

    I cannot use any components,


    thx for the help!In ASP - How to upload a file to the server from a website?
    Good luck. No way to do that without a plug in or installed component in ASP.


    That's why most web hosting uses PHP instead because it is already including everything you need. Sorry to tell you but ASP sux.In ASP - How to upload a file to the server from a website?
    Not sure if this is a component (windows hosting is really rusty)


    but have you looked at:





    xupload.aspupload.com





    Also, have you discussed with your hosting company about the use of the aspupload.com program? They may allow it.

    How do I implement rounded corners in asp.net?

    I want to make certain divs on my web page have rounded corners. I don't want to use images for the corners.





    I'm willing to use plug-ins. I just need to know the best method.How do I implement rounded corners in asp.net?
    AJAX for asp.net has the tools you need to do this. You will have to install the AJAX toolkit.

    How do I make a funtion in ASP.NET be called asynchronously?

    I have a function that is a bit slow, but no return value is required to complete the page processing in ASP.NET. I figured if I could make the function asynchronous, it would speed up the page loading time for the user greatly.





    Thanks!How do I make a funtion in ASP.NET be called asynchronously?
    Use JavaScript(Client Side) or AJAX or ATLAS

    How to re-use data returned in recordset using classic ASP?

    In classic ASP Is it possible to have one recordset which pulls all data from a table in the database and then create a second recordset on the same page which uses data in the original recordset? I just want a quick fix for right now to get this page working and I will make it better later. I have a need to use ALL data fields in the table in one section of this ASP page and then only SPECIFIC records from the table in another section of the same page.





    If anyone can help me with this I really would appreciate it! Thanks guys!How to re-use data returned in recordset using classic ASP?
    I think I am missing something here.





    When you retrieve data from a database, that data will continue to be available until the web page is closed or you do another retrieve of data.





    If you are selecting multiple rows of data and you want this preserved for later use then either assign the data to variables or assign the data to an array.How to re-use data returned in recordset using classic ASP?
    Set rs = cn.Execute(';SELECT * FROM Table1';)


    If Not rs.EOF Then


    rs.MoveFirst


    While Not rs.EOF


    %%26gt;Hello %26lt;%= rs(';FirstName';).Value %%26gt; %26lt;%= rs(';LastName';).Value %%26gt;%26lt;%


    Set rs2 = cn.Execute(';SELECT * FROM Table2';)


    If Not rs2.EOF Then


    rs2.MoveFirst


    While Not rs2.EOF


    %%26gt;%26lt;%= rs(';FirstName';).Value %%26gt; %26lt;%= rs(';LastName';).Value %%26gt;
    %26lt;%


    %26lt;%= rs2(';Address';).Value %%26gt;%26lt;%


    Wend 'Not rs2.EOF


    End If 'Not rs2.EOF


    rs.Close


    Set rs = Nothing


    rs2.Close


    Set rs2 = Nothing
  • horses for loan
  • skin care
  • How to get the value of Textbox which is created at runtime in asp.net?

    In my asp.net page i have created textbox control when i click a button. and then i hve entered some values into that textbox. now i want to get the value of that textbox when i click another one button. Any one pls tell me how to get ?How to get the value of Textbox which is created at runtime in asp.net?
    i use another language , but i think


    x=form-name(or page-name).object-name(textbox name).text





    then use x in ur program

    How can I pass data from an ASP to a SWF?

    Say I had an ASP page that had a SWF movie in it. But, I wanted to pass some random data from a ASP variable to a text box in the movie.





    Such as:





    %26lt;%


    DIM fname


    fname = ';John';


    %%26gt;





    How can I pass the contents of 'fname' to the movie?





    Hope that make sense, thanks for your help!How can I pass data from an ASP to a SWF?
    The easiest way of passing variables from an ASP file (assuming that it'll churn out HTML as well) is to use FlashVars, which pass variables from an HTML File to a Flash (swf) movie.





    A tutorial on using FlashVars can be found below:How can I pass data from an ASP to a SWF?
    You send the data to the Flash movie as XML or plain text, and you read the value and assign it to the Flash text box with ActionScript.





    http://www.adobe.com has tutorials on using ActionScript.

    Is it possible to query an Excel file using ASP?

    Is this possible and if so how can it be done? Could I use SQL to query data inside the excel file if I know the location of the stored file on my hard drive? Or would i have to learn how to program Macro's?Is it possible to query an Excel file using ASP?
    You can read Excel files from ASP.NET. I'm not sure about the older ASP. It's ADO.NET that does the reading of the file.





    Here is one of many articles you can find on the Internet.





    http://www.aspfree.com/c/a/ASP.NET-Code/鈥?/a>

    Can i use javascript for ASP programming other than VBscript?

    I need to know wether i can use javascript to script ASP pages with out the use of VBscript. I am new to ASP and dont know how to program in VBscript.Can i use javascript for ASP programming other than VBscript?
    Simple answer: yes.





    Even ASP.NET allows javascript. ASP and ASPX pages are basically HTML pages that allow code block from other languages %26lt;like VB or C#%26gt; to be embedded in them, think JSP if you are familliar with that. In the normal HTML flow of the page you can drop in JavaScript wherever you need to. The point of ASP and ASP.NET though is to utilize Code-Inline and Code-Behind so be prepared to learn VB or C# for that portion of the web application.





    http://www.w3schools.com/asp/default.asp


    http://www.w3schools.com/aspnet/default.aspCan i use javascript for ASP programming other than VBscript?
    You can embed javascript by using the language parameter such as:





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


    ...


    ...code...


    %26lt;/script%26gt;