199,114 Archived Topics
Remove Filter ![]() | |
Hello Developers, I have a project in VS2008, i am having requirement to load control dynamically. So for that i am trying to develop one demo for it but i am not succeed yet. So i am here... I have developed one page namely (Default.aspx) and three user-control (UserControl1.ascx, UserControl2.ascx, … | |
| |
I need the code for inserting and deleting and updating a form in php by using of mysql in the back in this my table table vehicle veh_id veh_name model type color cost airbag speed | |
Hi, first of all i'm sorry I didn't include details about the problem i'm having in the title but it feels hard to explain without a wall of text & code for reference, plus the question I have to do for context. **Question** (inb4 dwight schrute) A class called 'sample' … | |
hi everyone, i am very new in java. i am having problem in SWITCH CASE STATEMENT. can anyone please help me to solve the following problem: you have to write a program in java to generate the following menu: 1: DATE 2: MONTH 3: YEAR 4: DAY if the choice … | |
<?php mysql_connect('localhost','root','root'); mysql_select_db('project'); $dbname="project" require('fpdf.php'); //Connect to your database mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); //Create new pdf file $pdf=new FPDF(); //Open file $pdf->Open(); //Disable automatic page break //Add first page $pdf->AddPage(); //set initial y axis position per page $y_axis_initial = 25; $pdf->SetX(25); $pdf->Cell(30, 6, 'id', 1, … | |
Public Class Form1 Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If CheckBox1.Checked = True Then txt1.Visible = True Else txt1.Visible = False End Sub Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked = True Then txt2.Visible = True Else … | |
Im getting a "Unknown database 'user_admin'" error and i dont see it here is my code $username = mysql_real_escape_string($_POST["Username"]); $query = "SELECT * FROM user WHERE UserName='$username'"; $result = mysql_query($query); if(mysql_affected_rows() == 0) { //All Checks Out: Create Databases $dbase = "user_" . $_POST["Username"]; mysql_query("CREATE DATABASE $dbase",$con) or die(mysql_error()); mysql_select_db($dbase, … | |
Hi > nice to be in DANIWEB > really i m stucked in collecting value from ajax > i have an html select option on onchange on account i have the list of the customers belongs to the account > the problem i cannot collect the value of customer choosen … | |
I want to send mail to my clients like their password and some other information also what should i do for that. how outlook express is helpful for that. when i am using password recovery wizard than the error coming [B]"The SMTP server requires a secure connection or the client … | |
Hy Friends, Have to submit a small routine program. So this is how it goes: There are soaps on the shelves. One soap costs $1 and the next soap costs $1.2 until no money is left in the pocket Each soap is 20% more in price than the previous one. … | |
OK friends, so I need your advice. I'm reprogramming another web app that was originally written in .Net 1.1. The page I am working on looks like simple GridView with select, update and delete enabled. But it isn't so simple. In the code I have 10, yes 10 calls to … | |
Hoi At the moment I'm learing Databases. this is some code that I'm using. The question that I have is, can I insert a row without ID. I mean that the database increase the ID number itself. Thanks in advance. command = new OleDbCommand(); command.Connection = connect; command.CommandText = "INSERT … | |
Hi, I need a script that on click of a button. Delete a folder/file. So when I click the button the folder deletes and it is for a install file that I made. | |
i kind of need to extract data from a code.txt which continues 0100000000001000000000000000000001100010011001 0100000000001000000000000000000001000000000000 0100000000001000000000000000000000000010001001 0100000000001000000000000000000000000001001001 0100000000001000000000000000000100100011001001 0100000000001000000000000000000000000000001001 0100000000001000000000000000000010100010101001 0100000000001000000000000000000010100001101001 0100000000001000000000000000000110100011101001 0100000000001000000000000000000011000000110010 0100000000001000000000000000000011110010111101 my main idea is to extract the number of ones in from each row ,each row = pulses converted from interrupt so as to compare with the … | |
I am trying to make a program that displays the nth prime number. I don't get compiler errors but it doesn't display the prime number. I don't know where it stops, ive tried breakpoints but it stilll doesnt work :(. here is the code: package primenumberfinder; import java.util.Scanner; /** * … | |
Hi everybody, I have problem in meetnewpeopleid meetnewpeopleid value is null how can i getid? anybody plz help me class meetnewpeopleActions extends sfActions { public function executePlanpage(sfWebRequest $request) { $meetnewpeopleId = $request->getParameter("meetnewpeopleId"); var_dump($meetnewpeopleId); $meetnewpeople_obj= Doctrine_Query::create()->select('m.personal_id,m.photo,m.plantitle,m.country_id,m.zone_id,m.city,m.plantype,m.about_plan,m.date,m.what,m.where_go,m.time')->from('meetnewpeople m')->where("id = ?" ,$meetnewpeopleId) ; $meetnewpeople=Doctrine_Core::getTable("Meetnewpeople")->find($request->getParameter('meetnewpeopleId')); $result = $meetnewpeople_obj->fetchArray(); $this->meetnewpeoples = $result; var_dump($result); } } | |
I want to write friendly urls by changing **`fullnews.php?id=123`** to something like **fullnews.php/123/This-is-the-Headline** or **fullnews.php/This-is-the-Headline-123** "This is the Headline" is the headline of the news item as selected from the database, id is the id selected from the database, I want to attach the id to the headline in url … | |
Im a student working on an application in c#. In the firstpage of my application a user selects an item eg 'Room1' from combobox which is databinded to a database, i want the same selected item to display in a label on another form in the application. (ie i also … | |
**The problem:** Our "thankyou" page (goal page) is not recording all of our conversions. For instance, our analytics account is showing 19 conversions for yesterday, but we actually had 34 conversions. **The situation and the Code:** Our thankyou page is being called dynamically from the checkout page through a jquery/ajax … | |
cant save ReturnIDcount in database table . ALTER PROCEDURE [dbo].[Transaction] ( @Patient nvarchar(50), @E_TO nvarchar(50), @R_type int, @User_name nvarchar(50), @ReportType int, @Patient_no int, @Patient_ID_NO numeric(18,0), @ReturnIDcount nvarchar(50) output ) AS BEGIN declare @idcount numeric(18,0) declare @tempid numeric(18,0) set @tempid = 0; declare @idcnt numeric(18,0) select @idcnt =isnull( max(idcount),0) from Transactions … | |
Trying to validate a form that contains information about a car. Have all the validation completed apart from part for the registration number, the format it has to be entered is two letters, a hyphen, last two digits of the year its from, another hyphen, then 3 letters. eg GT-00-TRE. … | |
![]() | hi, Actually , I want to ask that what is the exact use of bit fields? I have searched a lot and get one thing that they are used for saving space. But, on the other hand, I read that bits are "padded" to increase the efficieny of compiler to … |
How to fix the alignment of the scrolldown? Please help.:) | |
Hi, practicing some javascript tasks and need some help with how to use a for loop to go through an array (which has 10 integers entered by the user). The for loop is to check if there are any duplicates of numbers and then i need to remove the duplicates. … | |
hello, I'm trying to write a web application for mobiles using asp.net can anyone support me with a link which tells me how to start ? | |
I am using c# for my project, and i am working on a splash screen. Splash screen checking necessary files, problem is files are checked before showing splash screen. I want to do file checking after splashScreen interface become visible. I am using two methods //----------- Constructor --------------------------------------- splashScreen() { … | |
How do I open a Form using a Combobox In C++? How do I open a Form using a combobox? If I have 3 Values such as apples, oranges and I want to open a form if the user choses apples and another form if the user choses oranges. private: … | |
I am trying to create a search form for my database where a user can search for a customer name and all of that customers addresses will be displayed. my structure looks like this Customer table + ID + First Name - Last name - Company Name Address Table + … | |
i want to retrive data from database in datagrid while pressing the tab key. Help me to choose the event for this in VB.net 2010 | |
Create a class called Invoice with the properties (Part number, Part Description, Quantity and Price). Create appropriate methods and data types. Use the class Invoice and create an array of Invoice objects (Part number, Part Description, Quantity and Price) initialized as shown below: // initialize array of invoices Invoice[] invoices … | |
I was not sure how to name this topic, and I also couldn't think of a term to search for to find the answer, so I apologize now if the answer is already on here. I have a form and this is the code: [CODE]<form action="http://wwtele.com/cgi-sys/formmail.pl" method="post" name="Contact" dir="ltr" lang="en"> … | |
hello, I'm trying to write a web application for mobiles using asp can anyone support me with a link which tells me how to start ? | |
Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\Users\puy\AppData\Local\Temp\temp_30b1c203-656f-4baa-bcf0-1f3973082664 {7558C8AA-A85C-410E-993A-CA4CCADB14E6}.rpt: Unable to connect: incorrect log on parameters Please help me:( using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Data.Common; … | |
int a=-3,b=2,c=0,d; d=++a&&++b||++c; printf("a=%d,b=%d,c=%d,d=%d",a,b,c,d); why value of 'c' is not incremented in output? | |
I'm adding class through script to `<strong></strong>` ` background-color:transparent;` is OK in chrome and firefox but in IE adds black color around image **menu_bg.png** How to remove black background of image? **script** $("#navlist li a").hover(function() { $(this).parent().find('strong').addClass("hover"); }); **CSS** .hover{ display: inline-block; position:absolute; background: url(images/menu_bg.png) center no-repeat; background-color:transparent; } **HTML** … | |
0 down vote favorite I have written a code to convert decimal numbers into hexadecimal equivalent. The program prints correct value till '2559'. How to get correct values of hexadecimal for larger numbers. Here is my code: ######################################### # Decimal to Hexadecimal Conversion # ######################################### def DectoHex(n): if n <= … | |
I'm having a little problem regarding this log-in program. #include<stdio> #include<conio> #define p printf #define s scanf main() { char pass[20]; char user[20]; clrscr(); p("\nEnter your username: "); s("%s", user); p("\n\nEnter your password: "); s("%s", pass); if(user=="abel" && pass=="pass") p("\nW E L C O M E !!"); else p("\nINVALID INFORMATION!!"); … | |
Hello, I have to update product prices every 30sec which is like the sites [site1](http://www.coininvestdirect.com/en/) and [site2](http://www.bullionbypost.co.uk/ ). i am just confused how they did in above sites. i am new to magento. please any body sugguest me Thanks ![]() | |
Hi, i have a j2me game (in chinese): comments, button text, game guide... are in chinese! I want to make them all (chinese words) be translated into English, but Eclipese doesn't display these chinese words!! I downloaded some Chinese font and installed them, nothing change in eclipse editor! The same … | |
Hi, I developed a website with PHP version 5.1.4 and MySQL - 5.0.22. I tested the web on my localhost and it worked perfectly well. However, when I uploaded the website, I could not have access to all have to all the data inserted in my database. I could not … ![]() | |
I am in need of an urgent Hospital Management System Software with the inter connectivity between Doctors, Labs and In house chemists. Does anybody is having. If yes, then please please send me with the code. | |
Alright. I don't know how to program in PHP. I don't currently want to know. All I want to know is if &= " and" then what = "or"? I'm on a site with a search. the search doesn't work completly. The admin has much more important things to do … ![]() | |
Hi all, I want to two drop downs ,one is product and on selection of product there will be an another drop down subproduct . Then on selecting sub product ,the content of that sub product will be displayed in ckeditor. When I update the ckeditor content will be updated … ![]() | |
Hi! I recently done marketing for wordpress based job and they said write a proposal to them. I don't have any experienced about writing proposal and any one know where can I find a copy to referenced. and I don't know much about calculation of the project price with working … | |
hello, I'm re-writing a pre-written application which i wrote years ago i wanna develop it to become accessable by phones is it easier to write a mobile application using vb.net or an asp.net web page can be accessed by mobiles ,guid me please. | |
hello, I'm trying to write a web service using vb.net and i always get a localhost web service how can i write a web service as a server ? |
The End.