C# web application using a dbacess.cs class
In my C# web | 0 | 13 | 11/28/2009 6:58:08 PM |
Date Conversion to mmm dd, yyyy
I need to convert a date that i am getting from my DataBase. I am getting the date like this: EventStartDateLabel.Text = "From: " & myReader.Item("Startdate") | | 0 | 31 | 11/27/2009 11:19:30 PM |
Repository Problem
Hello,
I am trying to create a Repository pattern with Unit Of Work using a Linq To SQL model.
I read everything I could find and tried many options but I am never able to q | | 0 | 33 | 11/27/2009 2:24:27 PM |
ICloneable or what??
Hi,
I've got something like this:
public class A { public string Name { get; set; } public int Height { get; set; } }
public class B : A | | 0 | 25 | 11/27/2009 11:51:08 AM |
Argument'1': Cannot convert from 'method group' to 'string'
Dear all,
I have the following code.
&n | | 0 | 25 | 11/27/2009 11:51:07 AM |
execute shell from C# code without window
Hi, here is my code: Process proc = new Process();  
| | 0 | 18 | 11/27/2009 9:24:45 AM |
Having problem in Microsoft Outlook Automation
hi guys,
I am working on a windows service in which i'm trying to automate outlook to send emails period | | 0 | 14 | 11/27/2009 9:24:44 AM |
algorithm to check duplicate in hireachy tree in C#
Dear all,
If I have the product bom in hireachy tree structure, how can I check whether the newly added node will be duplicate in hireachy tree?
The bom table structure | | 0 | 35 | 11/27/2009 3:59:54 AM |
finalizer and idisposable
hi sir/madam,
from my understanding of usage of class finalizer and idisposable, when class create unmanaged resource, then required to implement both finalizer and IDisposable. accor | | 0 | 21 | 11/26/2009 5:07:33 AM |
Initializing BOOL?
How do you initialize BOOL?
-smc ~ Remember To Mark The Posts Which Helped You As The ANSWER ~ | | 0 | 30 | 11/25/2009 5:02:56 PM |
Iterate through a ScrollBox and get the values
Hi,
I have a cutom control called ScrollBox( A control like a textbox) where I am creating a LinkTextBox at runtime and showing the values of the linktextbox inside the scrollbox one b | | 0 | 35 | 11/25/2009 2:56:51 PM |
Convert.ToDouble of empty string
Hi,
I'm trying to execute this code, but it won't work.
string test = " | | 0 | 36 | 11/25/2009 11:49:04 AM |
How to sort a DataTable object by a specific column?
I have a DataTable object with a column in the table named "City" How can I sort my table by the City column? Is there a way to do this?
Here is an example wher
| | 0 | 26 | 11/25/2009 12:59:12 AM |
url decode
k i know i'm three years late on this question, cuz i've been surfing to figure this out, the alternative iis7 and modules looks promising but also a much bigger tas | | 0 | 24 | 11/24/2009 11:21:49 PM |
Should I use an abstract class or an interface?
Hi All, I know all the difference and similaerty of abstract class and Interface, but i want to know that what are the senerio in which i should use the abstract class and what | | 0 | 22 | 11/24/2009 6:24:23 AM |
C# boolean statement for multiple conditions
I would like to avoid using multiple if statements for this kind of statement as done PHP, but have it in C#:
$ua= 'this is a test statement with many words';
$isT | | 0 | 29 | 11/24/2009 5:43:24 AM |
Writing in a text file with delimiter.
Hi,
In my application, after retriving data from database, user will write it in a text file with "|" delimiter in ASP.net 2.0 using C#. Please help me on that.
| | 0 | 28 | 11/23/2009 6:45:52 PM |
Zip a Folder and Files
I am looking to Zip a Folder which is having some more folders and files inside it. I want to zip All the files and Subfolders and files in the subfolders. Could some one help me on these. I am u | | 0 | 21 | 11/23/2009 6:45:46 PM |
String manipulation
Hi
I have a sharepoint list item which holds data from a multiselect box. This string has sharepoint generated id with the listbox item names in the following format.
| | 0 | 24 | 11/23/2009 6:45:46 PM |
updating calling web page variable from threading
Hi,
i created threads in a web page. how can i update a variable from thread?
string WantBeUpdate = "";
Thread t = new Thread | | 0 | 23 | 11/23/2009 5:00:34 PM |
How to iterate thru HashTable?
Hi all, I am adding object and string in keyvalue pair to Hashtable. Now I have to iterate thru the hashtable and in each loop i have to use my object to do some business logic.. < | | 0 | 32 | 11/23/2009 1:56:01 PM |
How to write this in c#?
hi,
i want to know how to rewrite this in c#.
Dim t As Thread = SimpleThread.CreateThread(AddressOf Worker.WorkerMethod, 51)
  | | 0 | 28 | 11/23/2009 12:28:55 PM |
Problem with rounding off the decimal value in c#
Hello all,
I m facing a problem with rounding off the decimal value for e.g. if my number of records are 21 | | 0 | 12 | 11/23/2009 8:55:55 AM |
Dynamic execute an expression like Convert.ToDecimal("123");
Hi,
Is there a way to execute an expresss like Convert.ToDecimal("123")?
Thanks in advance
Wilson | | 0 | 20 | 11/23/2009 8:55:52 AM |
Does not find entity???
Dear all,
I have the project with source code in which I do not find any entity for some table such as BOM.
Do you know why and tell me how to do if I want to add one more field?? | | 0 | 35 | 11/23/2009 8:55:49 AM |
System.Array.Copyto vs System.Array.Clone in C#
What's the difference between the two? | | 0 | 34 | 11/21/2009 11:12:58 PM |
Console app to read an e-mail box and save the attachment
Not sure if this is the right forum. ASP.NET 2 +. Win2K+3
I need to read an e-mail box and save the attachment to a folder via console apps. Any pointers here will be very helpf | | 0 | 38 | 11/20/2009 10:04:14 PM |
swap code problem
what is wrong with this code.... class Program
{
public static void Swap(ref string a, ref string b)
{
| | 0 | 26 | 11/20/2009 4:38:30 PM |
Tree view check null nodes ?
Hi can any body tell me how to check null nodes in tree view i try
trvMenu.Nodes[0].Nodes[1].Equal(null)
not working
(trvMenu.Nodes[0].Nodes | | 0 | 27 | 11/20/2009 6:00:43 AM |
Read a specific file from bunch of files in MemoryStream
Hi All,
I don't know whether i am writing in a correct place or not, bare with me if i wm wrong.
&nb | | 0 | 21 | 11/20/2009 12:16:10 AM |
Need help with Regex
I am trying to create some code to validate international telephone number formats. I want to create one regex for each phone number format/country. I have been able to get | | 0 | 34 | 11/19/2009 10:43:06 PM |
Help tune up my file upload.
I have a ftp file upload method that works pretty good but in some situations it does not and i need a little help tuning it up. I am not really all that familiar with how the FtpWebRequest objec | | 0 | 10 | 11/19/2009 5:12:28 PM |
setting a breakpoint in a cs file
This is my scenerio I need to load a test case file "student.cs" which contains 2000 test cases. I need to manually find the word "Assert.areEqual' and set a breakpoint | | 0 | 31 | 11/19/2009 5:12:26 PM |
Upload files to SFTP
hi, i am facing a problem in uplaoding files to SFTP... can anyone supply me with the code to transfer files to SFTP.. thanks, Antiflag
| | 0 | 19 | 11/19/2009 12:27:06 PM |
Caching linq to sql, in a class
I just read this artikel: http://blog.pantos.name/archive/2009/09/03/linq- | | 0 | 25 | 11/19/2009 11:41:49 AM |
need C# linked list problem solution
I have a problem for which I need a solution. Write a C# program to perform the following operations on a linked list of studetns containing USN and name 1. Insert an element t | | 0 | 32 | 11/19/2009 11:41:48 AM |
How to delete file from folder in C# & Asp.net
hello, i m creating file and for that i have write code like
| 0 | 42 | 11/19/2009 8:13:38 AM |
Manually coded POST form not "redirecting"
I have posted this question on another site but have had no help, so I thought I would try here. I hope I have the correct forum I have a | | 0 | 39 | 11/19/2009 7:19:11 AM |
Dynamic forms in C#/ASP.net not working
I'm trying to make a dynamic form in C#, where every time a button is clicked it adds a text box to an updatepanel. What happens currently is that the panel will update and add the first item | | 0 | 30 | 11/19/2009 4:02:10 AM |
C# vs C++
Nowadays can we use C# for all development without C++? Please mark the post(s) that have helped you as "Answer"
| | 0 | 35 | 11/19/2009 4:02:09 AM |
How to delete MSChart series using C#?
I'm working with an MSChart control using C#, and I need to be able to delete a series. Can anyone tell me how to do that? I've looked everywhere and I can only | | 0 | 30 | 11/18/2009 9:54:05 PM |
Injecting properties/fields into the existing type at runtime
Hi,
Is it possible to inject properties/fields into the existing type at runtime? I know how to create a class dynamically and subclass it with an existing one, but that's | | 0 | 25 | 11/18/2009 6:51:22 PM |
parse string to C# datetime
I may have values like 11/4/2009 or 11/17/2009 in a string date1.
I want to parse them into a c# DateTime datatype (I guess we don't have just Date type in c#). How do | | 0 | 36 | 11/18/2009 5:18:41 PM |
Loop Throught ArrayList which is set inside Property type
Hi all ,
I have a class which contains Propery with the retrun type as ArrayList like
Public | | 0 | 33 | 11/18/2009 7:58:54 AM |
Replace Space with Non Breaking Space
How to replace space between word ?E-Mail:? and
?Email Address? with ?non breaking space?. For example I want to
prevent ?Email Address? from breaking if they fall at the end of a
line. I want | | 0 | 23 | 11/18/2009 7:58:54 AM |
Save uploaded file at a folder in My Network Places
Hello, what would I like to do is as this subject.
I was using this:
string sa | | 0 | 30 | 11/17/2009 11:10:10 PM |
Property Attributes
I am working on a DataRow wrapper that will consume a DataRow in the constructor, then provide properties that map to the fields within the DataRow. In a basic implementation it would look like t | | 0 | 29 | 11/17/2009 9:25:47 PM |
Converting varbinary(max) to byte[]
hello everyone, I have a table with a field of type varbinary(max), which i use to store text files. When it comes to uploading the files to DB everything works fine and, aparentely, | | 0 | 34 | 11/17/2009 9:25:46 PM |
Parallel computing in .net 3.5 Sp1 to read large chunk of textfile
I have a more then 100 meg of file.I am reading the file and loading it into my objects line by line. I am now investigating how can i improve it.Can I use parallel programming in .net 3.5 | | 0 | 32 | 11/17/2009 1:27:04 PM |
Generate Password
I want to write a function which generates password and password should be alphanumeric with atleast 1 digit,1 Caps alphabet and 1 symbol. password can be some 8 characters.
| | 0 | 23 | 11/17/2009 12:37:42 PM |