64,152 Solved Topics
Remove Filter ![]() | |
hi frnds,,,, here i want to access the data base and showing in the grid view without help of datasourse it will shows the error, the error is "The IListSource does not contain any data sources"" here my coding is as follows..... Protected Sub Page_Load(ByVal sender As Object, ByVal e … | |
A magic square is an N by N array of integers. The sum of the values of each row, each column, and the main diagonals are equal. Write a program that reads the size of a square, then each row, and verifies if the square is a magic square using … | |
Hi I have this form which works well when it is in list box. but when I change the list box to combo box, the form does not works and I will be stuck at "record does not exist" even though i choose the record from the combo box. this … | |
Hi, I have a requirement that when a user click on a record in the datagrid (the record holds Emp_id and his/her project allocation date and release date), then the dates from allocation date to release date in monthview should display bold. I have written the code but i dont … | |
hey guys, i was wondering if you could help me with my problem! i made a program that uses 3 arguments as inline commands: argv[0] is the name of the program) argv [1] is the name of the first file argv[2] is the name of the second file The purpose … | |
how could i add the onkeydown() function in jquery.. this is for the autocomplete.. regards, ^^ | |
Hello. I have search my app for all classes to implement java.io.Serializable. I think that the needed classes are covered.I create and serialize JInternalFrames. When I re-open a JInternalFrame some of the JMenuItems do not do thier job. Also when I right click the Tabs on the JTabbedPane to bring … | |
how to clear a textbox when enter incorrect than correctdata in integer format then at a time to disply validation in asp.net by using vb.net | |
Hello sir, I am using 2 dropdownlist on my page. Those 2 are bounded to AccessDataSource. Initially dropdownlist2 is hidden. Wen i select some values on dropdownlist1, the other must be visible. Thankyou | |
Hi all. i've been wanting to create a validation that user has to key in for e.g: 10/2009. i want it to have the number and the '/' char. i tried "^\d+$" which is only for numbers. ".*[/].*" which is only for '/' "^[0-9a-zA-Z]+$" which doesnt seem to work. can … | |
hi frnds i had got a problem, i want to increase the serial number automatically when page is loaded and it will be inserted into the database at every time when the page is loaded ....... here my coding in page load event is given below,,,,, [code] Protected Sub Page_Load(ByVal … | |
Hi friends i want to create an login window. It should be loaded when an login button is clicked. What i want to do is when my login window open background of the website should get blured. In other ways i want to create a window same as daniweb.com when … | |
hi frnds, i had got a problem,,,,,,, when iam retriving the data from database uising an condition it will shows the data appropriately... if the conditional value not in the database it will doesnot show any error....... here iam acessing the data from database using serial number condition,,,,, if the … | |
I am using aspx.vb to create a login page. I would like to create a remember me cookie using a checkbox that will help to remember user ID but will also allow it to be destroy if a different user ID wants to log in with the same computer, but … | |
i have a problem in showing the data in the other page which is saved from one page and should be shown in the other page after immediately saving it. can anyone tell how do it through form collection here is the code [CODE] Protected Sub Page_Load(ByVal sender As Object, … | |
[CODE] OleDbDataAdapter o = new OleDbDataAdapter("select * from tblExam1", conn); DataSet ds = new DataSet(); o.Fill(ds, "tblExam1"); DataRow r = ds.Tables["tblExam1"].NewRow(); r["exam1ID"]=324; r["patID"] = patid; r["ypsos"] = 32; ds.Tables["tblExam1"].Rows.Add(r); ds.AcceptChanges(); [/CODE] no error message. execute code normally, but row did not inserted in db what i m missing? its access … | |
Dear All, Have good day, I am trying to attatch file like yahoomail attatchement ,it means displaying name of file and Remove link after Button_click event fire. [CODE] protected void Page_Load(object sender, EventArgs e) { LinkButton1.Visible = false; label2.Visible = false; } [/CODE] [CODE] if (FileUpload1.HasFile) try { FileUpload1.SaveAs("e:\\parimal\\" + … | |
Actually i am trying to find the author of the article in this link. [url]http://authors.aspalliance.com/articles/dynamicbuttons.aspx[/url] But i failed as the provided email address is invalid. So i hope here can find the solution for it. Here it goes from the article exempted source code show on below -------------------------------- [code] Sub … | |
Hi all.. I need to make my dropdownlist disabled (none can change value or it should be read only)..which property should I use as readonly for dropdownlist is not working for me.. PHMO.. | |
hi iam giving a value in text box as " 2010 - 1 " insted of 2010-1 it shows error, please give me the code to avoid blank spaces within a string as given above, iam using asp.net with vb.net please help me....... | |
hi all.........:) actually im new to .net.. can we have routing in asp.net 3.5???? if yes, how? | |
hi i wants to create an dll file for removing blankspaces in a given string.......... here iam writing the code but it was not working..... please give me the correct code.... here iam using asp.net with vb.net [CODE]Namespace fillblank Public Class Class1 Private Sub blankspces() Dim a Dim done a … | |
I'm just wondering if someone could point me to some sources on linked lists. I'm trying to make it so the user inputs how many they want to add to the list and the list will stop after that amount. I'm just looking for some examples on it to help … | |
hi, i have to pieces of php code that i need to place into one but am unsure how to do it, firstly i have my peice of php to upload a few statistics: [CODE]<?php include 'mysqlconnect.php'; $db = mysql_select_db("upload_frenzy", $con); if (!$db) { die('Can not Connect to Database: ' … | |
I have created a search bar using PHP that pulls from my database by keywords typed in the search bar and displays links and descriptions of URLs' associated with the keywords. Is there a way for robots to randomly type keywords in my search bar on my website to list … | |
Good Evening: I am making a transition from ColdFusion to PHP, and I am curious about a code situation I encountered. I am playing around with adding two drop-downs with two different fields from the same query. Wish CFML, it is [CODE=coldfusion] <cfquery name="queryName"> SELECT * FROM food </cfquery> Please … | |
hi guys, could you help me with this one? this is about the autocomplete in php using a textbox.. my problem with this code is that when i used KeyDown on my keyboard, it should automatically input in the textbox the data, but mine is different, it displays "undefined" instead. … | |
[CODE] unsigned char buffer[1000] while(buffer < 0) num = fread(buffer,1, 1000, original_pointer); fwrite(buffer,1,num,copy_pointer); if(buffer > 1000) { //this is the place where i am stuck if the buffer exceeds how do i clear it then carry on reading and writing to a file ? [/CODE] | |
My curse seems to be SendInput... I have tried many sites and code variations and it never works right... it always returns an error. So can someone just whip together a quick class that has 3 public methods, one for keyboard (that takes a Keys data type) one for mouse, … ![]() | |
![]() | If I am loading a page called 'view6.php' with this url: /view6.php?id=24 What code do I need to get the id value 24 passed in the url string into the variable $im_id? I have searched and searched for this info without success. Many thanks in advance Stephen ![]() |
![]() | Hi all, I've been developing a GoogleCal app for a month or so in my spare time. I've ended up with a shed full of session variables, just so I can keep all the data alive and create an import file for GoogleCal at the end of the process. I … ![]() |
i have an introduction to programming class and i'm trying to write this program and the program is supposed to loop if you don't input a number within a specific range but it doesnt do it [CODE]def main(): endProgram = 'no' print while endProgram == 'no': totalScores = 0 averageScores … | |
[CODE] #ifndef HYS_MAIN_HEADER_H #define HYS_MAIN_HEADER_H #include <windows.h> #include <windowsx.h> #ifndef HYS_GLOBAL_VARIABLES #define HYS_GLOBAL_VARIABLES namespace hys { const short Null = 0; const bool True = 1; const bool False = 0; }; #endif // HYS_GLOBAL_VARIABLES #endif // HYS_MAIN_HEADER_H [/CODE] I want to avoid using macros as much as possible (C++ … | |
ok here is my project here so far: Main.cpp #include "Library.h" void main() { //GENERIC WECLOME SCREEN cout <<"\n\nWelcome to Hollow's Eye\n"; cout << "<Programmed by Ethan Rigel>\n"; cout << "Hollow's Eye a once bountiful and gorgeous land but alas; the\n"; cout << "Mighty Dragon has destroyed and ravaged our … | |
Hi! I'm working on a solitaire game, with a different card deck. First I create a big list with 81 elements (cards in this case), cardList. From this list, six cards are ramdomly picked and put into another list, playerCardList, and printed on the court. Once the cards are printed … | |
Hey, I've got an array full of random numbers and I want to say if the array is below a certain value, say 15, then to make everything in that array that less than 15 equal to zero. So far I've tried a few things and they've not worked, and … | |
Hey all, I'm doing a project to create an address book which uses a binary search tree (AVL node) structure to store, search and sort the data. There are 14 main fields for each address contact. All fields can be represented as strings. The 14th field can have unlimited entries. … | |
I have these 3 string: YELLOW,SMALL,STRETCH,ADULT,T21fdsfdsfs YELLOW,SMALL,STRETCH,ADULT,Tdsfs YELLOW,SMALL,STRETCH,ADULT,TD I would like to remove everything after the last "," including the comma. So i want to remove these parts ",T21fdsfdsfs" ",Tdsfs" and "TD". How could i do that in Python? | |
Hi people. I am having trouble printing out a list of items with n items per line. Here is my current code. [CODE]def printList(lst, lineCount): # given a list of items, print it out in # lineCount items per line. count=0 strList= '[ ' for element in lst: strList = … | |
what is report writting in programming and its uses by organization. let someone explain pls | |
Problem stated: Write the function flip_lines(). Open the input and output files file using the parameters. Return true if both files can be opened and processed, false otherwise. If both files can be opened, write each successive line of output in reverse order. (In other words, switch line 1 and … | |
Hi all! I have moved on to learning about classes.....they don't seem as bad as the past things I have done so far. I have, however, hit a few snags along the way. Here is my code for my Rectangle class [code] public class Rectangle { private int x; private … | |
I am using dijkstra's algorithm to try to gather fake street names and find the shortest path. However, I can only get numbers to work instead of strings... The example of my results is below. [B]Results:[/B] The shortest route from 0 to 1 is : From Street 0 to Street … | |
I am trying to create a Unit Converter. My Idea is to have a select box at the top to select Length/Temp etc. which will populate the two select boxes below with appropriate units. The below code should Work only for Milimieters to Milimeter, Meters and Kilometers. It should show … | |
Is there any drawbacks for using "this" pointer? For example: [CODE] Window_Properties::Window_Properties(wchar_t* wnd_title, wchar_t* wnd_class_name): window_width(1280), window_height(720), window_X(0), window_Y(0) { this->window_title = new wchar_t[ wcslen( wnd_title ) ]; if( this->window_title ) { wcscpy( this->window_title, wnd_title ); } this->window_class_name = new wchar_t[ wcslen( wnd_class_name ) ]; if( this->window_class_name ) { wcscpy( … | |
Hi there, I'm working on a 'queue program' which will queue 30 job numbers(case 1) between 1 and 30, validated, in an array, display the array , (case 3) and remove a number from the back of the queue.(case 2) I have the display array and remove from front of … | |
[CODE] #include <iostream> int main() { for(int i; i<3; i++){ volatile char str[]="hello\n"; std::cout<<str<<std::endl; } return 0; } [/CODE] Why? its gives output [ICODE] 1 1 1 [/ICODE] | |
I have a html template.I want to add login php script to my html.Putting frame and taking php to html is making some problem.Plaese help me, how i can take php script to my template | |
this is inside my servlet: [CODE]ArrayList<String> currentCustomer = model.getAllCustomers(); req.setAttribute("currentCustomer", currentCustomer );[/CODE] how do i access this arraylist in my JSP file? I eventually wanna loop over each string element. |
The End.