473,799 Members | 3,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
1,919
thread by: gladiator69 | last post Apr 16 '12 by: gladiator69
I just need a simple ppt on get, set and exception handling in C#. I need to understand how and when to use get, set and also how to handle exceptions in C# programing.
2
38,139
thread by: Daniel EXBN | last post Apr 16 '12 by: PsychoCoder
Hi! I need to read a text file which has ~10K lines each line has 7 or 10 rows each row is separated by TAB the text file contains some lines which start with "//" and there is no need to store this specific lines. there is another condition: case column contains 1 char only and it is 0 or 1 or 2 or 3 or 4, then this will determine the...
2
4,762
thread by: davesf | last post Apr 15 '12 by: PsychoCoder
I stumbled upon this question about padding with zeros in csharp. Since it's locked and doesn't have the best answer, I decided to post this article.. http://bytes.com/topic/c-sharp/answers/443581-string-format-padding-zeros This page lists the string formatting operators valid as ToString arguments. While it's not obvious, these are all...
0
1,748
thread by: zivtir | last post Apr 15 '12 by: zivtir
all the samples are shows how to inherit from system.windows.control.usercontrol but any one know a trick/method how to inherit from system.windows.forms.usercontrol?? the wpf page is locked and i get a messege "The document root element is not supported by the visual designer"
2
2,598
thread by: emiko771 | last post Apr 13 '12 by: Mistica009
I am new to C# and am not experienced in creating complex methods. I need to create a class that will input data into a DataGrid with set number of columns but an unknown number of rows. This method would need to use either SetText or TypeKeys in the designated cells. column examples: column 1: Phase ID column 2: Cost Code ID column 3:...
2
2,551
thread by: codemonkee | last post Apr 13 '12 by: RhysW
I'm wondering if anyone is familiar with Monocross.net? It is an interesting open source cross-platform mobile framework using C# .NET and the Mono framework (according to the homepage). Looks like you can build apps for iPad, iPhone, Android, WP7, and Webkit phones.
1
3,389
thread by: Imran I | last post Apr 13 '12 by: RhysW
Hello all, I have a textbox and asp.net Gridview control which has 3 columns. ID, email, and onecolumn with a link called EDIT. What i want is that when i click EDIT link, the value of email cell is passed into textbox so that i can change it. And when i click the SAVE button, the page refreshes and value is updated in Gridvkew. No database is...
4
5,123
thread by: kaem86 | last post Apr 13 '12 by: kaem86
Hi, I changed FormBorderStyle to FormBorderStyle.None, now when I click on taskbar nothing happen, but window should minimalized/back to normal state. Any ideas how to solve it? I'm using Win XP. - kaem86
1
2,431
thread by: deego | last post Apr 13 '12 by: RhysW
I need to compare two strings in a word document i work it out for alphabetic and numeric values but it is not able to compare a string which contains some special characters like (Máceres-Cartínez) Here a and i is occur with special character so it is not compare.
2
2,468
thread by: Sakthi Manoj R | last post Apr 13 '12 by: RhysW
Hi, I'm using web cam to save,update the image in base directory folder.I can save the image but, while attempting to update the image..I caught an error!! C#.Net: The process cannot access the file 'C:\..~..\bin\Debug\customer_photos\10.jpg' because it is being used by another process. ..? Thanks in advance..
1
1,917
thread by: shrikant kesh | last post Apr 13 '12 by: RhysW
Hi All, I am using ADFS ,Active Directory and asp.net based relying party application. In my active directory structure there are two OU (customer and CustomerSupport). I am creating a user in customer OU through C# code and using UPN field as user logon name. And Creating same UserId from backend in customerSupport OU. Now I am using below...
1
1,746
thread by: mini | last post Apr 13 '12 by: RhysW
i have a form whit a picturebox and some buttons to move the picturebox.i dont want the user to guide the picturebox out of the form even by dragging the form border picturebox moves just in the form border, and also there is a button to guide the picturebox to the start position(start choose by user).what can i do?
1
2,706
thread by: Muca Mega | last post Apr 13 '12 by: RhysW
Hi guys, am having trouble with this error code while trying to insert certain values to the database. Can somebody help? if (e.ColumnIndex == 4) { try{ string id = dataGridView1.Rows.Cells.Value.ToString(); string item =...
3
4,072
thread by: venkat pujala | last post Apr 12 '12 by: RhysW
hi friends i want a small help in my project in form1 i have two textboxes and a button in form2 one textbox actually i want addition calculation enter two values from two textboxes which are in form1 by clicking button1
1
2,323
thread by: Bench | last post Apr 12 '12 by: RhysW
Open "lpt1:" For Output As #2 Print #2, Chr(27) & " 0" Print #2, Chr$(27) & Chr$(79) Print #2, Chr(27) & Chr(48) For i = 1 To 7 ' Direction Roll Backward Print #2, Chr$(27) & Chr$(106) & "3" ...
2
2,175
thread by: Manuv16589 | last post Apr 12 '12 by: RhysW
Hi, Is there any difference between generic class and class template? May be its the way private members are declared. In generic class private members are also generalised but not in class template. Am i right?
1
1,963
thread by: Ritesh Joge | last post Apr 12 '12 by: RhysW
When I am filling a Application form and save this Application form Entries in database it saved successfully but below Application form in DataGridView How to show only current Entry row; There is not show a previous Entries in DataGridView? Please Send Me a Code..!
2
2,236
thread by: michaeldebruin | last post Apr 12 '12 by: michaeldebruin
Can anyone help me to translate this to C# please? Any help would be appreciated. Public Class Form1 Delegate Sub SetCloseCallback(ByVal closeform) Private Sub SetClose(ByVal closeform)
2
1,841
thread by: Shweta Tyagi | last post Apr 12 '12 by: Subin Ninan
hi group.. i want to store all my combobox's indexes into an array....what coding should i do??plz help...
0
1,306
thread by: ahmed naguib | last post Apr 10 '12 by: ahmed naguib
i have atext from jquery method : <fieldset> <ul id="ContentPlaceHolder2_1g" class="profList column ui-sortable"> <legend class="group">المجموعه 1</legend> <li id="ContentPlaceHolder2_8">محمود حسن ابراهيم عبد الصمد</li> </ul></fieldset>
2
1,931
thread by: thameem ansari | last post Apr 10 '12 by: thameem ansari
Hi Dudes, <IMG border=0 alt="UserDeviceId = 70813215"> Above is the sample string object from this i need to find the integer value of UserDeviceId. Please help me on this.
1
3,223
thread by: sai t | last post Apr 9 '12 by: Monomachus
how to get the ascii value of backspace in C#.net
1
2,104
thread by: umabaskar | last post Apr 9 '12 by: Monomachus
the error shows that cannot implicit convert type 'System.Data.SqlClient.SqlParameter' to 'bool'.. here is my code ... code: protected void GridView1_SelectedIndexChanging(object sender, GridViewSelectEventArgs e) {
1
1,924
thread by: fahimeh | last post Apr 9 '12 by: Monomachus
I use the array of Radiobutton,string,.. in my project. How i can destruct these array from memory,because i see the stackoverflew exception.
0
1,568
thread by: electrodogg | last post Apr 8 '12 by: electrodogg
I Have two link buttons (About Us And Contact Us), Two Views on another page (About Us And Contact Us View)*Multiview* i want to know which button clicked to view the right view About us = About us view , contact us = contact us view please help !!

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.