Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~20.4K People Reached
Favorite Tags

80 Posted Topics

Member Avatar for Pallavivt
Member Avatar for vangraan

Yeah, thx. I'm with you, kdelta. It's remarkable how you can forget such a simple thing over and over again...*jeez* ;-)

Member Avatar for rawat_raju1985
0
3K
Member Avatar for nike123

A webhosting company provides services and storage space for whatever contents you'd like to put on the internet. If you want to make data available on the internet the only real alternative to using a webhosting company is to set up your own web server.

Member Avatar for btesfaamlak
0
157
Member Avatar for fielding

I always use this: [URL="http://www.quirksmode.org/js/detect.html"]http://www.quirksmode.org/js/detect.html[/URL] And then I believe this should work: [CODE]$(document).ready(function() { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $(".display_text_here").text(str); if(BrowserDetect.browser == "Explorer") { // optional include version number in criteria: && BrowserDetect.version == "7" $(".select") .mouseover(function(){ $(this) .data("origWidth", $(this).css("width")) …

Member Avatar for fielding
0
91
Member Avatar for lavin
Member Avatar for maba001
0
93
Member Avatar for mark185

If you mean the browser window menus, like "File", "Edit", "View" etc. then the answer is no. You cannot modify parts of the browser window from javascript. You change window size and write to the status bar (both of which is a big 'maybe' in Firefox, since the user can …

Member Avatar for mark185
0
86
Member Avatar for styles_p

Alongside the price you could send a timestamp with the request. In database you would have columns to hold: Product name, current price, time of last price/bid, etc. User A loads the product page. You show him the current price, but also saves the "time of last price/bid" to a …

Member Avatar for madmital
0
124
Member Avatar for geek_till_itMHZ

[CODE]var rowCounter = 0; var columnCounter = 0; for(var i = 0, len = 999; i < len; i++) { if(some prime number logic returns true) { rowCounter++; // increment row counter if(rowCounter >= 10) { // if ten rows have been written rowCounter = 0; // reset row counter …

Member Avatar for madmital
0
127
Member Avatar for lelady

First of all: be sure to call it javaSCRIPT. Java and Javascript are two very different things that share just about nothing beside the first four letters in their names. Script you find on the web may easily interfere with script already on the page. Use the Firefox Error Console …

Member Avatar for madmital
0
150
Member Avatar for MichaelHe

I've never heard of the problem you're describing. I always do it slightly different myself, though: [CODE]function ajaxRequest(strURL, strAction, strAdd, object) { var xmlHttpReq = false; var strRequestUrl = strURL; var self = this; if(strRequestUrl=="") strRequestUrl = strAjaxRequestFile; if (window.XMLHttpRequest) { // Mozilla/Safari self.xmlHttpReq = new XMLHttpRequest(); } else if …

Member Avatar for madmital
0
184
Member Avatar for cali_dotcom

[CODE]var counter = 5; var avail = document.getElementById['available_array[counter][0]'].value;[/CODE] The second line of the above means: Assign to variable named "avail" the value of the document element that has id "available_array[counter][0]". I guess that's not what you want to do...I can't think of any case where naming an element "available_array[counter][0]" would …

Member Avatar for madmital
0
96
Member Avatar for SanchitPaurush

Welcome to the wonders of web development. We would all like that every browser interpreted and supported css, javascript and vector graphics in the same way...but that's probably never gonna happen. I there really is only one real way to do it: trial and error. Identify what elements behave differently …

Member Avatar for kvprajapati
0
70
Member Avatar for dhivyamsc
Member Avatar for madmital
-1
55
Member Avatar for bonnysammy

This works: [CODE] SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE UpdateNewValues -- Add the parameters for the stored procedure here @OldValue nvarchar(100), @NewValue nvarchar(100), @OtherValue nvarchar(100), @OtherValue2 nvarchar(100) AS BEGIN If @OldValue = @NewValue BEGIN If Exists(Select PrimaryKey From TableToUpdate Where PrimaryKey = @NewValue) BEGIN Return -50 …

Member Avatar for madmital
0
320
Member Avatar for kanuri1

[QUOTE=kanuri1;1119671] [CODE] If dr.HashRows Then dr.NextResult() While dr.Read() Response.Write(dr(o).ToString) End While Response.Write("available") Else Response.Write(" No room available! ") End If conn.Close() [/CODE][/QUOTE] [QUOTE]here i wants to show the room numbers by using the following code but it is not working.[/QUOTE] That's not really a helpful description. You should tell us …

Member Avatar for madmital
0
82
Member Avatar for madmital

I'm trying to create a virtual directory in an asp.net 2 application....and I'm about ready to explode. My company is hosting several web sites, and I want all of the sites to be able to share a directory of commonly used files, so that I won't have to include all …

Member Avatar for dbreise
0
348
Member Avatar for paru

This' from an old guest book i wrote. Not the most stream lined code ever, but should give you an idea.... [CODE]<% Dim adoCon Dim rsGuestbook Dim strSQL Dim adoCon1 Dim strEmail Dim strSQL1 Dim rsEmail Dim testv Dim test1 Dim intRecordspp Dim intTotalRecords Dim intTotalPages Dim intPageNum Dim strBlah1 …

Member Avatar for webmstr
0
505
Member Avatar for Dheeraj Kumar

Don't know if on-the-fly images resize is actually possible with asp (maybe with some kind of third party component installed), but it is possible with php. Example: [url]http://www.tutorialized.com/tutorial/Thumbnails-in-PHP/788[/url]

Member Avatar for saeedabu
0
139
Member Avatar for madmital

Hi. I have a custom control that inherits from TextBox and implements ICallbackEventHandler. The control is kind of an extended ajax autocomplete/suggestions one. Aside from the Text property of the Textbox I have extended the control with a Value property. The idea is that a Hiddenfield control is assigned a …

Member Avatar for madmital
0
298
Member Avatar for madmital

Hi, Does anyone know of an easy way to make a databound gridview display multiline textboxes when editing rows instead of the standard singleline ones? I can't use predefinded edit templates, since the gridview is to be absolutely dynamic. That is, I never know how many columns wil be in …

Member Avatar for james.samek
0
673
Member Avatar for zanzo

Upload files in classic asp requires some sort of upload component to be installed one the server. Smth like [url]http://www.aspupload.com/[/url] will work I've never been able to find a free component myself. If you're using a commercial hosting company they probably have an upload component available, so check out their …

Member Avatar for ratri
0
162
Member Avatar for tahadhali

Making a dynamic select option is actually quite simple [CODE]<SELECT> <? @ $db = mysql_connect("localhost", "smth", "smth"); mysql_select_db("database_name"); $strSQL = "SELECT * FROM select1options ORDER BY name"; $rs = mysql_query($strSQL); $nr = mysql_num_rows($rs); for ($i=0; $i<$nr; $i++) { $r = mysql_fetch_array($rs); echo "<OPTION VALUE=\"".$r["name"]."\">".$r["name"]."</OPTION>"; } ?> </SELECT>[/CODE] You could then …

Member Avatar for ChiNko5
0
193
Member Avatar for Swin

Forgive me not answering your question, but I'm curious as to why you would even consider hiding the source of a form from the user? If you're writing "sensitive" data into the form, and that is why you want to hide the source from the user then you're simply doing …

Member Avatar for madmital
0
98
Member Avatar for amitahlawat20

What about the IIS (Internet Information Services)? It runs asp. IIS is not installed as standard but is included on the Windows XP installation CD. Go to Control Panel -> Add or Remove Programs -> Add/Remove Windows Components. In the dialog check the IIS option and click next. After installation …

Member Avatar for madmital
0
129
Member Avatar for TobbeK

This appears to be pretty simple to me, so maybe I'm not getting what you're trying to do. But anyhew, I'd do smth like: [CODE]Dim intCount intCount = Request("intCount") ' user entered how many fields shold be displayed For i = 1 To intCount ' for the rows For j …

Member Avatar for TobbeK
0
90
Member Avatar for piyusj

check that the internet user account on the server has permission to write to the directory in question. On a Window Server the user account that need permissions set is called "IUSR_" follwed by the machine name. Right click the dir -> Sharing and security -> "Security" tab -> "Add" …

Member Avatar for madmital
0
61
Member Avatar for themailsian

use javascript. [CODE]<a style="cursor:pointer;" onclick="document.forms['formname'].submit();">test</a>[/CODE] And then you can always change the form action or store some data in hidden form field to send to the server.

Member Avatar for madmital
0
235
Member Avatar for jac02000

running the aspnet_regiis should not be necessary if the .Net Framework was installed properly on the server. A common error in these cases if an incorrect customErrors web.config section, insufficient user right, or an incorrect authetication method. (...and then this post may belong in the asp.net forum? )

Member Avatar for madmital
0
76
Member Avatar for ctj

You can put an "onchange" javascript event on combobox 1 that submits the form. Then serverside you can read the value of the chosen combobox 1 value, read out values from the database, and create new markup for combobox 2. [CODE]<script type="text/javascript"> function postForm() { document.forms["smth"].submit(); } </script> <form name="smth" …

Member Avatar for madmital
0
81
Member Avatar for shreecr

....but for starters you need the correct .NET Framework installed on the machine running the IIS. Also you may need to setup an IIS application to run the web site in question. As regards VWD: I myself have no experience with the 2008 versions, but trying to open a 2003 …

Member Avatar for madmital
0
70
Member Avatar for vbgaya

There's no need to use DataSet for a simple operation like this. This should do it:[CODE] Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\scms\database\scms.mdb") : conn.Open() Dim insCom As New OleDbCommand("INSERT INTO services (col1, col2, col3, col3) VALUES('" & txtServiceName.text & "', '" & txtSinhalaShortTag.Text & "', '" & txtTamilShortTag.Text & "', …

Member Avatar for Phillip
0
119
Member Avatar for blakisa

This is an asp forum, ammarcool...not .NET. [CODE]<% set fso = server.createobject("scripting.filesystemobject") set file = fso.opentextfile(server.mappath(".") & "/data.txt", 1) data = file.readall() file.close lines = split(data, VbCrLf) response.write "<table border=1>" for each line in lines subline = split(line, ",") response.write "<tr>" for each val in subline response.write "<td>" & val …

Member Avatar for wim2440
0
144
Member Avatar for Morn

You should never execute code without evaluating it first. Since a checkbox has only two possible values a simple if...else eval will do just fine. Smth like: [CODE]strSQL = "INSERT INTO tblHome (memberID, towncity, towndistance, towndirection, propertytype, flatfloor, flatblock, nobedrooms, nobathrooms, maxnoofpeople, carneeded, carexchange, smoking, swimpool, petcare, childrenallowed, plantcare, additionalinfo, …

Member Avatar for madmital
0
238
Member Avatar for erpasoleh
Member Avatar for Hellodear
0
89
Member Avatar for Sarah Lee

The session variable can be set practically anywhere. I'd set it in the page.load section. To update the variable when the selected dropdownlist value is changed you have to do a postback. Just put an onSelectedIndexChanged event on the dropdownbox in which you set the session variable to the selected …

Member Avatar for madmital
0
132
Member Avatar for nekesa

Depending on the conn-driver somtimes you can get unwanted results by evaluating with "=" on string values. I personally always use "LIKE" as in: [CODE]strsql = "Select ssn From cwct07 where ssn [B]LIKE[/B] '" & Request.Form("ssn") & "'"[/CODE] On another note it is good practice to close your objects before …

Member Avatar for nekesa
0
202
Member Avatar for DigitalAngel

One of the major cons of MySQL is the fact that it is open source...and thereby free of charge. Also it is both faster and more stable than Access. You can download it from [url]http://dev.mysql.com/downloads/[/url] It is true that it has no front end, but you can download a graphical …

Member Avatar for ses5909
0
195
Member Avatar for basena

[url]http://www.daniweb.com/techtalkforums/thread26473.html[/url] [url]http://www.asp101.com/samples/xl_data.asp[/url]

Member Avatar for cancer10
0
258
Member Avatar for cmills83

Maybe it is not a filter at all. Could be just a poorly scanned image from a news paper...

Member Avatar for GreenDay2001
0
63
Member Avatar for Han1977

Don't use frames.....ever! It messes things up, and SEO goes down the drain. If your webhoster don't a server side language....find another one.

Member Avatar for GreenDay2001
0
139
Member Avatar for Qcdms21

You figured it out yet? The error tells you that RS2 is not open...that mean none of your evaulations return true. Either rewrite your code to include an "else" the no nested conditional action, or check if RS2 is open before "rs2.eof". You can do this by "rs2.state"

Member Avatar for cancer10
0
128
Member Avatar for uppuluri_pavan

You don't learn anything by having someone serve you the answer. You learn by doing. Find some examples for starters, and solve whatever problems you encounter as you move along. If you truely are trying to learn on your own, you shouldn't ask for complete solutions, but rather solutions to …

Member Avatar for cancer10
0
87
Member Avatar for bodikon

Sounds odd.... Normally the size of the expanded select element will fit in the screen/window. But you could add the "size" attribute to the "select" element. That'll make the "size" number of options visible always and add scollbars. But then the options won't "float" as they would normally, and that …

Member Avatar for tgreer
0
176
Member Avatar for weezie

[QUOTE=weezie;259752] [code] <% 'Create an ADO recordset object strSQL = "INSERT INTO tblComments (FaxNumber) VALUES (" & Request.Form("FaxNumber") & ")" adoCon.Execute strSQL Set adoCon = Nothing [/code] can anyone advise me what I need to do?[/QUOTE] Since it's a text column in the DB, simply try enclosing the "FaxNumber" in …

Member Avatar for weezie
0
145
Member Avatar for Mushy-pea

CSS "filters" are IE-only. Use the "visibility" att. Something along the lines of this should work: [CODE]<style> #dropdownmenu { position: absolute; top: 20px; left: 20px; visibility : hidden; } </style> <javascript> function showDropDown() { document.getElementById("dropdownmenu").style.visibility = "visible"; } </javascript> <a onMouseOver="showDropDown()">show me now</a> <div id="dropdownmenu"> item item item </div>[/CODE]

Member Avatar for Mushy-pea
0
131
Member Avatar for msniner

[QUOTE=msniner;259277] I am trying to 1. Display the news snippets (think this part is ok for me) 2. Display the user's comments below each and every news snippet 3. Count the number of comments per news snippet Should I use SQL and its "Count" and "Where" functionality to do #2 …

Member Avatar for madmital
0
133
Member Avatar for freedmanrp

As far as I remember you need to set write permissions on the database directory specifically as well. Not just on the virtual dir but on the actual folder. Depending on your server OS and user account config you may only need to "share" the folder and set write permissions. …

Member Avatar for madmital
0
69
Member Avatar for salim

There's no need for a recordset if you know what row to delete. [CODE]set adoCon = server.createobject("adodb.connection") adoCon.open "blahblah" strSQL = "DELETE FROM Product_tbl WHERE ProductID = 30" adoCon.Execute strSQL adoCon.Close [/CODE]

Member Avatar for madmital
0
73
Member Avatar for Qcdms21

post code. Don't expect anyone in this forum to open attached files that can contain macros!!

Member Avatar for madmital
0
70
Member Avatar for aparnesh

First: do you have a database with the info to report, that you can access via asp? Simple asp and sql is all you need here.

Member Avatar for madmital
0
91

The End.