Bool
Thu, 21 Aug 2008 18:17:33 -0700 (PDT)
Hello,
I have the following Linq query:
(from t in database.Tags
where t.Name.ToLower == tag
select t)
I want to define a variable, named Found, that is true if any record
is found or false is no record is found.
What is the best way to do this?
Thanks,
Miguel ...
|
Min max from Dataset
Thu, 21 Aug 2008 13:55:01 -0700
I have a data set that I would like to get the min max for a column but only
from a range of records ie the 20th thru the 33rd record. Could someone point
me to some sytax to do this.
Thanks in advance - Dan ...
|
Using System.Transactions.TransactionScope and MSDTC
Thu, 21 Aug 2008 13:34:30 -0700 (PDT)
Is there a way to use transactions from within C# code without using
MSDTC (client-and-server environment where the SQL server is behind a
firewall)?
Thank you ...
|
Serializing List<T>?
Thu, 21 Aug 2008 12:41:02 -0700
Can I serialize a List<T>?
I created a Serializable class with integers, strings, and a DateTime.
To make it powerful, I used this class to create a List.
Visual Studio 2005 Pro will not serialize the List. Specifically, the
Exception Message says:
Message = "Type 'Report.PaySetting+Bonus+Shift' in Ass ...
|
Help editing an XML element?
Thu, 21 Aug 2008 12:24:52 -0700 (PDT)
Hi,
I need to be able to edit an XML element so instead of it being
<aggregateResponse></aggregateResponse> it needs to be
<tns:aggregateResponse></tns:aggregateResponse>
Any help with this would be much appreciated. ...
|
Re: Has to do with modal dialogs
Thu, 21 Aug 2008 12:21:49 -0700
On Thu, 21 Aug 2008 10:24:22 -0700, Ian <Freeman> wrote:
> I get the same behavior in VB.NET '05 when I am closing a modal dialog
> form. I read on MSDN that the form's close() method should not be used
> when forms are opened using .ShowDialog(). You should use dispose()
> instead. This solved the issue ...
|
Re: Post Forms Programmatically
Thu, 21 Aug 2008 11:24:31 -0700
Hi Arne,
The problem is that when I post the data to the form, I need to open
another URL that is password protected programmatically (hence sending
the user name and password first in the login page) and I am not sure
what to do after I run the code that I posted.
Thank you in advance
*** Sent via Devel ...
|
|
|
formula
Thu, 21 Aug 2008 10:37:18 -0700
does anybody know how to distinguish between
Federal TaxId and a Social security number
in code
94-8329211 Taxid
565-31-8321 ssn both 9 characters
i recieve these without the dashes
the incomming field is by taxid or ssn 1 column not 2 columns
Thanks
DAVEL
...
|
Generics, Interfaces, and Inheritance question
Thu, 21 Aug 2008 10:29:12 -0700 (PDT)
Imagine I have a class TypeX and a class TypeY that inherts TypeX.
public class typeX
{
...
}
public class typeY
: typeX
{
...
}
I also have an interface IX
public interface IX
{
typeX GetThing();
void SetThing(typeX x);
}
And a generic class ABC that implements IX and is de ...
|
Has to do with modal dialogs
Thu, 21 Aug 2008 10:24:22 -0700
I get the same behavior in VB.NET '05 when I am closing a modal dialog form. I read on MSDN that the form's close() method should not be used when forms are opened using .ShowDialog(). You should use dispose() instead. This solved the issue for me.
Basically, the first time I enter the form, the columns were hidd ...
|