I thought this would work:
DataSet results =SomeFuntion();
foreach (DataRow dataRow in results)
{
// check each row...
}
but the compiler tells me that
type: System.Data.DataS...
Hi EE,
I have installed a webapplication (classic ASP and C#) on a windows 2003 server and i'm getting this error
"Value cannot be null. Parameter name: hostNameOrAddress".
Any help gre...
I have an assembly that I got from Michael Hofer that is supposed to take my core.css file in sharepoint and move it to the top so my custom style sheets will always override. I have followed ...
I read this file into a DataSet:
<?xml version="1.0"?>
<DocumentElement>
<Person FName="FirstName1" LName="LastName1" PIN="1234" Date="26/08/2008" />
<Person FName="FirstName2" LName...
Is it possible to use RegX in the C# String.Replace() method?
If so, what would the RegX be for...
LOT ###
where 'lot' can be any combination of capital or lowercase letters but has to be...
I have a defined array called product and inside it reside the properties of name and price for each one. What I'm trying to do is to display this data inside a ComboBox (display the name and ...
Hi - I have 2 questions:
1. I have a winform application that I have main form containing a treeview on the left and a panel on the right. Based on the treeview node selected. I load a user...
I am receiving these errors
Error 1 The best overloaded method match for 'System.Convert.ToDecimal(object)' Error 2 Argument '1': cannot convert from 'method group' to 'object' Electric
Err...
Hi experts,
I wrote a class handling Sessions on ASPX sites.
One of the methods is the method to return the object by a special key.
These objects are saved as <object> in the Session[].
...
I am developing a program in C#.net with an Access backend. I am trying to access each record in the first column of table.
Example
Column1
1b
2c
3d
4e
I am trying to loop throug...
C# .Net
I have a simple class containing 2 string fields.
public class FileData
{
public string fullFileName;
public string keyword;
public Fil...
I need some adive on a design question in C#, Visual Studio 2005.
I will be reading several XML files from a database, the contents of which I need to bind and display to a Grid. This grid...
working a multi-threaded app. the debugger interferes when stepping through. is there a way to freeze the other threads while working on the thread you are trying to debug?
c# 2005
The scenario is: There is two asp text fields Date From and Date To and in both there are asp Calender and a ajax Calendar Extender beside the text field. So when the calendar is clicked it po...
I came accross one in Chapter 7, here:
http://212.14.233.133/portal_resources/downloads/programming/c_sharp_dot_net_web_developers_guide.pdf
but wonder if it's still current since the do...
Hi experts,
I could not apply the font size from codebehind.
I tried 2 things,
lblQuestion_1.Text = "<a style=font-size=24px;font-family=Tahoma href='./Default.aspx?mid=" + s...
are there any time-series libraries in c#?
I have a field inside a gridview/detailsview that pulls data from a database. That field is a bound field.
I want to replace the original text inside that field with text that's been parsed...
I'm looking for a way to create various MS Visio drawings in my C# code.
I think, I need some sort of API library or 3rd party .NET component for that, so I can reference it in my VS 2008.
D...
Is it possible to do a trim the text in a gridview to only show the first 10 characters.
I can do this in sql, but i really need to be able to trim the text once in the gridview.
Hi,
How can a make a collection of an ArrayList
Ex.
arraycollection = (array1,array2,...arrayn)
thanks
Hello,
I found this tool online: http://www.mikes-marketing-tools.com/ranking-reports/
It checks the current position of a given keyword on different search engines. As I have several webs...
Hi
I need to
1. Read a text file (a.txt), it has the data:
Peter
Tom
Edith
(One line one name)
2. Add a number to them
Peter 132
Tom 253
Edith 455
(one line one name + number)
...
Hi,
We have been using in house application written in C# .NET. WE found some issues with this applications those are mostly related with .NET and we have to reinstall the .NET(repairing does...
I used the following structure within a c#, aspx page format fine ... but when trying to use within a WinForm -- the VS studio complier is not liking the SelectedDate.
What structure should...