473,549 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

0
842
thread by: wa1gon | last post Jul 7 '10 by: wa1gon
Greetings, I am still trying to come up to speed with ADO.NET I have a simple form that I build with the IDE in design mode which created a DataSet, BindingSource, TableAdapter, tableAdapterManager and BindingNavigator. Once I click the save button I would like to update one of the data field which is not bound to a control. I also...
1
2,377
thread by: kefelegn | last post Jul 7 '10 by: Christopher Nigro
i am using sql 2005 and asp.net and code behind C# when i try to insert data to table it says "String or binary data would be truncated. The statement has been terminated." any one help me pls be fast
0
1,131
thread by: faros | last post Jul 7 '10 by: faros
i want to code generate for xml simple file i have theses lines in XML: <?xml version="1.0" encoding="utf-8" ?> <Elements xmlns="..."> <Field ID="{F094C1EA-786A-4c5b-BFBC-58A63863A3DF}" Name="VendorItemNumber" StaticName="VendorItemNumber" DisplayName="Vendor Item Number" ShowInEditForm="FALSE"
4
4,104
thread by: Jackwaters | last post Jul 6 '10 by: Jackwaters
I have a problem in that I have an arrayList called pizzaOrders which contains a number of pizza orders. The pizza orders contain information like names, addresses, total price for orders and the dates of orders. The date is selected through a dateTimePicker. Basically what I need to do is count the orders on a particular day and produce a...
6
5,665
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Jul 6 '10 by: GaryTexmo
I'm making a screenshot program that lets me position a secondary form and press a button in the main form to take a screenshot where the second form is located. I have the second form set to have no border (so no title bar), and to be transparent so I can see what I'm taking a screenshot of. I've set a panel in the middle that uses the SizeAll...
0
1,190
thread by: vamshi2804 | last post Jul 6 '10 by: vamshi2804
Can I convert a memory stream to a PPTX file
0
1,300
thread by: Jane Smeeth | last post Jul 6 '10 by: Jane Smeeth
Hi, I have a udp client which has been subscribed to 3 multicast addresses to receive data. On receipt of data, the program needs to distinguish between the multicast addresses and send it to the appropriate client via tcp. I need help in determining the multicast address the data is coming from. I can't modify the original udp packet to...
0
909
thread by: preimol | last post Jul 6 '10 by: preimol
Hie Does any one know where I can get exam questions and answers for exam 70-536 and 70-505? Thanks in Advance
1
7,806
thread by: varunkumarid | last post Jul 5 '10 by: GaryTexmo
The Error on line 99 when i execute this code protected void Generate_Click(object sender, EventArgs e) { int io = 0; System.Data.DataTable workTable = new System.Data.DataTable(); workTable.TableName = "VendorList"; workTable.Columns.Add("ITEM_NAME");
0
1,372
thread by: androm | last post Jul 5 '10 by: androm
when i run my code i get this error message "Failed to convert parameter value from a SqlParameter to a DateTime." & i couldn't find what is wrong..... here's my code protected void Button1_Click(object sender, EventArgs e) { SqlConnection thisConnection = new SqlConnection
2
4,221
thread by: vj4u | last post Jul 4 '10 by: vj4u
hi iam returning a List of type string from method i want convert it to lower case public List<string> Soccer() { List<string> list12 = new List<string> { "socc", "soc-ball", "swimming", "Jazmin Carlin", "Rebecca Adlington", "Becky Adlington", "Jo Jackson" }; return list12; }
1
1,535
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Jul 3 '10 by: HaLo2FrEeEk
I have a 16x16 board, each square can either be on or off. There is a system of saving which square is on, using a number which, I believe, represents a set of flags. For example, the number 2 means that square (1,1) will be turned on. 4 means that (1,2) is on, and 6 means that both (1,1) and (1,2) are on. See? Since there are 16 square in...
0
1,480
thread by: pramodhts | last post Jul 3 '10 by: pramodhts
how to implement inner outer classes in c# i have two nested classes like class Outer { int TestVariable = 0; class Inner
0
1,293
thread by: bushramemon | last post Jul 2 '10 by: bushramemon
hello,,now i m working on multi-threaded client server socket program in which there is one server and multiple clients.........these both are just giving acknowledge to each other that server started and client 1 started ,client 2 started but these programs are not communicating with each other,,means i want proper communication between...
5
1,325
thread by: hunerajamshed | last post Jul 2 '10 by: code green
hi all there. im new in BYTES, this is my first post. i m working on a project regarding image processing. i m working on face detection from video. i hv played the video captured from webcam on a picture box.I hv splitted it into frames it plays like original(means no problem) but as i attach or call some algorithm with it bofore display it...
0
937
thread by: khushboosoni | last post Jul 2 '10 by: khushboosoni
Hi, We are working on a new project which has the following structure: There is a data access layer which concerns with the database,then business layer which interacts with the data access layer. Then we use presentation layer to interact with the business layer which in turn is accessed by a web service. We have another area where we...
0
1,282
thread by: ManUtdFans | last post Jul 2 '10 by: ManUtdFans
I got a Delphi DLL function using D2007 has parameter type of Double (used for as TDateTime). I tried to call from C#: eg. DateTime week; week = DateTime.Now; myDLLFunc(week.Date); I got a runtime error:
0
1,032
thread by: ranjith013 | last post Jul 1 '10 by: ranjith013
Hi friends, I'm trying to develop an application which allows to copy the zip files from one remote web site(pr remote server) to local server... Is it possible to do this using C#??Does someone have an example in C# showing how to open a network share and copy files?? Thanks in Advance....
2
1,645
thread by: bushramemon | last post Jul 1 '10 by: bushramemon
i want to call from my mobile to cellphone using visual studio 2010 and c#....what should i do?
1
2,253
thread by: ranjith013 | last post Jul 1 '10 by: nkaiseng
While developing the Web Application using C#, if i require some of the windows components like message-box...etc,in my web application can i use a windows form in my ASP.NET Web Site? To be more precise, can we use both web forms and windows forms in ASP.NET Web Site? This question may be so meaningless, or some time may be so funny...
6
1,615
Airslash
thread by: Airslash | last post Jul 1 '10 by: Airslash
Hi, I think i've asked this before, but never gotten to a concrete solution.... Say I have a class Table. This class as a List of type Filter that is a generic type. The filter class looks like this : abstract public class Filter<T> { /// <summary>
3
1,789
thread by: AbusiveMeercat | last post Jun 30 '10 by: Plater
Ugh this is so frustrating. This code doesn't work for some reason...Can anybody help me fix it? class MainClass { public static void Main (string args) { MainClass mailman = new MainClass(); mailman.Mailer(); }
0
1,182
thread by: oceantrain | last post Jun 30 '10 by: oceantrain
I have a datagridview on a form with multiple columns. Three of the columns are expression columns. One column is subtracted from the second and the result is displayed in the third. Everything works great but when I hit the save button and save to the database, all the columns are saved to the database except the three columns used in the...
1
1,183
thread by: ranjith013 | last post Jun 30 '10 by: ThatThatGuy
If I need to copy a zip file from some "http://www.xxxxxx.com" site into my local server, can I use Web Services?? I have zero knowledge on it.... Please suggest me, what to do....! Thanks in advance for your time........
22
5,119
mickey0
thread by: mickey0 | last post Jun 30 '10 by: mickey0
Hello, I must parse something like this: <html> <head></head> <body> <using xmlns:namespace="myfile" /> myText <p><namespace:myComponent Attribs="val"> //it crashes on 'namespace:myCOmponent' </body>

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.