8,298 Topics
![]() | |
Hi,how to populate dataGridView Columns with data coming from database when Columns already exist in c#,please help me. | |
i want to connect two windows forms in c#,,can any one help | |
[CODE] #include <iostream> #include <fstream> // I/O #include <iomanip> // For setw() using namespace std; ofstream outputfile("output.txt"); // Output file const int MAX_FILE_NAME = 35; const double INTEREST_RATE1 = 0.010; const double INTEREST_RATE2 = 0.010; const double LEVEL_ONE_BALANCE = 1000.00; const double MINIMUM_PAYMENT = 10.00; const double MINIMUM_PAYMENT_PERCENT = 0.10; … | |
Hello, I am currently trying to create a server/client file transfer system in which the server sends the client .mp3 files. The file transfers fine but when I go to play the file, it is all scratchy and skips and I think it has something to do with the bytes … | |
I m using sqlserver there is table name of Attendence Columns of Tables are 1)EmpCode int 2)AttendenceDate datetime 3)AttendenceTime Datetime 4)status tinyint Data in table would be like this Code AttendenceDate AttendenceTime status 1001 3/27/2009 3/27/2009 9:05 1 1001 3/27/2009 3/27/2009 7:05 0 1002 3/28/2009 3/27/2009 10:05 1 //user didnot … | |
I've just learned how to use vectors. I'm thinking about, what is the best way to create a vector, IF you do not know its initial size. Here are some of my options. 1.) This is the simplest I think, but is there any memory issue about this technique? [CODE] … | |
Good evening, I have been working with derived classes and what could seem like an easy problem has had me look into it for hours. [U]My error message:[/U] Square.h(14) : error C2512: 'Rectangle' : no appropriate default constructor available Everything works well if I don't use my derived class "Square.h" … | |
Hi, all. Just been asked to help design a motion rig for a flight sim for a charitable museum in the UK. I have built robotic and control systems for a few years now mainly with PLC's some python and PICs. they are running Microsoft FS2004, and there is a … | |
Hi Good Guys, I encounter another interesting problem due to my lack of C# knowledge. Please Help me. I am trying to use DATAREADER to fill TEXTBOX controls on the FORM and it's not working because this coding generate error message: [COLOR="Red"] sqlDR = sqlCmd.ExecuteReader(); <---- Error [/COLOR] Error message: … | |
Hi, here is the thing, I'm trying to make my university grading table on C++, when i fill in the grades it should tell me what i have accumulate. the thing is that when i insert the text grades it shows a zero when i click the buttom. the math … | |
I know this is very very short notice but I need this by 11:30 am CST I was depending on cramster to help but no one responded to my topic last and I dont think anyone goes past page one on those forums plus I dont think anyone does C# … | |
Hi all Could someone please explain this program to me, especially lines 25 and 30. I understand that line 30 is a for loop and I understand how it works. However, I am unclear why it is minusing 3 from n and is n the variable passed from line 14? … | |
Hi, which is fastest coding algorithm? I need to cycle to encode a lot of data. Now, using RC4. Maybe a faster version. I do not need high security. | |
Hey, I cant execute application through cmd, when the application trying to read the argument which was sent to it (text file), it fails... when i'm truing to execute it through the IDE (vs2008), it works ok... that's what i did in the main method : [CODE]static void Main(string[] args) … | |
Hi Good Guys, [B][I]I am learning how to use C#Net2008 to develop Window Application. I was a VB.NET2008 developer. I need your help, Please Help me. [/I][/B]I am encountering 2 problem trying to fill LISTBOX with [COLOR="Red"]DATASET[/COLOR] and [COLOR="red"]CATCH [/COLOR]to display error message. In the LISTBOX dropdown list instead of … | |
Cant figure out whats wrong with code. This is code should "write a program to compute the interest due, total amount due, and the minimum payment for a revolving credit account. The program accepts account balance as input from a file, then adds on the interest to get the total … | |
Hi, I have added web reference using Visual Studio tool i-e Website > add web reference but it add only .disco and .wsdl file. My question is, are these the only 2 files to add? i mean i was expecting .asmx file so that i can see its methods properly. … | |
I am making a linked list template. a can search a string input and determine if it is an int. i can declare a node of type int or string. when i try to add to my list, my string node cannot point to an int node and vice versa. … | |
asp.net with C# how to show the message box after saving the data in db(sqlserver) ?? earlier i was using javascript alert like this [code] <pre lang="xml">public static void ShowMessage(string strMessage,Page pgno) { Label lbl = new Label(); lbl.Text = "<script type='text/javascript' language='javascript'>" + Environment.NewLine+ "window.alert('" + strMessage + "');</script>"; … | |
this is my code:: [code] TextBox[] tbArray = new TextBox[] { TextBox1, TextBox1, TextBox1 }; for (int j = 0; j < tbArray.Length ; j++) { tbArray[j].Visible = true; } [/code] this code is success but only one textbox show not three textbox.. Can any one help me. Thanks | |
hello everyone I am teaching myself c++ and I was wondering if anyone could give me a site that has some c++ exercises particularly on 2d arrays and string manipulation. thank you. | |
I'm having a problem with a dynamic LinkButton. For a result returned from a database query, I create two LinkButtons, dynamically. One is "Update" and the other is "Delete". I store Update or Delete in the .CommandName property. I store the identity value (the primary key) of the database record … | |
can we declare a array as, int arre[x]; and assign the value of x as,x=5; but error is coming "constant expression required." Any help? i wanted to input series of marks,first you should enter how many subjects(if 5 subs,x=5) then you can enter 5 marks. | |
i have written some code to upload a file in byte[] array i am getting all the values as zero. at the end of the beloww given code. is the due to timing since once i gave a sleeep in between the codes the byte array is working correctly.I have … | |
hi everyone, i am having a difficulty with a C# program. The program thing i don't know how to do is one button that have to draw a text to an image. I have two forms. The first one have three buttons Open File, Edit Text and Save Image It's … | |
This program is to accept input from a user to select there own username and then a password which will be compared to the password KazzyB, and give an output saying Welcome, The only problem in it is a single error KB.cpp(18) : error C2447: missing function header (old-style formal … | |
[CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Web; //using System.Web.UI; //using System.Web.UI.WebControls; using System.Configuration; namespace QuanLiDSSV { public partial class Frm2 : Form { public Frm2() { InitializeComponent(); } private void btnBrowse_Click(object sender, EventArgs e) { } private … | |
C video tutorials for beginners [I]<<snip>>[/I] | |
Hi. I've been browsing this forum for answers for some time now and i guess it's about time to post a question myself. Here's the deal: I have a dll file in which i define a method that sets SE_DEBUG_NAME to enabled. Here's the code: [CODE] // tema4dll.cpp : Defines … | |
Hi Am not getting SelectionBullet property for richTextBox using wpf c#? Regards Dilake | |
Hi I am working on this game. I really never played it so I just read about it. I am getting three errors. I was hoping you guys can help me fix it? Thank you Error 1 error C2059: syntax error : 'do' 2008\projects\program9\program9\craps.cpp 36 Program9 Error 2 error C2143: … | |
Hello, I am having some trouble debugging a simple windows forms application. I have four textboxes, two being readonly that display the calculated answers, and then a "calculate" button. here is the code for the calculate button: [code] private void btnCalculate_Click(object sender, EventArgs e) { decimal obj_height = Convert.ToDecimal(txtHeight.Text); decimal … | |
Hello All, I have a problem regarding the grid view win C#.. i have a grid view called subGrid, i am using it to get the values sent by a Stored Procedure.. subGrid.DataSource = form.GetRegistrant(); Now this subGrid has the following values.. id name result 1 a Yes 2 b … | |
Hello all, Firstly let me say yes, i have searched the forums, secondly No! i am not asking for you to do my homework, i realize how much you all hate that =P I am here for some guidance, i have exhausted my researching capabilities and am at the point … | |
Hey guys, I want to know how can we write the usernames and passwords in file just one time and later on they can be used for log in purpose.. I've some 5 objects of 1 class which can call the class only when the Username and password is correct. … | |
Hi there, I am having some trouble compiling what I believe to be unmanaged code (output from monodis) back into C# for analysis. What is the correct procedure or program to use for this? Thanks. PS. I don’t know whether it would help at all, but the output begins like … | |
Hi guys, I'm trying to implement Karatsuba multiplication in c++ using stl vectors. I have some problems with multiplication (addition and subtraction are ok, I've checked). I need to read data from the file, when the file looks like that: 3 // tells me how many pairs I have to … | |
fatal error C1075: end of file found before the left brace '{' ANY IDEA WHAT MAY BE MY PROBLEM?? | |
Hello, In the following code below i have 1 method that fills a array with 11 random value's.(wich works as intended). My question is how do i take each generated random value created in the array, and perform a calculation with each of those values? (preffered in a new method). … | |
i want the following jsp code to be converted in c#... cud anyone help me... [code] ResultSet resultset, resultset1; String localityid,villageid; Connection connection= DriverManager.getConnection("jdbc:odbc:rmcwhDSN"); Statement statement= connection.createStatement(); String familyid = request.getParameter("familyid"); String tempSQL = "select * from HOUSEHOLDMEMBERS where FamilyId='"+familyid+"'"; //out.println(tempSQL); resultset=statement.executeQuery(tempSQL); String tempMemberid=""; String tempNum=""; while(resultset.next()) { tempMemberid = … | |
Alright... so I found numerous examples on the proper way to suspend and pause threads but none really relate to my problem. I have a thread which runs in the background of my game which does all the simulation of moving players, calculating spaces and ect... I have a pause … | |
How can I determine position and size of rectangle on my image and fill rectangle with my texture using System.Drawing class or something else? Basically I have to change the color of the particular part of an image on button click. Any idea how to do this? | |
I am doing an C++ assignment on customizable scientific calculator. I wish to ask how to write a program that can automatically identify the variables when i load a formula? for example, when i input a formula: x + y the program will display: x? y? | |
Hello, I wanna create a string witch gets the value of a textbox. How can I make it ? THX for your replays :D | |
I know that this book is for C++ Primer 3rd Edition (Stanley Lippmann) but can this be used for C++ Primer 4th Edition. There is no C++ Primer answer book for the 4th Edition. Still comtemplating if i should get it. :?: | |
cud any one tell me how to search particular data from database using data grid..... i had three text boxes for firstname,lastname and age.. and a search button... when i enter anything in any of the first two text boxes i.e either firstname or lastname or both, and enter search … | |
How can I read and manipulate 3ds or 3dmax files(files created with 3dMax:)) using C#? I need rotating and zooming options too. Are there any good 3rd party libraries that you recommend to do that? I need only basic options - loading, zooming and rotating 3D model, can I do … | |
Hi. I know it's now rly allowed to post homework and stuff. But i just need some help, like hints, or examples. =] Don't fully understand how arrays(marked as mass in prog.) work yet. Arrays = massivs (in the countries language where i live) [ The point is to have … | |
Hi Everyone, I'm really fed up of working on C in Windows Vista. First and foremost, the window of C occupies only half the screen which is very annoying. I've heard that there is a distinct C that is used with Vista but I have failed to attain any more … |
The End.