Is there a wap version of your site?
.Net Development
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > .Net DevelopmentGo to page: « previous | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | next »

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:
Friday, 14 December 2007
Control.DesignMode issues. Mike Andrews 01:45:49
 I'm having a particular issue with designing controls that I'm guessing I
either didn't understand properly or there's something else going on.
The current project on which I'm working has numerous usercontrols. Some of
these usercontrols contain other composite usercontrols.
Additionally, some of these controls derive their data from a database
automatically. Now, in order to design these controls, the
Control.DesignMode property was used to prevent code from executing when
designing the control.
The problem I'm having now is that when I draw one of those controls on the
design surface of another usercontrol that DesignMode property is returning
false for the drawn control even though I'm currently in design mode for the
control I'm currently building.

I thought (or assumed) that the Control.DesignMode chained down through the
various child controls so that each control would know that its parent or
its parent's parent was in design mode. Apparently I was mistaken.

Has anyone else experienced this or know what's going on here or any
suggestions on how to overcome this one?

Thanks,
Mike

comment 4 answer | Add comment
Thursday, 13 December 2007
Serializing Dictionaries Brady Kelly 18:51:23
 I have an object graph in which most nodes contain generic Dictionary
objects of other classes. After looking at IXmlSerializer I can't decide
whether to go this route, or just derive all my dictionaries from a
serializable dictionary. If I implement IXmlSerializer, I would then
require each element of my dictionary to also implement this interface, so I
can call WriteXml on each one, but what happens if the dictionary element is
a built-in type, such as string?


===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 2 answer | Add comment
Lightweight GUI Library Daniel Barla-Szabo 16:39:35
 Hi Everyone,

I'm looking for a lightweight library that provides good looking UI
controls (let's call it "eye candy", I don't really need more the
powerful controls like grids, etc) for a small WinForms application. I
would typically use DevExpress for the job, but in this case, I would
not be able to justify the several MB increase in size just for a bit of
flair.

I'm looking to use it on some small utilities which will probably be
released for free, so I'm looking for something relatively cheap / free
(GPL is a possibility). For some reason, I'm having trouble finding
something which fits the bill, even though I remember running across a
few candidates years back...

What would you guys recommend in this case? Is there something
lightweight that's worthwhile (please point me in the right direction),
or should I just stick to plain old WinForms controls?

Regards,

Daniel.

Add comment
ExceptionManager and custom exceptions Darryl Luther 01:34:09
 I posted this on the DOTNET-WEB discussion list, but didn't receive any
replies so I thought I'd try here. My apologies if this is completely OT for
this list...

I'm trying to configure exception management in a web app to email
different addresses depending on the exception generated. To this end
I've created my own exception class that implements
ApplicationExceptio­n. For these custom exceptions I'd like the email
to go to a different address than all the other exceptions so I have
two publisher nodes in web.config as follows:
<exceptionManagemen­t>
<publisher mode="on"
assembly="IntranetM­aintenance"
type="IntranetMaint­enance.ExceptionMail­Publisher"
exclude="IntranetMa­intenance.DuplicateF­ileException"
mailserver="mail.ex­ceptions.com"
mailfromaddress="no­reply@exceptions.com­"
mailfromname="Intra­net Maintenance Exception"
mailto="general.exc­eptions@exceptions.c­om"
mailsubject="Unhand­led Intranet Maintenance Exception">
</publisher>
<publisher mode="on"
assembly="IntranetM­aintenance"
type="IntranetMaint­enance.ExceptionMail­Publisher"
exclude="*"
include="IntranetMa­intenance.DuplicateF­ileException"
mailserver="mail.ex­ceptions.com"
mailfromaddress="no­reply@exceptions.com­"
mailfromname="Intra­net Maintenance Warning"
mailto="warning.exc­eptions@exceptions.c­om"
mailsubject="Intran­et Maintenance Duplicate File Warning">
</publisher>
</exceptionManageme­nt>
"IntranetMaintenanc­e" is the namespace for the web app and
"DuplicateFileExcep­tion" is my exception class implementing
ApplicationExceptio­n. Here's how I create the exception in code:
DuplicateFileExcept­ion e = new DuplicateFileExcept­ion("Duplicate file
found");
NameValueCollection­ additionalInfo = new NameValueCollection­();
additionalInfo.Add(­"User", _user);
additionalInfo.Add(­"Workarea", _workarea);
additionalInfo.Add(­"File", f.Name);
additionalInfo.Add(­"Exception Type", e.GetType().ToStrin­g());
ExceptionManager.Pu­blish(e, additionalInfo);
I added the Exception Type just to make sure that I was indeed
specifying the right type to exclude/include in my publisher nodes.
The problem is that this exception is still emailed to
"general.exceptions­@exceptions.com". Clearly I am doing something
wrong, but I cannot see what it is. I think I have everything
configured properly for what I'm trying to do. Does anyone have any
ideas or suggestions? Thanks!

===================­================
This list is hosted by DevelopMentor® http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 4 answer | Add comment
Wednesday, 12 December 2007
Console Application R. Rogers 20:09:15
 Hi,

As far as I know, there's no forum for Console apps, so I'm placing my
questions here.

I'm just writing a simple console app:

namespace HierarchyTest
{
class MyConsoleApp
{
private bool Initialize()
{
bool Result = false;

return (Result);
}

private bool MainProcessing()
{
bool Result = false;

return (Result);
}

private void Completion()
{
}

static void Main(string[] args)
{
}
}

I have two questions:
1. Main is declared as static. As a result, I can't directly call
MyConsoleApp.Initia­lize() from within Main. I can take the approach of
either creating my methods as static, or writing something like this in
main:

try
{
MyApp = new MyConsoleApp();
if (MyApp.Initialize()­)
if (MyApp.Processing()­)
{
MyApp.ProcessingMes­sage = String.Format(_Proc­essingComplete,
MyApp.FoldersProces­sed, MyApp.FilesProcesse­d);
Console.WriteLine(M­yApp.ProcessingMessa­ge);
}
MyApp.Completion();­
}
finally
{
if (MyApp != null)
MyApp = null;
}

Which approach do you take in your console apps, and why?

2. I'd like to use a 'using' instead of a try/finally block, but MyApp
doesn't implement IDisposable, hence the following code won't compile:

using (MyApp = new MyConsoleApp())
{
if (MyApp.Initialize()­)
if (MyApp.MainProcessi­ng())
{
MyApp.ProcessingMes­sage = String.Format(_Proc­essingComplete,
MyApp.FoldersProces­sed, MyApp.FilesProcesse­d);
Console.WriteLine(M­yApp.ProcessingMessa­ge);
}
MyApp.Completion();­
}

What would you do? Would you declare MyConoleApp this way?
class MyConsoleApp : System.Idisposable

Thanks for any/all feedback.

Richard Rogers
http://www.RichardR­ogers.ca/
(MSN) rogersrr_ca@hotmail­.com

comment 4 answer | Add comment
DataTable.Select and Targeted Runtime Joe Lenhart 11:04:13
 I ran across a DataTable.Select bug in an app and so far have reduced it to
below-- please point out any logic flaws as i'm getting cross-eyed.

I have v1.0.3705, v1.1.4322 and v2.0.40607 installed. Assuming good logic
below/known bug how can you target a minum runtime?

TIA,
Joe

Sub Main()
Dim ds As New DataSet()
Dim dt As DataTable
Dim dr As DataRow
Dim rows As DataRow()

dt = ds.Tables.Add("Tabl­e0")
dt.Columns.Add("c0"­, GetType(String))
dt.Columns.Add("c1"­, GetType(String))

dr = dt.NewRow()
dr(0) = "0"
dr(1) = "0"
dt.Rows.Add(dr)

dr = dt.NewRow()
dr(0) = "1"
dr(1) = "1"
dt.Rows.Add(dr)

rows = dt.Select("NOT (c0 = '0') AND NOT (c0 = '1')")
Console.WriteLine(r­ows.Length) ' => 0 -- OK

rows = dt.Select("NOT (c0 = '0') AND NOT (c0 = '1') AND (c1='1')")
Console.WriteLine(r­ows.Length) ' => 1 -- ??

rows = dt.Select("NOT (c0 = '0' OR c0 = '1') AND (c1='1')")
Console.WriteLine(r­ows.Length) ' => 0 -- OK

Dim clrVersion As String
clrVersion =
System.Runtime.Inte­ropServices.RuntimeE­nvironment.GetSystem­Version()
Console.WriteLine(c­lrVersion) ' => v1.0.3705

Console.ReadLine() 'for F5 readability
End Sub

===================­================
This list is hosted by DevelopMentor® http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 3 answer | Add comment
Thursday, 6 December 2007
windows-less console app visual progress indicator chris Burgess 19:17:50
 I have a very small windows-less console app that runs very quickly
and doesn't require user interaction. What would be a simple,
non-intrusive visual indicator that the job has run and completed. I
want something that will let them know it's done for a second or two
and then go away. I don't want the user to need to dismiss a dialog
box.

Thanks!

Chris

===================­================
This list is hosted by DevelopMentor® http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 8 answers | Add comment
MDI List Steve Abaffy 01:33:52
 Hello,

The help says that if you have a menu item that you would like to
list all the open children of a MDI form all that needs to be done is
Menuitem.MdiList = true;

However the Menuitem does not have this property so how does one do this?
And yes the toolstrip is located on the Form which has its IsMdiContainer
set to true.
Thanks

comment 2 answer | Add comment
Wednesday, 5 December 2007
[OT] SharePoint vs Wiki Peter Vertes 05:35:51
 *Hello List,*

This is a kinda off topic question but it is development related. I'm
looking to put together an information "information repository" for one of
my dev teams. I'm thinking about it being a wiki type thing. Different
people can update the different items inside this said repository that the
rest of the group can view without a fuss (meaning no additional software
installation required, viewing via a browser would be ideal). During one of
our meetings the idea of a SharePoint server came up but since I'm not all
that familiar with it I don't know if it would satisfy my requirements. I
did a little reading up on SharePoint and I think it might be an overkill
for our use. If someone is using something similar with their team are they
using SharePoint ? If not what kind of wiki engine would you recommend ?
I'm looking for something that is preferably ASP.NET. Thanks...

-Pete

===================­================
This list is hosted by DevelopMentor® http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 3 answer | Add comment
Tuesday, 4 December 2007
Where do you put it Steve Abaffy 21:55:19
 Hello,

This might be a stupid question, but I want a textbox to get focus
when MDIchild form opens, so I put txtFindCustomer.Foc­us() in the Load event
of the form but it doesn't work. Where does it go? Or is not the way to do
this?

Thanks

comment 6 answers | Add comment
Monday, 3 December 2007
WPF List Brady Kelly 21:01:29
 Is there one, or are questions tolerated here?

comment 2 answer | Add comment
Thursday, 29 November 2007
DataTable efficiency Alan Baljeu 23:36:33
 My application uses a largish readonly database (CSV files, actually) consisting of several
tables. These tables are accessed somewhat frequently, and I want to make this as efficient
as possible. I'm currently using plain DataTable objects produced by OdbcAdapters and
queries. These tables are cached so I'm just searching in-memory tables after that. My
queries look like "SELECT * FROM [{0}]" and occasionally "SELECT * FROM [{0}] where [{1}] =
'{2}'". I'm thinking of splitting the latter into just table.Select("colna­me = value").

I have a nagging suspicion that the DataTable structure isn't super-efficient, or that
certain ways of using it are effcient while others aren't.

Is this so? Are there certain things I should avoid? Do you recommend a certain style for
efficient access? Is there a better approach that DataTable?

===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 15 answers | Add comment
Strange Wierdness with SQLServer Bit fields and SQLProvider Davy J 00:47:30
 Hi all,

[summary]
I've got a bit field, that always retuns DBNULL, even though the value is
True / False (1/0) using SQLServer 2005 , Dataset , DataAdapter.

[detail]
I've been stuck with this for a while now, looked everywhere I can and
can't seem to find someone who has the same problem, so I must be doing
something wrong.

In the database we have

create table REF_STATE (
ref_id int identity(1,1),
ref_label varchar(25),
ref_isvalid bit
)

the database uses ref_isvalid as a tristate variable, true, false , dbnull
(not used)

we have 3 rows in the table

insert into ref_state ( label, isvalid ) values ( 'active' , 1)
insert into ref_state ( label, isvalid ) values ( 'debug' , 0)
insert into ref_state ( label , isvalid) values ( 'disactive',1)

For this example ref_isvalid defines if we're in debug mode, ( there are
200+ ref tables like this , so changing NOT NULL is not possible.)

to get information from this we use a stored procedure

create procedure SP_GetState(@debug bit) as
begin
select * from ref_state where ref_state = 1 or @debug = 1
end

Now the problem, standard SQLProvider code

Connection -> Command -> SQLDataAdaptor -> Dataset

when we loop over the dataset , we use this function

public T DefaultValue<T>(obj­ect o , object defaultValue){
if(o == null || o == DBNull.Value) return defaultValue;
return (T)o;
}

RefItem refItem = new RefItem;

refItem.Id = DefaultValue<Int32>­(dr["ref_id"],-1);
refItem.Code = DefaultValue<String­>(dr["ref_label"],"<unknown>");
refItem.IsValid = DefaultValue<Boolea­n>(dr["ref_isValid"],false);

The problem is when we get to the
DefaultValue<Boolea­n>(dr["ref_isvalid"],false) , it ALWAYS falls on the o ==
DBNull.Value , the value returned from the stored procedure is allways
DBNull for this bit field ( ref_isvalid bit , )

Selects direct on the database return the correct data, Executing the
storedprocedure returns the correct value , Somewhere between the
DataAdapter.Fill(ds­) and the dr["ref_isvalid"] it's either loosing the
value or not setting it. Any Ideas how to debug this or references to an
example please?


Thanks

Davy J.

===================­================
This list is hosted by DevelopMentor® http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 17 answers | Add comment
Tuesday, 27 November 2007
Hiding all open forms James Berry 20:35:34
 I need to hide all open forms in my application (and be able to bring them back later). This is a security function for which there is an external requirement, and I can do nothing to manage.

My first test was to use the Application.OpenFor­ms to discover all open forms and then hide them. This gives two sets of problems:

1. OpenForms does not include forms where ShowInTaskBar = false
2. Hiding open dialog boxes causes them to close (returning DialogResult).

So, any pointers?

1. Is there a way to identify all open forms without OpenForms (Win32 functions to find the handles would be enough probably, as I can always send messages rather than using the dotnet functions)
2. Is there a good alternative to hiding? I thought of resizing to 0,0 - or moving massively off screen (eg to 10000, 10000)

Best wishes
James

comment 12 answers | Add comment
Sunday, 25 November 2007
Child objects inheriting property values Brady Kelly 01:43:05
 I have a hierarchy of objects that share some attributes, e.g. both my
parent Record and Column objects have a columnDelimiter property. I want
this property on the Column object to default to the same property on the
Record object, until specified on the Column object. What is the best way
to go about this? I could give each Column a reference to the Record it
belongs to, but this seems not quite right to me. My other option is to
have the Record act as a ColumnFactory, setting the columnDelimiter value on
each Column it creates, until a set accessor on Column optionally overrides
that default value.


===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 17 answers | Add comment
Thursday, 22 November 2007
Overlapped file IO Alex Ivanoff 06:56:12
 Does .NET 2.0 have support for overlapped IO or do I need to implement one myself?

Alex
comment 8 answers | Add comment
Wednesday, 21 November 2007
FW: C# 3.0 Automatic Properties Keith Hill 22:24:43
 
-----Original Message-----
From: Fabian Schmied [mailto:fabian.schmied@GMX.AT]
Sent: Wednesday, November 14, 2007 1:22 AM
Subject: Re: C# 3.0 Automatic Properties
Encapsulation is a nice word, but IMO in many, many cases (like
utility structs) public readonly fields do the job very well. I've yet
to hear a convincing reason to prefer properties over public readonly
fields when both of them would be applicable.

I have to disagree. IMO it is a bad idea to expose public fields (even readonly) unless you are talking about a true cosmological constant like Pi or E. The reason is that public field values get baked (compiled) into your client's code. Once a client has compiled against your type, it will never ask for that public field value again until you recompile. So if you decide to change the value well then all your clients will have to recompile. And as far as performance is concerned most trivial property getters are inlined. Furthermore, you may decide that you need logic in the retrieval of the field's value - oops can't do that. Non-readonly fields are worse since they can never be thread safe (unless there is a field sync attribute I don't know about).

BTW for the folks objecting to the compiler syntactic sugar known as automatic properties, how is this that different than what the compiler does for you when you use the event keyword?

--
Keith

===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 6 answers | Add comment
Sorting Lines in VS2008 Text Editor R. Rogers 18:14:11
 Hi,

I downloaded CodeSmart, the trial edition, from here:
http://www.axtools.­com/
What an amazing tool it is - quite a large set of capabilities.
Unfortunately, I haven't been able to figure out how I can use it to sort
lines in the text editor.

Let's say I've got the following declarations:
bool Active;
bool Result = false;
bool ValidDate;
DateTime DateOnBoard;
int DateOnBoardInt = 0;
int RC;
string DateOnBoardStr;
string
SiteId, CompanyName, Address, City, Province
, PostalCode, BusinessPhone, AltPhone, CellPhone, ContactName
, ContactEmail, PrimaryContact, RoomLocation, CircuitTermination
, RoomKey, IBIOrderNumber, Tech, Network, Notes;

I've got them sorted by type. How can I sort them by name?
Does anyone use an add-in that a) sorts lines b) can sort by either type or
name and c) works in VS 2008?

I thought of writing a simple add-in, but don't want to spend the time.

Any pointers?

Richard Rogers
http://www.RichardR­ogers.ca/
(MSN) rogersrr_ca@hotmail­.com

Add comment
Double posts Richard Blewett 15:29:52
 Is anyone else seeing all the messages twice or do I have some Outlook rule
madness going on?

Regards

Richard Blewett - DevelopMentor

-----Original Message-----
From: Discussion of development on the .NET platform using any managed
language [mailto:D­OTNET-CLR@DISCUSS.DEVELOP.COM] On Behalf Of Richard
Blewett
Sent: 21 November 2007 00:27
To: DOTNET-CLR@DISCUSS.­DEVELOP.COM
Subject: Re: [DOTNET-CLR] FW: C# 3.0 Automatic Properties
<Inline>
Regards
Richard Blewett - DevelopMentor
-----Original Message-----
From: Discussion of development on the .NET platform using any
managed
language [mailto:D­OTNET-CLR@DISCUSS.DEVELOP.COM] On Behalf Of Keith
Hill
Sent: 20 November 2007 21:54
To: DOTNET-CLR@DISCUSS.­DEVELOP.COM
Subject: [DOTNET-CLR] FW: C# 3.0 Automatic Properties
-----Original Message-----
From: Fabian Schmied [mailto:fabian.schmied@GMX.AT]
Sent: Wednesday, November 14, 2007 1:22 AM
Subject: Re: C# 3.0 Automatic Properties
Encapsulation is a nice word, but IMO in many, many cases (like
utility structs) public readonly fields do the job very well. I've
yet
to hear a convincing reason to prefer properties over public
readonly
fields when both of them would be applicable.
I have to disagree. IMO it is a bad idea to expose public fields
(even
readonly) unless you are talking about a true cosmological constant
like Pi or E. The reason is that public field values get baked
(compiled) into your client's code. Once a client has compiled
against
your type, it will never ask for that public field value again until
you recompile. So if you decide to change the value well then all
your
clients will have to recompile.
Hmmm - this is not true. Constant values are baked into the consumer
but
fields are not - so this objection is not valid. I agree with the rest
of
your objections
And as far as performance is concerned
most trivial property getters are inlined. Furthermore, you may
decide
that you need logic in the retrieval of the field's value - oops
can't
do that. Non-readonly fields are worse since they can never be
thread
safe (unless there is a field sync attribute I don't know about).
BTW for the folks objecting to the compiler syntactic sugar known as
automatic properties, how is this that different than what the
compiler
does for you when you use the event keyword?
--
Keith
===================­================
This list is hosted by DevelopMentor. http://www.develop.­com
View archives and manage your subscription(s) at
===================­================
This list is hosted by DevelopMentor. http://www.develop.­com
View archives and manage your subscription(s) at

===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 5 answers | Add comment
Tuesday, 20 November 2007
Custom paper size when printing... Gary Harpin 11:58:55
 I have the need to automatical print to a custom paper size on a named
printer.

The code I have is basicaly as below:
-------------------­--------------------­--------------------­----
...
PrintDocument prnDoc = new PrintDocument();
prnDoc.PrintPage += new PrintPageEventHandl­er(OnPrintPage);
prnDoc.PrinterSetti­ngs.PrinterName = "Samsung ML-2010 Series";

PaperSize ps = new PaperSize("Custom",­ 600, 400);

prnDoc.DefaultPageS­ettings.PaperSize = ps;

prnDoc.Print();
...
-------------------­--------------------­--------------------­-----

On most of the printers available to me this code works as expected,
however on Samsung printers it dose not (it allways prints to A4).

Is this an error in my understanding of how to set custom paper sizes or
could it be an error in how the Samsung drivers work with the framework?


Thank you.

Regards,
Gary Harpin

___________________­_____________

"...a computer is a stupid machine with the ability to do incredibly
smart things, while computer programmers are smart people with the
ability to do incredibly stupid things. They are, in short, a perfect
match.." Bill Bryson



[No Disclaimer]


comment 2 answer | Add comment
LINQ and DataContext R. Rogers 01:18:33
 Hello,

Have started working with DLINQ, and the System.Data.Linq.Da­taContext class.

I thought that the DataContext would be very similar to the SqlConnection
class, and that I would be able to explicitly connect, by calling .Open();

Alas, it doesn't contain that method. Now, how do I explicitly connect, and
if it fails, how do I test for that?

Thanks for all feedback,

Richard Rogers
http://www.RichardR­ogers.ca/
(Home) 416-787-4777
(MSN) rogersrr_ca@hotmail­.com

comment 1 answer | Add comment
Sunday, 18 November 2007
TlbImp error: Invalid strong name parameters specified Kjell Arild Tangen 11:37:07
 I get this error when building a storngly named wrapper assembly:

TlbImp error: Invalid strong name parameters specified



What puzzles me is that I am able to build the wrapper assembly on another PC.

I don't find any information anywhere about this particular error.



Anyone knows what might cause this error?



Regards,

Kjell



PS. I use VS.NET 2003.





This email, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain privileged and/or confidential information. If you are not the intended recipient of this e-mail, any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by e-mail or by telephone and permanently delete all copies of this e-mail and any attachments. The name of the sender at the bottom of this message or contained anywhere else in this e-mail is only for identification and is not intended to and shall not act as a signature indicating agreement or the formation of a contract unless that is specifically stated in the body of the e-mail message.

===================­================
This list is hosted by DevelopMentor® http://www.develop.­com
Some .NET courses you may be interested in:

Essential SQL Server 2005 "Yukon" for Developers
August 23 - 27, Los Angeles
http://www.develop.­com/courses/yukon

Essential .NET: building applications and components with C#
30 August - 3 September, in Los Angeles
http://www.develop.­com/courses/edotnet

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 3 answer | Add comment
Saturday, 17 November 2007
SV: [DOTNET-WINFORMS] Help set the direction for Microsoft's data technologies Benny Skjold Tordrup 12:41:32
 Just completed the survey and actually missed a "General comments" question
:-)­

When creating DataSets in VS 2005, I always delete the TableAdapter class
created in the dataset. IMO it does not belong there.

If you rely on DataSets as the data structure definition in a n-tier
application, the DataSet classes would be used in most tiers - especially
the UI layer. Having TableAdapters in the DataSet definition would force DAL
code to flow around in the UI layer - where it does not belong.

The practice that I use, is the DataSet definition in one library and the
actual DataAccess classes (DAL) in another library.

Med venlig hilsen / Best regards





-----Oprindelig meddelelse-----
Fra: Discussion forum for developers using Windows Forms to build apps and
controls [mailto:D­OTNET-WINFORMS@DISCUSS.DEVELOP.COM] P vegne af Erick
Thompson
Sendt: 16. november 2007 22:10
Til: DOTNET-WINFORMS@DIS­CUSS.DEVELOP.COM
Emne: [DOTNET-WINFORMS] Help set the direction for Microsoft's data
technologies

We are seeking feedback and information on the way that you build
applications so that we can continue to improve Microsoft developer
products.



In particular, we are looking for developers of all stripes to take a survey
that gathers information about how you write n-tier, traditional, or web
service oriented applications that deal with data. The survey is fairly
short, and should not take more than a few moments of your time. Your
assistance in taking this survey will help us make better informed decisions
on future versions of Microsoft developer technologies.



If you complete the survey, you will be entered for a random drawing for
some nice Microsoft swag. Responses will remain confidential, although you
will be asked if we can contact you for more information.



http://tinyurl.com/­2ryq6b



Thank you for your assistance,



Erick Thompson

ADO.NET Program Manager

Add comment
Help set the direction for Microsoft's data technologies Erick Thompson 00:09:52
 We are seeking feedback and information on the way that you build applications so that we can continue to improve Microsoft developer products.



In particular, we are looking for developers of all stripes to take a survey that gathers information about how you write n-tier, traditional, or web service oriented applications that deal with data. The survey is fairly short, and should not take more than a few moments of your time. Your assistance in taking this survey will help us make better informed decisions on future versions of Microsoft developer technologies.



If you complete the survey, you will be entered for a random drawing for some nice Microsoft swag. Responses will remain confidential, although you will be asked if we can contact you for more information.



http://tinyurl.com/­2ryq6b



Thank you for your assistance,



Erick Thompson

ADO.NET Program Manager


===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 4 answer | Add comment
Friday, 16 November 2007
Dynamically determine and cast type Brady Kelly 21:09:16
 I want to write a method that takes a Property object and a string as
parameters, and based on the type of the property, converts the string to
the correct type, with a null for empty strings, and assigns in to the
property. I don't like the idea of using a switch, so how could I go about
this?


===================­================
This list is hosted by DevelopMentor http://www.develop.­com

View archives and manage your subscription(s) at http://discuss.deve­lop.com

comment 3 answer | Add comment

Add new topic:

How:  Register )
 
Логин:   Пароль:   
Комментировать могут: Премодерация:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > .Net DevelopmentGo to page: « previous | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | next »

see also:
Programming the Hard Way?
outlook & php
VIRUS ON LIST?
пройди тесты:
see also:
ICONS: Apple OS X
AntiVir Removal Tool for Windows ...
Vendor unveils USB Serial-ATA dongle

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .