473,748 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
1,018
thread by: jaydeep1991 | last post Mar 29 '13 by: jaydeep1991
Hi I m trying to select date from system and with the help of adddays I am taking value of Minimum value and maximum value which is property of range validator but it does not validate month or year
2
1,418
thread by: Bassem | last post Mar 29 '13 by: Bassem
Hi I'm trying to run a simple command prompt "help". But the command prompt opens and no command runs! string strCmdText; strCmdText = "help"; System.Diagnostics.Process.Start("CMD.exe", strCmdText); I appreciate your help.
8
12,973
thread by: Trupti Panchal | last post Mar 28 '13 by: r035198x
Hi, My C# app throws the following exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); ...
0
1,331
thread by: Elite Hunter | last post Mar 27 '13 by: Elite Hunter
Hello guys: Here is my problem. I am trying to print some labels, barcodes and all, using a Zebra RW 220 and a Datamax O'neil OC3 802.11 printers. I found this page (http://nicholas.piasecki.name/blog/2009/03/sending-raw-epl2-directly-to-a-zebra-lp2844-via-c/) and there i found some source code that help me conect with the printer (at least the...
2
2,935
thread by: samnine | last post Mar 26 '13 by: Rabbit
I am developing windows application using visual studio 2008 and c#. I have a GRIDVIEW, but I am not sure how to make a specific column of gridview as hyperlink. For Example: First column of my grid view is Item ID and if user clicks any of the value in this column a new form should open. Below is the code of my GIRDVIEW DataSet ds; ...
3
4,407
thread by: KKSohaib | last post Mar 26 '13 by: r035198x
how I update sql table using datagridview cell..... I want to edit cell and then press enter it update the sql table ... ??? It possible or not ... ?
0
1,552
thread by: Bassem | last post Mar 25 '13 by: Bassem
Hello, I want to break a ForEach() Method of a List that accepts a lambda expression based on a condition: List<string> log = new List<string>(); log.ForEach(logName => { if (logName == name) { found.Add(actualName.Replace("\"", string.Empty)); break;//return;
10
4,671
thread by: KKSohaib | last post Mar 25 '13 by: KKSohaib
I have project "Time Table of school". How it possible logically as well as visually in .NET. it contain all teachers name and their periods. when any one absent then we enter the name of teacher or course name, highlight the absent teacher periods and then generate arrange period list and print it. when it highlight timetable we click on them...
2
2,827
thread by: MostafaFCI4 | last post Mar 25 '13 by: MostafaFCI4
I have a C# .NET Application which get data from QuickBooks via the ODBC Driver and save the result to C# data table. So, I want to transfer this data table to a mysql table on my own server. That's the code I use: using System.IO; using MySql.Data.MySqlClient; //Add mysql dll on the .NET Tab in Project's references string connStr =...
4
2,740
thread by: dezama14 | last post Mar 25 '13 by: Benedict LEE
hi, i'm making a hotel reservation system for our final project in database management.. i'm having difficulty on how can i attach an image in a listview, if i insert a room category, the roomstatus will automatically insert a value of 1 on the table, and in the listview the data 1 in the column of status must be view as an image that indicates...
2
1,916
thread by: zaheerqasimi | last post Mar 25 '13 by: r035198x
hello below is the link http://www4.egov.nh.gov/nsor/search.aspx select state New Hampshire county Belknap and click to search... there are 13 pages in the page.. i post the parameters as
1
1,486
thread by: KKSohaib | last post Mar 25 '13 by: r035198x
I completed my first project ... it is desktop application with SQL Database. Now how i make it exe file..... it will install on other PCs which has not installed .net and sql .... how i make exe file both .net and database file......
5
1,848
thread by: Roy Gourgi | last post Mar 25 '13 by: r035198x
Hi, I am having difficulty with arrays because of the limitation of the size of the arrays that I can declare. I need sizes that are very large and windows or C# does not allow me to create bigger than the following for example: public static int gaPoints = new int; I get an error message saying that "integral size is too large". ...
1
2,727
thread by: michaeldebruin | last post Mar 23 '13 by: r035198x
Hello all, I am trying to get a program which can retrieve the serial key of Windows from the Registry. I've found the source code on this website, but I can't seem to get it working. This is the source code as I have it right now. //first byte offset const int start = 52; //last byte offset const int end = start +...
1
1,123
thread by: cooneyj | last post Mar 22 '13 by: M1kkelZU
I am very new to Biztalk - I'm sorry if this is a simple question. I have two fields Type and Order-field coming in. Depending on the Type I need the Type and it's Order-field mapped to two areas (one area gets four of the Types, the other gets the other five or six). I've tried to do this with C# and a switch but I am getting all the data into...
1
2,972
thread by: gutterstink | last post Mar 20 '13 by: r035198x
I have a dynamic number of lists coming in from a different method . i need to find out the common elements present in all of the lists . How do i do it with intersect construct in C#. Placing it in a loop gets me the elements common in the last comparison , but never gets me elements commong in all lists. Any ideas
3
3,881
thread by: sweetapple | last post Mar 20 '13 by: r035198x
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.OleDb; public partial class _Default : System.Web.UI.Page
0
1,372
thread by: ajacks | last post Mar 19 '13 by: ajacks
I have tried rtf.Margin = new Padding(1); - dont work PaperSize ort = new PaperSize("PaperA4", 1040, 880); PaperSize rtfp = new PaperSize("PaperA5", 1040, 1040); rtf.Margin.Left = 3; Margins lft = new Margins(1, 1, 1, 1); Dont know how to use these.... my directives/assembles are using System;
1
1,183
thread by: mohit goel | last post Mar 19 '13 by: r035198x
if we r making a library record for five book then we have to use for loop like title, author, subject, pages..etc how will i call them in C#, in c++ we st; and we write st.title...etc how we can make similar thing in c#
1
7,861
thread by: manoj323 | last post Mar 18 '13 by: r035198x
Can anyone tell me how to search a text in rich textbox & move the curser position to it while highlighting it...
0
1,086
thread by: Syed Hadi | last post Mar 17 '13 by: Syed Hadi
this.Location = Screen.PrimaryScreen.WorkingArea.Location; this.Size = Screen.PrimaryScreen.WorkingArea.Size; i m using thiz but form is changing its opening according to the size .....
1
1,928
thread by: Cainnech | last post Mar 16 '13 by: Cainnech
Hello, I'm currently working on a software where I need to get the windowhandle of an HTAwindow. Currently I'm Using this code Process procs = Process.GetProcessesByName("MSHTA"); IntPtr hWnd;
1
2,616
thread by: fm42 | last post Mar 15 '13 by: fm42
I have a solution with multiple projects. Each have an assemblyinfo.cs. file Each of these files have a section that is particular for each project like I also have a global assemblyinfo.cs file which has items that are the same for all projects like
1
1,766
thread by: Sameera1 | last post Mar 14 '13 by: r035198x
In c# how to remove single quotes in a string for example :-it is having '132627 then i need to remove this single quote? and make it look like this 132627

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.