14 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for blueguy777

i have a database table with fields mobno1 and mobno2, first i would like store all the values of field mobno1 into var1 and field mobno2 into var2 by using comma seperator and pdo. my code is as follows. $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "SELECT mobno1,mobno2 FROM custreg"; …

Member Avatar for blueguy777
0
458
Member Avatar for saurabh.mehta.33234

The foll code gives o/p as 2310103 28 Now my doubt is why here 10 is printed two times although i m passing t=6 for the d parameter?? #include <stdio.h> #include <string.h> int f(int a, int b, int c,int d,int e) { printf("%d%d%d%d%d \n",a,b,c,d,e); return a+b+c+d+e; } main() { int …

Member Avatar for Unimportant
-1
244
Member Avatar for Jahliah

Is it possible to replace commas and spaces with commas in c#? I'm fresh in c# and am looking for guidance. Any help is appreciated! **Before:** Deleting 11 files.ABC: Total Time = 01:16:30, Remaining Time = 00:00:00 **After:** Deleting,11,files,ABC: Total,Time,01:16:30,Remaining,Time,00:00:00

Member Avatar for Ketsuekiame
0
4K
Member Avatar for chichi005

Could someone help me with this? ins.CommandText = " INSERT INTO CoupleTbl (acntId, kasal, spouseName) " & "SELECT (acntId, " & dtpMarriage.Value & " , '" & txtSpouseName.Text & "') FROM AccountsTbl INNER JOIN " & "CoupleTbl ON AccountsTbl.acntId = CoupleTbl.acntId);" ins.CommandType = CommandType.Text ins.Connection = con ins.ExecuteNonQuery() MsgBox("Record Inserted") …

Member Avatar for Reverend Jim
0
307
Member Avatar for JohnMcPherson

I am trying read CSV files in a C program on an AIX system. I am having problems getting fscanf to recognize the comma delimeter. I have read previous posts on this issue, and used the techniques dicussed in those threads, but I am still having the issue. Specifically, this …

Member Avatar for JohnMcPherson
0
6K
Member Avatar for deleted1234

[COLOR="Green"][CODE]Private Sub Text1_Change() Text1 = Format(Text1, "#,###") Text1.SelStart = Len(Text1.Text) End Sub[/CODE] This code formats the textbox value to include a comma for every 3 digits to the left. Problem is, it doesn't allow to type decimals like 3,000,000.50 What can I do?[/COLOR]

Member Avatar for AndreRet
0
6K
Member Avatar for MrHardRock

Hey I have an assignment to get a number from the user and print it as a string with commas in the correct space. For example if the number is 13904 it should read 13,904 or 1005 should read 1,005. I have to do this recursively. Working on my pseudo-code …

Member Avatar for dantinkakkar
0
2K
Member Avatar for kaskoraja

Hi.. I have a file with title output.dat.format of this file is as follows [CODE] 0 0.00E+00 0.00E+00 -2.00E-02 9.48E+02 1 0.00E+00 0.00E+00 -1.80E-02 9.48E+02 [/CODE] yes,Thats right.without any comma between.(just tab space) i need to create a file from this output.dat which has form similar to [CODE] 0,9.48E+02 0,9.48E+02 …

Member Avatar for kaskoraja
0
276
Member Avatar for illIAm

Hi i got this progamm working fine it is supposed to read a comma delimited text file store as an array and the output a formatted version The problem is its outputting something really weird I dont know why. [B]The text file it is supposed to read[/B] [code=text]Darwin,3,33 Darwin,1,11 Darwin,6,66 …

Member Avatar for Narue
0
189
Member Avatar for Naruse
Member Avatar for Jx_Man
0
181
Member Avatar for leeggodfrey

Hello All, I have a very simple search cursor that is selecting from a table a list of names in order to query a database. It was working fine until I encountered a name with an apostraphe in it. O'Brien for instance. The search cursor is very basic. [CODE] inCur …

Member Avatar for leeggodfrey
0
166
Member Avatar for luke noob

i have a field in my database with numbers like this....... ,27,,277,,4277,,677,,678,,6688,,8754,,123478, each number was updated (added) like this .. ,27, all numbers updated are unique, when i try to match ,27, i get ,27, ,277, ,4277, not just ,27, my code is like this... [code=php] $id = 27 $string …

Member Avatar for luke noob
0
615
Member Avatar for lordbaddkitty

I'm working with VB.Net. I have imported some data into the Data Set. I have four columns of data. [CODE] [Column 1]This is a test[/Column 1] [Column 2]This is a comma, Test.[/Column 2] [Column 3]This is a double quote " test.[/Column 3] [Column 4]This is a comma, quote " test.[/Column …

Member Avatar for lordbaddkitty
0
525
Member Avatar for feoperro

Hi, Could someone please tell me how to read from a CSV file? Also, how to update (write) to a CSV file? Thanks, -Ashton.

Member Avatar for feoperro
0
197

The End.