17,029 Solved Topics
Remove Filter ![]() | |
Hi all, just another quick question, I have a browse button that I would like to have open a browse dialog box. Now I have tried using : [CODE]folderBrowserDialog1.ShowDialog();[/CODE] in the event handler of the button but I am missing the using system.windows.forms namespace. so another question can be asked.....how … | |
Hi there, here is my class(that performs an XSLT) [CODE] public void Page_Load(Object sender, EventArgs E) { string xmlPath = Server.MapPath("[COLOR="Red"]Help[/COLOR]"); string xslPath = Server.MapPath(blah blah); XPathDocument doc = new XPathDocument(xmlPath); XslTransform trans= new XslTransform(); trans.Load(xslPath); XmlTextWriter writer = new XmlTextWriter(Response.Output); writer.Formatting = Formatting.Indented; writer.Indentation=4; transform.Transform(doc, null, writer); }[/CODE] So … | |
Hi The following code is part of a program i have written: for (var count = 1; count <= password.length-2; count = count + 1) { document.write('*') }; What i want is for the output of the above (which would be a number of characters the password is minus 2 … Web Development javascript | |
Hi all I am relatively new to ASP.NET and would appreciate a little help with a problem I am having. I have a "login" page that (upon validation of username/password) loads up another page. Now I have both these pages (I am using c# btw) written, however I cannot find … | |
Hi friends, i have a problem in ajax.The code will get values when i use IE but it doesnt work with mozilla browser.It showing the alert message ? I am adding the code along with this.Expecting the reply soon. var xmlHttp; function getXmlHttp() { try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch … Web Development javascript xml | |
Hey all, Quick question i'm having trouble answering. I've concantinated my variables together and all looks good except for one thing. I want 2 spaces after a colon and am only producing 1. [code] "Thank You!!<br /><br />PERSON:"." ". $row['fname']." ". $row['lname']." [/code] This produces: Thank You!!! PERSON: John Smith … Web Development php | |
hi friends i have a problem in previewing image in mozilla browser.I will give the code. [code] script code <script type="text/javascript"> function loading(img) { document.getElementById('disp').src=img; } </script> [/code] [code] jsp page code <html:file property="productImage" value="${product.productImage}" styleClass="sni_input" onchange="loading(this.value)"/> <img src="" id="disp"> [/code] only few codes are written.I think you can understand … Web Development image javascript | |
I have used trim function as: $myar['mykey'] = trim($value); but the return value to that array is not trimed .. still there are white space before and after the real word.... what might had happen Web Development php | |
Basically I have a table that I generating using javascript. I wrote a function to build the row and I call it a bunch of times with different parameters. I know the individual functions work because I can pull them onto their own page and attach them to an onclick … Web Development javascript | |
Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I … Web Development php | |
How can you insert a hyperlink in your site that does not include an underlined text? This is for a basic reason that most of the text of a hyperlink is underlined. How can I get rid of it? | |
I have a Crystal Report that I am running in ASP.NET, and it has two parameters. When I run the page, the parameters are prompted for, and the report generates fine. But when I try to go to another page of the report, it re-prompts for the parameters, and then … | |
Good Morning, I have a script that is working just fine as it stands, thanks to ya'll :) I wanted to make a change to it but am having trouble making this change work. The scripts says to "select * from my databases", using "Where" three data inputs. This tells … Web Development php | |
Hey All, I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a [code]<form action="fromform.php" method="post">[/code] type form. What i want is to be able to … | |
hello friends... i want to get the browser name is asp code without using js and include the css file depending upon the browser of the user. i dont want to use js. because i am unable to include file in js. what i did in js is --- var … Web Development asp | |
hi, can u tel me where should i place the code for database connection?..is it placed in the same directory as other jsp and html files?....shall i put it in a java bean and then include it in all the other jsp files?..i Web Development java-jsp | |
Hi, I'm having problems with a tab content script/css in the way it displays in Firefox. [url]http://www.godirect.com.sg/etravel3/test/etravel.htm[/url] It looks perfectly alright in IE, but in Firefox the big shaded tab on the far right just wouldn't line up. I have used 'html>body' for Firefox so the layout in IE remains … Web Development html-css javascript | |
hi, can you please give a step by step procedure on how to connect oracle database with jsp. I am new to the language and cant quite figure a way out.My first page is a user login and therafter username is used.How do i use sessions for this? Thanks in … | |
thx..my first page is a login.in that user name and password are to be accessed from oracle database and then matched on button click.if match occurs then user proceeds to next page. So please help me out.I m getting very confused as to where to put what code..ryt from db … | |
I am trying to circumvent the whole "javascript can't read files, that's server-side" thing. basically i have a order form with a table inside it. I want to be able to load the rows of the table dynamically when the page loads. I am trying to get the "product" information … Web Development html-css javascript | |
I need to retrive value of the variable to which has been assign value on click event. The value is dynamicaly read from xml. I know that correct value is assign to propertyNum as I tried command [ICODE]document.write(propertyNum);[/ICODE] after value assign to just check it. [code]<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" … Web Development javascript xml | |
protected void Page_Load(object sender, EventArgs e) { ProcessInfo foo = ProcessModelInfo.GetCurrentProcessInfo(); Response.Write(foo.RequestCount.ToString()); } the code above generates the following error : `Process metrics are available only when the ASP.NET process model is enabled. When running on versions of IIS 6 or newer in worker process isolation mode, this feature is … | |
How will you know whether the input entered by a user in a textbox is alphanumeric, number, or string? I request a user to enter a number in a textbox and I wish to trap those users entering alphanumeric or strings. How can I do this? Web Development asp.net | |
hi, i want to collect information about my asp.net worker process, so i wrote the code below : Process p = Process.GetCurrentProcess(); foreach (System.Reflection.PropertyInfo prop in p.GetType().GetProperties()) { Response.Write(prop.Name + "<br>" + prop.GetValue(p, null).ToString()); } when i run the page i get the following error : Process must exit before … | |
What I am trying to accomplish is: When a user logs in the username / password is checked against the database. Once that is done, I need it to load a page. I am getting an error using the following code. [code] <?php require_once('core/db.php'); // Check if login form was … | |
Can someone tell me why this would cause the following error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource <?php $un = $_POST['email']; $pw = $_POST['password']; include("../admin/mysql.php"); $query = "select * from tbl_accounts WHERE $un = email AND $pw = password"; $result = mysql_query($query); $row = mysql_fetch_array($result); … Web Development php | |
Ok im not sure wether this counts as a php question or a database question, but ill put it here anyway. I have two fields in a database, one of which holds a foreign key that is a primary key from the other: USER(user_ID, username, password) USER_INFORMATION(user_info_ID, [COLOR="Red"]user_ID[/COLOR], name, DOB, … Web Development php | |
Hi Have a problem writing what i am sure is simple Javascript but have been trying to get round a problem for ages. The program asks the user to enter either 1 or 2 (there is a window prompt to say what option 1 and 2 are) When they enter … Web Development javascript | |
Hello...I've been trying to figure out this problem for most of the week - it's my second attempt at any XML and my first at XSLT so I haven't got a complete grasp of what I'm doing yet. Any help will be muchly appreciated. :) The problem is, the code … | |
hey guys i have this line [CODE]$result=mysql_query($query) or die(mysql_error()); $option=""; while($row=mysql_fetch_array($result)) { $option.="<option value=".$row['firstname; lastname'].">".$row['firstname; lastname']."</option>"; } [/CODE] Now i need to fetch the last name and first names and put them into those option values... hows that done? If i go [CODE]lastname, firstname[/CODE] I get nothing, if i just … Web Development php | |
I have stories (some with images) displayed through a repeating region. Data of stories and image paths from MySql. Stories with no image have a blank image frame next to it, but only on MS Explorer. I thought I had this resolved using a variable style. All Mac browsers look … Web Development php | |
Hi I have some code here that fills a dropdown box from an array depending on what is selected in another dropdown box. One of them is disabled, and i would like to stop that once an option has been selected. This is the Javascript: [code=javascript] function fillStates(opt){ s=document.f.states.options s.length=stateNames[opt].length … Web Development javascript | |
I'm having a little trouble understanding the mysql_connect and putting the user, passwd, database in a file outside of the web root. Can someone explain this to me like i'm 2 :) mysql_connect establishes the connection to the db, and the way I understand it is..I can put the username … Web Development php | |
Here is html <asp:datagrid id="mrpDataGrid" style="Z-INDEX: 289; LEFT: 576px; POSITION: absolute; TOP: 512px" runat="server" Width="160px" Height="90px" autogeneratecolumns="False"> <AlternatingItemStyle BackColor="LightGray"></AlternatingItemStyle> <Columns> <asp:BoundColumn DataField="SCHEDULE_DT" HeaderText="Scheduled Date" DataFormatString="{0:d}"></asp:BoundColumn> <asp:BoundColumn DataField="SCHEDULE_QTs" HeaderText="Summed Quantity"></asp:BoundColumn> </Columns> </asp:datagrid> I need to get values of both bound columns to use in calculations. TIA javascript newbie Web Development asp javascript | |
Is any one have code to upload images in asp. I want to store Image caption in database and image in Image Folder. | |
hey you guys have probably seen my other 2 threads but i said they were completed so i decided to create one more for this small problem. I realized that when i submit my form it sends me only the selected first names for some reason. Il post my script … Web Development first-post php session | |
Hi guys, i am writing this piece of code, it is building some javascript. I have got it working exactly the way I would like, apart from in the while loop, I would like to reomve the comma on the last loop. This needs to be removed for the javascript … Web Development javascript php | |
I've come across a bit of a conundrum. Firefox handles DOM manipulation based on the standard which (would'a'thunk-it?) works. However, Internet Explorer does not. So here's the situation. I've got a select box and a remove button which, in Firefox, works as advertised, ie., removes the selected element from the … Web Development javascript | |
Hi, all! Here's another one that's starting to boggle my mind. I have a form that, with a button, adds a bunch of text-fields in a tablerow. For every press of the button another row is added. This works in both IE and FF. No probs. When pressing another button, … Web Development javascript | |
I'm a bit new to this so please bear with me. I tried searching the forums for the answer, but perhaps I just don't know what to actually search for. Here's my situation: I am using Visual Studio 2005 Standard SP1 to develop a website based front-end for an SQL … Web Development asp.net visual-studio | |
Hi. As suggested by ~s.o.s~ in another thread, I'm posting this question here in the high hopes that someone might be able to help me. I have a JSON string coming in from a javascript that I need to convert to a predefined class object. I'd even settle for a … Web Development asp.net javascript json | |
hi odd problem with IE and Javascript? when I open my pages using ip (and not host name) thier javascript functions and events dont fire. can any one help? Web Development javascript | |
HII, i have a column in sql srver 2000 of data type bit.I have a checkbox in my page. i want to assign bit value to the column when the check box is checked and un checked,but i am getting errors when assigning true /false to the column. Web Development asp.net | |
Hey Sorry to bug you guys again. I had one more question. As i am developing this program now i realize that i have no clue how to save the data to the database. basically the whole point in making this program was to be able to export a table … Web Development data-structure php | |
Sorry, If i posted this incorrectly, or in the wrong place... I am just looking for help with Php Sessions... I have pasted the files and the warning I am getting... Any help would be helpful. Thank you for any help... Warning: Cannot modify header information - headers already sent … | |
I am trying to add users to my MySQ table "users" and for some reason I can only get one record added into the table. It tells me that the user is added but when I check the table I still only have the initial record in there. Please Help... … | |
I was just reading a new article in Developers Shed pn PHP 5 destructors and was struck by the technique used for coding the examples. I'm thinking primarily of the explicit use of private and public terms for declaring variables and functions. Is there any real benefit from this? Is … Web Development php | |
hi i now still new for php , me now facing a problem like this How to convert this sql statement into this array SELECT SUM(RAW_AMOUNT) as TotalRawAmount, SUM(FG_AMOUNT) as TotalFGAmount, SUM(WIP) as TotalWIPAmount, UPLOAD_DATE FROM raw_fg_sum GROUP by UPLOAD_DATE"; how to store data into to this multi array UploadDate … | |
hi every one i am trying to create shopping cart working with VB & access when i wrote add function an error occur i do not know how to solve"Syntax error in INSERT INTO statment" it please help me to solve the problem a shot screen is attached contain page … Web Development asp.net microsoft-access open-source session | |
hi i have a form ...i want to validate the fields in such a way it does not accept if the user is trying to enter numeric instead of characters.......... [COLOR="Red"]eg[/COLOR] in a name field if the user is trying to enter number....the typed data should not come...it should act … Web Development php |
The End.