199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for malashukla

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 …

Member Avatar for pinkygirl
0
68
Member Avatar for Sydney123

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 …

0
55
Member Avatar for DarKKendO

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 …

Member Avatar for DarKKendO
0
102
Member Avatar for Buffalo101

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); …

Member Avatar for gerard4143
0
401
Member Avatar for Sydney123

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 …

Member Avatar for Wraithmanilian
0
145
Member Avatar for tunde011

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 …

Member Avatar for Wraithmanilian
0
80
Member Avatar for navimir

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

Member Avatar for ddanbe
0
616
Member Avatar for msqueen082

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 …

Member Avatar for codeorder
0
513
Member Avatar for jack jastin

Hello Everybody Can anyone tell me, What is Ruby basically? Thanks in advance.

Member Avatar for jack jastin
0
113
Member Avatar for bklynman01

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 …

Member Avatar for bklynman01
0
93
Member Avatar for leeZA1

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 …

Member Avatar for diafol
0
218
Member Avatar for Mike Bishop

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 …

Member Avatar for prashantchalise
0
172
Member Avatar for benjamin.sh

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...

Member Avatar for L7Sqr
0
1K
Member Avatar for abhi10kumar

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", …

Member Avatar for abhi10kumar
0
137
Member Avatar for Khoanyneosr

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 …

Member Avatar for Sodabread
0
273
Member Avatar for Alex Edwards

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.

Member Avatar for fayimora
0
10K
Member Avatar for YMCMb

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 …

Member Avatar for YMCMb
0
203
Member Avatar for gcclinux

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 …

Member Avatar for gcclinux
0
199
Member Avatar for TSprog

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 , …

Member Avatar for TSprog
0
133
Member Avatar for e-papa

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.

Member Avatar for e-papa
0
165
Member Avatar for Arjun_Sarankulu

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 …

Member Avatar for abelLazm
0
111
Member Avatar for arezz09
Member Avatar for volkang

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

Member Avatar for volkang
0
113
Member Avatar for fadi_1234

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

Member Avatar for fadi_1234
0
88
Member Avatar for eileenc87

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

Member Avatar for codeorder
0
501
Member Avatar for cornedor

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é

Member Avatar for jonsca
0
122
Member Avatar for SWEngineer

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.

Member Avatar for jonsca
0
133
Member Avatar for NewOrder

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?!?

Member Avatar for NewOrder
0
111
Member Avatar for computerbear

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 …

Member Avatar for abelLazm
0
113
Member Avatar for rockerjhr

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 …

Member Avatar for WaltP
0
206
Member Avatar for fibbo

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 …

Member Avatar for fibbo
0
7K
Member Avatar for Ammara Sajid

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 …

Member Avatar for WaltP
0
1K
Member Avatar for cliffcc
Member Avatar for margaretna

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 …

Member Avatar for Luc001
0
128
Member Avatar for adam80

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 …

Member Avatar for adam80
0
2K
Member Avatar for leo88

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, …

Member Avatar for leo88
0
160
Member Avatar for maxrio

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 …

Member Avatar for maxrio
0
360
Member Avatar for mehran tahir

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 …

Member Avatar for mehran tahir
0
152
Member Avatar for elliot81

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; …

Member Avatar for elliot81
0
139
Member Avatar for Phil++

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?

Member Avatar for abelLazm
0
105
Member Avatar for dalip_007

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

Member Avatar for dalip_007
0
103
Member Avatar for rekha gautam

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 …

Member Avatar for Jx_Man
0
167
Member Avatar for swathys

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 …

Member Avatar for swathys
0
228
Member Avatar for LevyDee

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 …

Member Avatar for mrnutty
0
127
Member Avatar for dr.4030

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.

Member Avatar for tomato.pgn
0
73
Member Avatar for perlnoob

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 …

Member Avatar for xml_looser
0
297
Member Avatar for floatingDivs

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 …

Member Avatar for LevyDee
0
122
Member Avatar for leo88

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 …

Member Avatar for leo88
0
101
Member Avatar for AdmiralDonkey

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 …

Member Avatar for AdmiralDonkey
0
469
Member Avatar for nssltd

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 …

Member Avatar for DarKKendO
0
142

The End.