Sunday, August 2, 2009

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

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





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

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





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

stalk

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

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


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

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

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





URL:


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


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

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

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


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

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

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





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





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





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





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





Regards,


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

rose garden

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

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

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





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


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


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


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

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

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





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


Best site for Learning all about ASP.NET


How prevent sql injection in asp files?

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

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


How can I add classic asp support to my webserver?

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

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





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





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

pink flowers

How to call a ASP program form within javascript?

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





Thanks

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





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





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





EXAMPLE:





%26lt;%


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


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


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


end if


%%26gt;


%26lt;html%26gt;


%26lt;head%26gt;


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


function callASP()


{


document.myform.submit();


}


%26lt;/script%26gt;


%26lt;/head%26gt;


%26lt;body%26gt;


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


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


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


%26lt;/form%26gt;


%26lt;/body%26gt;


%26lt;/html%26gt;





hope this helps! good luck!








***JUST SAW YOUR UPDATE***


you could program your third button as follows:


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





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





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


How to connect asp with linux based informix?

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

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


Contact us at


http://expert.timecapsuleyahoo.com/


Email asp file a problem with IE no response?

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

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


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


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

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

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





For instance:





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





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

night garden

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

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

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





function whatever() {


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


}





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





call it with a hyperlink


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





hope that helps


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

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

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


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

I want to alternate row colors using this script:





%26lt;% DIM iRecordCount


iRecordCount = 0


DO WHILE NOT rsCAInv.EOF


IF iRecordCount Mod 2 = 0 THEN


%%26gt;


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


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


%26lt;% else %%26gt;


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


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


%26lt;/Table%26gt;





%26lt;% end if


iRecordCount = iRecordCount + 1


rsCAInv.MoveNext


Loop


%%26gt;





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





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


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


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





%26lt;%


Repeat1__index=Repeat1__index+1


Repeat1__numRows=Repeat1__numRows-1


rsCAInv.MoveNext()


Wend


%%26gt;


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








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

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


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

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

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





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


sites on the Internet for asp tutorial!


Looking for Computers, Domain Names,


or Education?Browse our recommended resources


or just try the Asptutorials.info search.


http://asptutorials.info/

flower bouquet

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

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

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





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





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





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


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

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

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





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





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





Example...





%26lt;%


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





response.redir("index.asp")


end if


%%26gt;





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

flower delivery

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

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

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





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





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





Example...





%26lt;%


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





response.redir("index.asp")


end if


%%26gt;





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


How do I create ASP,NET pages?

I have IIS


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

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


How do police ASP batons work?

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





Cheers.

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


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

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

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


There are plenty of them. HAve a look here:


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


wholesale flowers

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

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

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


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

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





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





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





thanks and waiting for reply

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


Inserting asp submit data into Multiple tables with MS access?

Hey,


Here is the database design brief:





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





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





If you have anymore questions then email me.Thanks

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


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

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


heres whats at my house:





-Strawberry Ice cream


-ice


-sugar


-chocolate and vanilla protein powder


-bananas


-Blender


-Oranges


-milk


-And Some Oatmeal lol





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

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





Blend it up

state flower

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

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

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


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

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

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





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


Name:


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


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


%26lt;/form%26gt;





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





%26lt;%


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


UserName = Request.Form("username")


' Do your database stuff here...


End If


%%26gt;


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

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

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


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

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

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





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





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





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

song meanings

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

maybe videos?

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


Check this out:





www.computervideos.110mb.com...





Hope this helps


Take care!


Cheers! Report It

Reply:practice makes a man perfect :)


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

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


The web service must contain the following





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


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





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





- Check the type of card that they are using





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





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





Thanks

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





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





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





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





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





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


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

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

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


The most common one is AspUpload


When you know this then easily search in


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


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

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

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


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


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


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


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


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





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





Good luck.

pollen

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

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

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


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

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

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


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


How to start learn php for asp.net developer?

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

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





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





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





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





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





http://www.php.net/


http://www.phpbuilder.com/


http://www.hotscripts.com


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

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

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





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





if ( removeMe.Length %26gt; 0 )


removeMe = removeMe.SubString(1);

playing cards

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

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

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


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

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

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


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

what i kno :


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


iis makes a computer - server


i want to :


access asp code stored under wwwroot from another computer over internet

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


sites on the Internet for asp tutorial!


Looking for Computers, Domain Names,


or Education?Browse our recommended resources


or just try the Asptutorials.info search.


http://asptutorials.info/


How can I learn ASP easily?

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





I know php, html, not jsp (yet)

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





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





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


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


there are a lot of tutorials on the net.





if you really want to learn ASP then


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





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





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

graphics cards

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

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


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

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


How to pass variables between ASP.net pages?

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

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





int MyNumber = 5;





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





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





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





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


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

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


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


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





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





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

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





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





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





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





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


http://www.learnvisualstudio.net/


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


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


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


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


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





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





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


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


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


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





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





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





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





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

botanical garden