I am just trying to get the bottom textbox to get focus and select text so the user knows where to begin. For some reason nothing i've tried selects the text and i've gone through several sol...
When I attempt to write a record to the database I get this error message. I understand the error message occurs because I have left one of the date fields blank but in many cases the data is...
I cant figure this out... I am able to create the webservice, but I cannot consume it for the life of me!
I created my web service by following this guide: http://geekswithblogs.net/azamsha...
I need to create image files that I can display on buttons: an up arrow and a down arrow.
Can someone tell me how to do this? What file type do I use? How do I import them into the projec...
i am working on a windows application made in C# dotnet 2005.
in this i have a form which have a list which gets filled from another table.
basically i have a column in a table which is for...
I have a question about data storage/retrieval methods.
I am developing a multi-threaded C# application that will be dealing with very large arrays of data objects. Due to the size and num...
Hello All -
I have a C# Forms app with a listbox I am populating from the DB via a DataSet. The SQL statement returns just two columns. I thought I was setting the DisplayMember and ValueMemb...
Hi,
I have an service application that uses the FileSystemWatcher in C#
However, the events are not triggered when files are deleted, copied, added etc in the folder tree being monitored. An...
I created dataset and added tableadapter manually. Also I created Insert, Delete and Update commands manually.
Problem is that update is working perfectly, but delete does not function at all...
How to get mac address of local computer using C# 2.0 in windows form?
I want to create a Console application based on Window form. It means that, in a Window form I have a text box. When I type command in this text box, this application will read this command an...
I want to know how do you stop a timer in C#.net after you have called a function?
I have a web application that developed in ASP.NET 2.0, Telerik 2006 (AJAX library). In some cases when users execute website, they get the following error:
----------
Validation of viewst...
I'm new to C# and the syntax is definitely different from that of VB.NET. I'm trying to have a default radio button selected and a textbox hidden when the windows form first loads and is prese...
HI
i have to get the SQL Server 2005 catalog name through c#(example we/SQLEXPRESS)
usually i get through select @@servername
but i need a connection string to get the result for this
my ...
I have some issues understanding the interaction of drawing Your own control and scrolling.
firt of all: is the ClientRectangle the whole inner Rectangle of the control, wether it is screen...
Hi,
I am developing an windows application in which i have to add 5 different TTF fonts in my application so i want to know how o add these fonts to my application programatically...
Hi. I wish to get the distinction between Private and Protected class members. As far as I gathered Protected is simply the same as Private with exception of derived being able to access Class...
How to pass in sql server's datetime default value which is 1/1/1900 from .NET code. It is possible to do System.Date.SqlTypes.SqlDateTime.DefaultValue?
I was able to do System.Date.SqlType...
Hello Experts,
I have what I think is a pretty basic question -- I have modified the attached snippet to fill a spreadsheet from a dataview (via an array). When the procedure completes the...
I am trying to add a parameter to my cmd object but keep getting this error message. Can someone clue me in where I am going wrong.
Thanks
Kenny
int ReferralId = 0;
Sql...
Hi,
I have a folder full of images with random file names. I need to load them all into my C# application one by one to process them. I'm not sure how to do this without having sequential f...
I know that these days, the question of exporting a GridView to Excel is a tired, worn-out one. Questions and answers and websites aboutn on this topic, so don't think I'm just asking the same...
I have a simple C# Windows form application that has a "Get Data" button which, when pressed, retrieves some data from a website and displays it on the form by assigning the string values retr...
I have a grid within a grid. The first grid work just fine. However, in fact, I can add row in the child grid. However, if I try to update a row or delete. It goes into the routine OnRowEd...