199,114 Archived Topics
Remove Filter ![]() | |
i am creating a gridview at runtime like this [CODE]DataTable dt = new DataTable(); DataRow dr=null; if (gdvItem_Indent_List.Rows.Count == 0) { dt.Columns.Add("ItemType", System.Type.GetType("System.String")); dt.Columns.Add("Cost", System.Type.GetType("System.String")); dt.Columns.Add("Quantity", System.Type.GetType("System.String")); dr = dt.NewRow(); dr["ItemType"] = ddlItem.SelectedItem.Text; dr["Cost"] = txtEstimateCost.Text; dr["Quantity"] = txtReqQty.Text; dt.Rows.Add(dr); ViewState["ItemData"] = dt; } else { dt = (DataTable)ViewState["ItemData"]; dr … | |
Hi there I have used a script available on the internet for a multiple drop down box ( Country/State/City ). Once the selection is updated I would like 3 different set of result to show in box : Result could be value or text. Using the below script I am … | |
Hi Guys, First post on here :) I've been here before and i've usually been able to find what I needed but now I'm in a bit of a bind. I'm doing a piece of coursework for my university course and i've just hit a huge brick wall. Basically what … | |
Hello, My program looks something like this: [code=C] char *name= (char *)malloc(200); unsigned char type=1; unsigned char GetType(){ return type; } char* GetName(){ return name; }; void function(unsigned char* message, int* intPtr){ message[0]= GetType(); // works correctly // CODE HERE } void main(){ unsigned char *message= (unsigned char *) malloc(256); … | |
Hi there I have used a script available on the internet for a multiple drop down box ( Country/State/City ). Once the selection is updated I would like 3 different set of result to show in box : Result could be value or text. Using the below script I am … | |
Hello there. I have a website and I think it has been hacked this morning, using some sort of cross scripting. When I go on my site, reload a page or click a link, it opens a pop-up and shows ads. What to do? and how do i prevent this … | |
I have a folder which contains all images.I want the names of the images to be displayed in a combobox and when i click on a image the image should be displayed in a picturebox(in C#.net).plzz help me in the code | |
hi again.. Could sure use some help in another code I am currently working on. Would really appreciate the help. Today i am trying to convert a date i put in a textbox(txtJulian) to a normal date like 02/05/2011(or any other conversion depending what is imputed in the textbox). I … | |
Hello Everybody Can anyone tell me, What is Ruby basically? Thanks in advance. | |
Hello, Does anyone know if there is a way to keep a desktop icon after a new version of software is installed? I'm using VS .net 2008 and after publishing a new version of software, the program updates the first time it is opened. However, after the install of the … | |
If someone could help, that would be great.... Ok i want the data to be displayed together.... eg. 'week 1' displayed once then all the matches in a single table below, then prints 'week 2' follwed by the matches in the following table rather than continually stating 'week 1' and … ![]() | |
i am trying to write a SP that will return a value in vb.net here is my SP CREATE PROCEDURE ClaimTotal @Ctotal BIGINT output AS select SUM(total) from claim where @ctotal = total I want to SUM my total coloum from my table claim, and store this in a varible … | |
Dear members... I'm looking for a code in C language to calculate the sum of two number in Hexadecimal base.But I don't wanna use Math library.Please help me to do it as soon as possible... Respectfully... | |
The below function is showing error in the [QUOTE]"'<script[^>]*?>.*? </script>'si", // Strip out javascript[/QUOTE] line. How I can remove ?? [CODE]function smfeed_html_to_text($string){ $search = array ( "'<script[^>]*?>.*? </script>'si", // Strip out javascript "'<[\/\!]*?[^<>]*?>'si", // Strip out html tags "'([\r\n])[\s]+'", // Strip out white space "'&(quot|#34);'i", // Replace html entities "'&(amp|#38);'i", … | |
I know alot of you are gonna get mad that i started a thread on directX books when clearly at the top there already is a thread on direct X books, but this is different. I need books on Vector Algebra and Matrix Math/Algebra. I'm learning DirectX9/10 and i have … | |
This is a simple Search Engine that contains tokenized words as keys, in which they will return values associated with them in an ArrayList. All that is required is a text file from a valid extension. | |
Hey everyone, Im new to ASP.NET i have searched the web and i have come to a few threads which are close to what i am looking for, however they are only helpful to me to a certain extent. I have a grid in a form which is being populated … | |
Hello everyone, I am trying to write to a file what I am currently displaying on the console. I have a bit of code that works fine by creating a list of files based on it's file extention and it then displays it using println: What I want it to … | |
hy for all . i have to do a new university work about text mining and specialy on sentiment analysis . i have to try to analyze some mails and forums to extract from about what the student are discussin .. i've seen a lot of documentation about this , … | |
HI everyone, I'm a month old python programmer that really loves anything sound, and will like to know how i can use python to create Audio software. What are the tools needed, the platform, the pros, the cons. Thanks in advance. | |
My application is running fine on my end Which also contain app.config file from which i am taking the connection string. When i run the exe it gives error on user end And if i hard code the connection string then its working fine on user end. I am not … | |
hi, is there any code that calculates the cdf of lognormal distribution? i came across one in codecogs.com but it requires commercial license:/ any help would mean a lot. thanks from advance | |
can anyone explain to me : what is counter++ and ++counter and the different between them ? and static_cast <type_id> (expression) and setiosflags ( ios::fixed | ios::showpoint Thanks | |
Hi All, Can I put text in datetimepicker. Instead of it showed the dafault date and time (today's date), can I put text like e.g - Please Select Date - Looking forward to hear from u guys soon... URGENT | |
Hello, I am creating an console application for windows. I have set bufferSize and consoleSize so you dont have the console. If a set the cursor position at the very bottom right position the window scrolls down. Is it posible to stop this? Greetings Corné | |
When trying to run a simple `Qt program`, I get the following erros: (How can I solve them?) [CODE]In function `WinMain@16': c:/Qt/2010.05/qt/lib/libqtmaind.a(qtmain_win.o)[/CODE] [CODE]error: undefined reference to `_Unwind_Resume: C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:93[/CODE] [CODE]error: undefined reference to `_Unwind_Resume': C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135[/CODE] [CODE]error: collect2: ld returned 1 exit status[/CODE] Thanks. | |
This is my first c# application, it took me 2 months to write and it has over 3,000 lines of code.. [url]http://www.youtube.com/watch?v=2ZqYa8agDrQ&feature=channel_video_title[/url] I wanted to ask of your opinion, what do you think?!? | |
Hello, This is part of code I posted in another thread. Seems like the process works, I can load my arrays. But when I make a choice from a menu list. it just jumps out of the while loop. It does not enter the switch. I am sure I am … | |
globals.h [CODE] #ifndef _globals #define _globals #define NEXT(L) ( (L) -> next ) #define DATA(T) ( (T) -> datapointer ) #define LEFT(T) ( (T) -> left ) #define RIGHT(T) ( (T) -> right ) typedef enum { OK, ERROR } status ; typedef enum { FALSE=0 , TRUE=1 } bool … | |
Hey, it's me again. Again with a topic that has been covered here but reading through the old threads didnt help me to solve my problem. And I am pretty clueless at the moment. Consider the class passenger_queue with 2 functions, namely: [CODE]int passenger_queue::get_passengers_waiting() const { // Insert your code … | |
hey guys! how do i calculate the sum of a column in .csv file format using C? e.g my fie looks like this 1, 2, 3, 4 2, 3, 4, 5 3, 4, 5, 6 (the ',' shows new cell) how do i calculate sum of each column (desired answer … | |
How to just import one column of csv.file into mysql? Thanks! | |
hi, i am currently doing my school project that require me to have this browse button. this browse button will open a dialog box and the user can open the file from there. example if the user has a microsoft words doc file and they want to view it they … | |
Hi Experts, I am working on the project that is going to be complate in some days. I want to limit trial usage of program for 1 month. I am succeded to do it. If trial period expired the program doesnt work and prints warning messages. I want to add … | |
hey, i have 2 listboxs (listbox1 and listbox2), both the listboxs contains output as following: listbox1 1 2 1 4 1 5 1 2 4 2 4 5 listbox2 1 2 2 4 5 1 3 4 5 I wants to compare the 2 listboxs, for each line of listbox1, … | |
Hi! im trying to make a procedure wich saves what is on screen in a variable defined on the data segment (antes dw 2000 dup (?)). It compiles well but it freezes the program when it is called by it(program). BTW: this program is in textmode 80x25 16-bit and i … | |
hi every body, i want to installed the modernbill on my localhost, i got this error in the installation phase, * You MUST have (SSL-enabled PHP cURL for faster secure remote API queries [you do not], or SSL-enabled CLI cURL for secure remote API queries [you do not]) [you do … | |
Hi, im having trouble understanding how private methods are accessed, and overall how they are used. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SIT232_Ass1 { public class Plan { // declares constant private const int CHARGE_BLOCK = 30; // declates our private variables private decimal _MonthlyFee, _CallAllowance, _CallRate; … | |
Hey, I would like to show a prompt when a user clicks on the "X" button on my form, but it doesn't seem to be working.. Here is the code: [code] private void Form_FormClosing(object sender, FormClosedEventArgs e) { if (e.CloseReason == CloseReason.UserClosing) { MessageBox.Show("YES"); } } [/code] Any ideas? | |
Hi guys. I run a social networking site based on php and mysql and i want to let the users to invite their gmail and yahoo address book contact to invite to my site using their email. Any idea about how can this be done? thanks | |
Hello , I'm using ms access 2003, i'm trying to delete the selected data that is the name of employee, from the combobox list when i click to delete button. i'm using this code: [code] Private Sub cmdDelete_Click() For I = 0 To combobox.ListCount - 1 If combobox.ListIndex(I) = combobox.Text … | |
hi, this is my connection string to connect to mdb file but i'm getting error as remark in red... i create the password using open exclusive method and i generate the p/w. i guess its the way i connect using username and p/w but I have no idea what i … | |
Im pretty green when it comes to designing a large scale application architecture, and have a question on the way I should go with it. Just for an example, to ask the direction I should take my design in, consider this: A parking lot manager has control over everything that … | |
Hello, every google user must have seen how they show the Result pages like " Previous 1 2 3 4 Next ".Could someone tell how it can be done with php... many thanks. | |
I just want to ask what this code practically means? [CODE]<xsl:variable name="gSetValues" select="toolPackage:setValues($obDateFormat,$gDocID)"/> <xsl:variable name="gSmi" select="normalize-space(toolPackage:PubMetaDataReader.getEntry($gKey, 'smi'))"/> <xsl:variable name="obDateFormat" select="toolPackage:LNDateFormat.new('<input format date>', '<output format date>', 'ENGLISH', 'German', '19000101', '365', '19000101')"/> <xsl:variable name="vFormattedLoadDate" select="toolPackage:reformat($obLoadDateFormat,$gLoadDate,$gDocID)"/>[/CODE] I don't understand the 'totalPackage' followed by setValues,LNDateFormat,PubMetaDataReader.getEntry,reformat ? How can I connect each different 3 XML … | |
Hi Daniweb, I'm looking to read in a file, but "ignore" the label prefixed to data. For instance, if I have the following on one line, I want to ignore "Cities:" but read in the rest. [code] Cities: Chicago, New York, Atlanta [/code] If someone can point me in the … | |
hi, i wants to ask some string problems, as below: string []first 1 2 3 4 5 1 4 5 1 3 4 5 string second="2 3"; [code] double sum=0; foreach(string a in first) { if( ) // what should i write here? { sum++; } } [/code] In program … | |
Hi all. I've been working on a Binary Search Tree as a beginner and have the majority of functions working, however in the program I need to give the option to choose how to traverse the contents and then display them in that order. I've got the traversal methods, however … | |
![]() | Hello, Hi i have been just looking at C++ games programming and i have bought a book and learned the basics of C++ aswell as some indepth games programming. I have been thinking of developing a small game with physics and stuff but for physics i'd like to use the … |
The End.