4,588 Topics

Member Avatar for
Member Avatar for datapham

when i choose a row of dataGridView with the event Selectionchanged , how to display the record in textboxes ? Thanks.

Member Avatar for datapham
-1
133
Member Avatar for yawar260

Hi,how to populate dataGridView Columns with data coming from database when Columns already exist in c#,please help me.

Member Avatar for WargRider
0
192
Member Avatar for 9676442764
Member Avatar for Bapes

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 …

Member Avatar for Bapes
0
225
Member Avatar for qasimidl

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 …

Member Avatar for kvprajapati
0
78
Member Avatar for LennieKuah

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

Member Avatar for LennieKuah
0
164
Member Avatar for animewolf17

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

0
84
Member Avatar for Lolalola

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.

0
45
Member Avatar for igalep132

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

Member Avatar for kvprajapati
0
180
Member Avatar for LennieKuah

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 …

Member Avatar for LennieKuah
0
206
Member Avatar for amby

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

0
110
Member Avatar for qasimidl

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 = &quot;&lt;script type='text/javascript' language='javascript'&gt;&quot; + Environment.NewLine+ &quot;window.alert('&quot; + strMessage + &quot;');&lt;/script&gt;&quot;; …

Member Avatar for jbisono
0
371
Member Avatar for hery

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

Member Avatar for bhavu4u
0
179
Member Avatar for tgreer

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 …

Member Avatar for bhavu4u
0
452
Member Avatar for punnoosepj

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 …

Member Avatar for DarveshBadusha
0
83
Member Avatar for spawn2004

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 …

Member Avatar for Diamonddrake
0
155
Member Avatar for thuyson

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

Member Avatar for thuyson
0
183
Member Avatar for dilake

Hi Am not getting SelectionBullet property for richTextBox using wpf c#? Regards Dilake

Member Avatar for dilake
0
75
Member Avatar for sarsekim

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 …

Member Avatar for ddanbe
0
147
Member Avatar for laptop545

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 …

Member Avatar for Geekitygeek
0
164
Member Avatar for jt3204

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 …

Member Avatar for jt3204
0
226
Member Avatar for Nerathas

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

Member Avatar for ddanbe
0
180
Member Avatar for rohitmanhas_12

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

Member Avatar for rohitmanhas_12
0
178
Member Avatar for Krytikal

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 …

Member Avatar for Diamonddrake
0
567
Member Avatar for milosz

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?

Member Avatar for Diamonddrake
0
220
Member Avatar for rohitmanhas_12

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 …

Member Avatar for rohitmanhas_12
0
345
Member Avatar for milosz

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 …

0
49
Member Avatar for DanielaCrisan

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

Member Avatar for Diamonddrake
0
149
Member Avatar for S2009

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 …

Member Avatar for Ivan_86
0
12K
Member Avatar for DrueY

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 …

Member Avatar for kvprajapati
0
138

The End.