how do we convert object[] to string[]...?
Hi,
I need to interview some candidates on their C# knowledge. Objective is to test strong C# fundamentals and .NET framework fundamentals.
Please suggest some good questions that can te...
Hi all
I want to populate a combo box in c# but not using a database
e.g. combobox displays
red
white
blue
But want i want is if a person chooses red i want to pass back the numbe...
Hi,
This is my very first C# program. Previously, I programmed in VB.NET. In VB.NET, I added a module to my project, and declared my Global variables there, like this:
Module Variables...
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...
I need to send some character data through a serial port in my C# program. I can get the port to open and close, but I'm having difficulty figuring out what data I need to send through it and...
Hi guys 'n gals,
I have numberous objects, and want to determine of which type they are of, by using this:
MessageBox.Show(ObjectX.GetType().ToString());
I get this:
MyProject.MyOb...
I have this
DataTable dp= dataset1.Tables["Table1"];
foreach (DataRow da in dp.Rows)
{
MessageBox.Show(da["Table1"].ToString());
}
now showing text though
I had this i...
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...
How can I make my application(WinForm, C#) go to system tray when I click on the Minimize button!
Thank!
I'm trying to format a date in a text box (birthday)... but it still displays the time ? any idea what is wrong...thanks..
this.dtBirthDate.DataBindings.Add(new Binding("Text",dS_RepInfo,"...
Hi guys 'n gals,
I need some help in populating a treeView object from a Dataset, here is the structure of my Datatable:
UID, Name, ParentUID, DisplayOrder
UID is the Unique ID for th...
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
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...
Is there a way in C# to call the parent implementation of a method? For example, in Java, you can use the "super" keyword to refer to the parent implementation.
I'm trying to call the pare...
Hey experts,
again I am having a formatting issue, I need to convert a date to a string so I did
transDate = "20070422";
string FormatD = "dd/mm/yyyy";
...
I want to start a process in C#. This process does fine by opening up the command prompt and executing the command with the given arguments. However, I want to execute the commands without the...
public struct EMLFileInfo
{
string status="";
string filename="";
string description="";
}
How do I create an array of type EMLFileInfo?
I want the array to grow and shrink dyn...
How do I evaluate a string in C#? Example:
string myVarName = "sTest";
eval("string "+myVarName+" = \"<p>Value of string goes here</p>\"");
Response.Write(eval(myBarName));
Should o...
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...
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?
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 am getting the following error when i am trying to make search in my .net application (c#) based on the string entered.
Timeout expired. The timeout period elapsed prior to completion o...
I see this in a lot of .NET web applications and was wondering what this is. Sounds stupid but my web application is working just fine but I don't have any of those on my button controls, for...
Hello,
I want to create an application using C# (or any other .NET language) that will receive SNMP traps. However, my hours of web searching for the SNMP API for .NET has turned up very li...