Advertisement

Experts Exchange is proud to announce the Front Runners the Annual Awards and the 3rd Quarter Hot Shots. Who is at the top? See for yourself!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C# Solutions: 76 - 100 of 7657
 
I'm using ASP.NET 2.0 / C# and have a button_click event in my code behind. I make a few changes to my input value but then I need to force a refresh on the page. How do I force a postback wit...
I am looking for a solution to allow me to select a gridview row without having a select button. I looked at this solution http://www.experts-exchange.com/Programming/Programming_Languag...
Greetings, I'm using the FileUpload in UpdatePanel of Ajax extension, but its not working. any idea what to do with it to get the problem solve?
Hi, I am working on ASP.Net2.0, C# using Visual Studio 2005 I am using DataGrid to display my records in the search screen I want in the Datagrid where the value of <%# DataBinder.Eva...
how to  convert relative path to absolute path in windows application? i know we can use server.MapPath() in asp.net. but what can we do in windows application? i mean if there is a .net...
hi All: Can someone please help me understand exactly why we need to add 621355968000000000 when using the DateTime function as per the below JLCA reference example.   I read these JLCA sta...
Hi, How do I check if a file is in use? F.ex. this code works perfectly if the file isn't open. If the file is open I get an error saying: "The process cannot access the file 'c:\\file...
On my Windows service written in C#, there is a method that makes an app domain and then loads some assemblies for that app domain (all of these are inside a thread). Im trying to add the f...
I have a textbox on a webform. I wanted to please ask how would I pull data into that textbox.  I have the SQL data source already set-up to a GridView.  I just want to see the value from the ...
Hi,   I have a group set up in Active Directory. Only the member in this group can login to a website buit by C#. To do this, I'd like know if the logined user is in this group. I know I c...
How do I format DateTime.Now to insert into my MSSQL Database the data type for the column is datetime
Hi, I need some SIMPLE CODE which will: Get the "current date" of today, then compare it to  another date (actually it will be compared to a dataset/datatable of them, but I'll sort that...
Hi, I want to add rows to a datatable, I created a datatable:   DataTable dt = new DataTable();             dt.Columns.Add("Month", typeof(string));             dt.Columns.Add("Values", t...
I have a multiline TextBox in a C# WinForm which is databound and so the Text is updated dynamically by user interaction. The issue is: The TextBox sometimes has text that go beyond the len...
I have run into a situation that I'm not sure of how to handle. I am trying to handle the following situation: C# Console Applicaiton User enters data values for example (10, 20, 30) W...
Please help me with this one. My code doesn't work with the Update command. But Insert and Delete command has no problem. Here is the code. I am using Visual C# 2005 Professional and Access as...
Hi, I have a class called Settings and I have this method in there: public enum Scope { scopeone  = 0, scopetwo = 1, scopethree = 2                }       public Settings.Scope SelectScope { get...
Hello There, Note: I am new to C# and SQL, trying to learn. I am trying to run a script, that on submit, a new road is added to my dataset. My dataset is: RCIDBphase1DataSet Table is...
Hello experts,                    I am using a label to get the month name(Jan, Feb, Mar.....) using this line of code. if (month > 12) month = month - 12;         lblMonth.Text = String....
Hi All, I was just looking through MSDN and got a shock in that there is no such thing as a temporary file .. (only a memorystream) I need someting like the C++ tmpfile() ... I need to s...
Given this C# example of dynamic array: double[] itemsPrices = { 225.55, 175.75, 24.50, 34.65, 75.05 }; How can the above data be added to the array one by one as read from a dataset? T...
I have created a custom control called QueryFilterManager that manages a list of QueryFilter objects.  These QueryFilter objects are used to execute methods and return their results in an ILis...
 Hello All,  Please help me, this is urgent,  I want to kill a process using c# code in one windows application project, this is a requirement in my project.  I have only process na...
Hello I have a datatable and the column name. I Want to sort the entire table based on the according to the column specified. How can I do this? Thanks
hii,  how do i draw a circle in C# ??