Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #2K
~16.5K People Reached
Favorite Tags
Member Avatar for sara455

Im doing an application n c# and using Ms Access 2003. i want to check whether a product id already exist in the database. Below is part of my code[code]string sql; OleDbCommand cmd; OleDbDataReader rdr; mDB.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data source=" + Path.Combine(Application.StartupPath, "..\\..\\Company.mdb"); mDB.Open(); sql = "Select COUNT (*) ProductID …

Member Avatar for ss125
0
4K
Member Avatar for ddanbe

Drawing on a Form does not always happen when you want it. The Refresh() method of a control comes in handy here. See the following snippet and experiment by commenting out the Refresh. Start a new WindowsForm project. From the toolbox, add a Label, ProgressBar and Button control on the …

Member Avatar for g2gayan
1
3K
Member Avatar for sjn21682

id been working on this for days now, maybe someone could help me figure this one, i have this items in listbox2, my database has a field for project, data directory, etc... if my first item in listbox2 equals to the field PROJECT in my database, i want to get …

Member Avatar for sjn21682
0
370
Member Avatar for scottlafoy

Hello, My problem is, I am trying to format a number into a certian format. The number is 100072305608500 (this is the exact copy from what was passed in) the format it should be in is 100/07-23-056-08W5/00 I am using [CODE]return (string.Format("{##0/00-00-000-00W0/##}}", Convert.ToInt64(wellLocation)));[/CODE] where the # are optional digits. I …

Member Avatar for DanielGreen
0
130
Member Avatar for kimjan

any body can help me on how to embed powerpoint in c# form ?? tnx people god bless..

Member Avatar for kimjan
-1
407
Member Avatar for neha_38

Hello! I have a question regarding game programming. Currently i am doing a course in .net3.5. How to develop a game using c#? Can anyone provide(code) with a game done in .net. What are the educational qualifications to be a game programmer? Thanks in advance.

Member Avatar for prisonpassioner
0
176
Member Avatar for saj_amo

Hi, i am facing a problem in c#.net i have a user data form where i have used picture box and opendailogbox when i am selecting a picture it is showing in picturebox now what i want is that i have a button on the form when i click on …

Member Avatar for saj_amo
0
1K
Member Avatar for szkoda

I have a database that I'm trying to inset data into called dogs.mdb. For some reason the code below doesn't seem to insert a new record into the database...please help! [code] namespace dogs { public partial class Form1 : Form { public Form1() { string connection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=L:\\Billy Uni\\Application …

Member Avatar for sknake
0
291
Member Avatar for princesssuperst

Hello, Im looking to split eac row of my CSV file into an array, by separating it out by the commas, but taking care not to include the commas inside of quotations; " asd , dfg ". How would i go about this? Thanks for any help! PS

Member Avatar for Dmennite
0
101
Member Avatar for manosha

HI, I have a prog. assignment, I did most of it, but I couldn't write some functions properly, so try 2 help.? these are the functions I wrote b4.[CODE] #include "Array.h" #include <iostream> using namespace std; Array::Array() //constructor to set size=6 { size=6; } void Array::read() // read array elements …

Member Avatar for DanielGreen
-2
120
Member Avatar for hussaindot_com

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Array_2 { class Program { static void Main() { int i; int[] c=new int[11]; int[] b=new int[11]; int[] a=new int[11]; for ( i = 0; i <= 10; i++) //Console.WriteLine("Enter a Matrix1"); a[i] = Console.Read(); for ( i = 0; i …

Member Avatar for Geekitygeek
-2
89
Member Avatar for Ruffio1981

I'm working on a bonus project for my C++ class. The original problem was to add two large numbers given by the professor, or more specifically, write a program that would add these two numbers. After a while I got it working, relitively easy bit of code with some pointers …

Member Avatar for DanielGreen
0
106
Member Avatar for ivanhny

It's probably really obvious, then again I don't know much about trees in c++. When I try to insert an integer into the tree it doesn't travel down the tree and insert the integer. I'll post the function and then the whole enchillada after. Also how can I create a …

Member Avatar for DanielGreen
0
91
Member Avatar for coolcool

Hi everyone, Am just a beginner in c++ and have wishes to become good in it..it doesn't mean i should become a expert but just a good programmer. also i have enrolled for a competition in the college which am studying which requires an application to be developed using cpp..can …

Member Avatar for DanielGreen
0
110
Member Avatar for Karthika_g

Hi, can anyone help me in storing a text file data to database using C# coding. I'm not sure of the below code can anyone correct me. Thanks in advance. Note: [U]TextFile1.txt[/U] 124 Keer 22 14000.000000 125 gjh 45 12103.000000 126 sg 48 63230.000000 129 fdgd 21 65620.000000 [CODE] con …

Member Avatar for DanielGreen
0
190
Member Avatar for SQL2009

I have a database created in Microsoft SQL 2000 Enterprise Manager. I need to change the datatype for a column name EngrMultiplier in the table ProjectReCapParameter. The current datatype is INT and I would like to replace it to FLOAT. What should I do? Write a query or change the …

Member Avatar for DanielGreen
0
5K
Member Avatar for mani2009_it

I want to check in Date Field(Textbox), whether the input is Date Format or not (i.e) Date Format should be followed(YY/MM/DD) in C# windows applications. How can i check this?

Member Avatar for DanielGreen
0
90
Member Avatar for walter clark

What I want to do must be easy because I can't find it on the web. I have existing C code with char* strings all over the place. I'd like to get those strings to the Form1.h file so I can use them there. All I want is... String^ newText; …

Member Avatar for walter clark
0
97
Member Avatar for Benderbrau

Hello, I'm new to hashtables in C#, and I'm trying to refer to a bit of Java code, but having a problem. Here's the Java... note: adjacencyMap is a Java hashmap. [CODE] int count = 0; for (int i=0; i< adjacencyMap.CAPACITY; i++) { if (adjacencyMap.keys[i] != null) { LinkedList edges …

Member Avatar for avirag
0
125
Member Avatar for norz

i am a student...i am zero knowloedge about sql neither c#.my job is to build a database.i dont really know how i can do it and how to do it?i had tried a tutorial for c# from other website but the tutorial using sql 2005.but i had download sql 2008.i …

Member Avatar for DanielGreen
0
133
Member Avatar for basma.lm

hello everybody, this is my first post in this forum and i hope to find help. i'm beginner in c# and i search for simple tutorials in databases access in c#.

Member Avatar for DdoubleD
0
82
Member Avatar for dlayante

I am just new in C#, somebody can you give me code for MS SQL server connection, on how to call records, add, edit and delete records...THANK YOU

Member Avatar for DanielGreen
-1
123
Member Avatar for Nishara

Hi I am trying to insert data into a sql server database table using sqlDataAdapter and adding newrow method.But the values entered are not saved in the database.What I did is............ [CODE] string sql = "Select * from Users"; dataCmd.CommandText = sql; SqlDataAdapter da = new SqlDataAdapter(dataCmd); da.SelectCommand = new …

Member Avatar for DanielGreen
0
823
Member Avatar for sharathk60

[CODE]OleDbConnection con = new OleDbConnection("Provider = Microsoft.Jet.OLEDB.4.0; Data Source = D:\\incomexp.mdb"); OleDbCommand com; OleDbCommand com = new OleDbCommand("insert into incomeexp values (@year,@month,@data,@bal,@inc_exp)",con); com.Parameters.Add("@year", OleDbType.Integer); com.Parameters["@year"].Value = yr; com.Parameters.Add("@month", OleDbType.Integer); com.Parameters["@month"].Value = mn; com.Parameters.Add("@data", OleDbType.Char); com.Parameters["@data"].Value = s ; com.Parameters.Add("@bal", OleDbType.Decimal ); com.Parameters["@bal"].Value = j ; com.Parameters.Add("@inc_exp", OleDbType.Char); com.Parameters["@inc_exp"].Value = s1 …

Member Avatar for sknake
-2
265