4,588 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 | |
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 … | |
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: … | |
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, 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 … | |
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. … | |
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 | |
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 … | |
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 … | |
[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 … | |
Hi Am not getting SelectionBullet property for richTextBox using wpf c#? Regards Dilake | |
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 … | |
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 … | |
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? | |
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 … | |
[code] private void button1_Click(object sender, EventArgs e) { n = Convert.ToInt32(textBox1.Text); for (; i < n; i = i + 2) { textBox2.Text = textBox2.Text + " " + Convert.ToString(i); ; } } [/code] I an mentioning that i,n=0; is located in the declarations zone of InitializeComponent(); I get the … | |
Hi I am creating a windows application. I have a button as backup. When the user clicks this button,he/she should be able to take backup of the database. I am a beginner. I dont have any idea about how to do this task. Can anybody tell me how to do … | |
Hi everyone, Im working on a C# project, a program that helps facilitate writing code in C++. Im using Visual C# Express, and possible will use Visual Studio 2008. Im just in the design process, however, and the when I choose the build option and the "program demo" screen appears … |
The End.