473,856 Members | 1,450 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,142
thread by: dsarhadian | last post Sep 30 '11 by: dsarhadian
Hey I added a DataSource to my project to make accessing my MySQL database easier but one portion of my application requires me to be able to edit the tables in my database. I can get the tables to list using this: foreach (DataTable dataTable in modernEngineDataSet.Tables) { treeView.Nodes.Add(dataTable.TableName); } How do I get...
2
5,229
thread by: santhosh1985 | last post Sep 30 '11 by: Plater
How to create a "Continuous Progress Bar" in C# I am using this code "progressBar1.Style = ProgressBarStyle.Continuous" but it is not working
1
1,493
thread by: TexMurphy01 | last post Sep 30 '11 by: arie
Hi there. I created a default Windows forms project in Visual Studio 2010. I'm aware of the design view and how controls are placed and what not, but I want to be able to place several images based on certain data supplied. So, for example, I have an array which contains three file names (which point to images). I'd want to show the three...
0
878
thread by: nighttrain | last post Sep 29 '11 by: nighttrain
Hello, This is my three tables in database: tb_plane tb_attributes tb_as_plane_attributes plane_id attribute_id plane_attribute_id plane_name attribute_name FK_plane_id FK_attribute_id value
3
3,166
thread by: kenan | last post Sep 29 '11 by: Rabbit
hi, i have found a solution to calling code behind function but it does not work if i put the call statement in a loop Javascript <script language="javascript"> function init() { alert('hello '); <%SetData();%>; //------------------------------> main line alert('<%=strName%>'); }
1
3,949
thread by: samrawit | last post Sep 29 '11 by: arie
How can I change the border color of a panel in C#.net I had changed the borderstyle to FixedSingle but no option for changing the border color
3
1,611
thread by: vodkasoda | last post Sep 29 '11 by: arie
The following command works just fine ... string KA_Team = new string { "","","","","" }; ... but is impractical if my array is going to be of a substantial size. How can I do this simply & effectively, allowing for an array of a probable maximum of 48 ?
2
2,073
thread by: haanjae | last post Sep 29 '11 by: haanjae
i had been trying out the client server program. the client exit or crash by itself when connection establish with server. this error code 10045 being use inside the server code as the socket exception, but why the client still exit automatically? Please help me, thanks you. catch (ObjectDisposedException) { ...
1
759
thread by: lagarber | last post Sep 28 '11 by: Aimee Bailey
I have a DataGridViewComboBoxColumn object in a Windows application. The user can only selecte the first item in the list - this is in the Windows 7 environment. When the application is run in the Windows XP environment, it will allow the user to select any item in the dropdown list - this is the desired result. Is this a bug in Windows 7?
2
2,040
thread by: loveknot | last post Sep 27 '11 by: GaryTexmo
Hi, Perhaps this is too easy to be any fun for all of you, but it's stupidly important to me, so any help, advice or ideas anyone can offer are greatly appreciated. I would like to have a ring engraved with C# code for an infinite loop for love. (For my C# developer guy's wedding band.) I can't use anything but letters and numbers. No...
2
1,774
thread by: malli kai | last post Sep 27 '11 by: GaryTexmo
i want to change the form name.if i select one company database that company name will displayed in title of the form
4
15,184
thread by: vodkasoda | last post Sep 27 '11 by: Rabbit
I may not be that good at C#, but I'm getting pretty good at asking questions :-D !!! I need to "shuffle" an Array, I've found different ways of doing it but can't get any of them to work, this method seems straightforward enough, but I am getting the error "'KA_EMail_LeagueCup.Shuffle' is a 'type' but is used like a 'variable'". I (think I)...
5
1,844
thread by: LuckieM | last post Sep 27 '11 by: Rabbit
Hello, Am making a simple encryption system, I've done most of the work but am having a problem in making a way of saving the encryption key such that it is compared to the decryption key before the decryption process is done. Regards LuckieM
1
2,563
thread by: Amarbir | last post Sep 27 '11 by: riteshbest
need to show 20 rows and put link for more.. where and how to put this limit? on item data bound or else?
0
1,298
thread by: yeestrada | last post Sep 26 '11 by: yeestrada
Hello every body, could someone tell me what's wrong here??... the "test.m" file is inside a "mfiles" folder on the side of the application. The matlab reference is already added: c# code //build the object MLApp.MLAppClass matlab = new MLApp.MLAppClass(); //change the workspace address matlab.Execute("cd...
0
1,383
thread by: mmcdonald2k | last post Sep 25 '11 by: mmcdonald2k
The WebBrowser Class is stealing focus from a drop down style combobox when the user has clicked the drop down list. I put logic in the WebBrowser.DocumentCompleted() event to SetFocus back to the original control. However, this doesn't prevent the drop down list being closed while the user is trying to select an item from it.
0
1,231
thread by: nighttrain | last post Sep 25 '11 by: nighttrain
Hi there all ! Like in title. I want to do it by datagrid view. Here's my tables: tb_plane tb_attributes plane_id attribute_id plane_name attribute_name tb_plane_attributes
17
7,770
thread by: Andrei Pistol | last post Sep 23 '11 by: Andrei Pistol
Windows Forms Applications - Visual Studio C# 2011 Hello First of all, I am really new to C#. The initial form will have 1 button named "Add" and 1 text box. I would like to create a program that does the following: when the button "Add" is clicked, if there is any text written in the text box, a button will be created, under the "Add"...
6
3,262
thread by: vodkasoda | last post Sep 23 '11 by: Rabbit
I am brand new to C# so this probably isn't the best code you'll ever see, but could somebody please help me with a problem ? In line 33 it is flagged as an Error, as follows : "Use of unassigned local variable KA_No_Of_Teams", and in line 36 it is flagged similarly : "Use of unassigned local variable KA_Team". The thing that I find most...
2
1,832
thread by: vodkasoda | last post Sep 22 '11 by: vodkasoda
I am a beginner to C# so excuse me if this is a silly question. How can I read in a line of data from a Text file, but only store 15 bytes of that line of data, starting at position 4 ? For instance, if a line of data that I read in is the Alphabet, ABCDEFGHIJKLMNOPQRSTUVWXYZ, I want to store DEFGHIJKLMNOPQR in my string variable. To do...
1
2,058
thread by: santhosh1985 | last post Sep 22 '11 by: Curtis Rutland
I am creating a webbrowser. If we ente googl in our url after press ctrl + enter . it will show www.google.com. But ctrl + Enter is not working. i m using this code but it is not working private void txtURL_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { ...
2
8,847
thread by: LeLouch Fenette | last post Sep 22 '11 by: arie
For example... Textbox Name="txt1" Code: String str="txt1"; I want str to become a controls/Textbox. like this "str.text"..
1
1,103
xarzu
thread by: xarzu | last post Sep 22 '11 by: arie
How do I get a dattime format in C# that will look like this: 2011-09-01 00:00:00:000
1
1,992
thread by: mrcw | last post Sep 21 '11 by: GaryTexmo
Hi I have a picturebox with a bmp in it. If I make the picturebox smaller using text only part of bmp is shown how can I resize the picturebox but still show all the bmp?
1
1,801
thread by: YAMS | last post Sep 21 '11 by: Frinavale
I need to find out the location (address or country) of any website given its url. Is there any FREE website, API, or code that can be used to find out this data? I want the solution to provide a way with UNLIMITED number of look ups. I'm using C#. Thanks in advance

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.