Click here to Skip to main content
15,924,036 members
Home / Discussions / C#
   

C#

 
Questionconnectionstring Pin
fmardani13-Dec-05 2:33
fmardani13-Dec-05 2:33 
AnswerRe: connectionstring Pin
J4amieC13-Dec-05 2:46
J4amieC13-Dec-05 2:46 
Questionhow to programmatically do digest authentication against active directory? Pin
redclover13-Dec-05 1:49
redclover13-Dec-05 1:49 
QuestionHow to launch file properties window from winform? Pin
Jim Taylor13-Dec-05 1:20
Jim Taylor13-Dec-05 1:20 
AnswerRe: How to launch file properties window from winform? Pin
Curtis Schlak.13-Dec-05 4:08
Curtis Schlak.13-Dec-05 4:08 
GeneralRe: How to launch file properties window from winform? Pin
Jim Taylor13-Dec-05 5:25
Jim Taylor13-Dec-05 5:25 
GeneralRe: How to launch file properties window from winform? Pin
Curtis Schlak.13-Dec-05 5:39
Curtis Schlak.13-Dec-05 5:39 
QuestionEnterprise Library sucks? Pin
TimGSXR13-Dec-05 0:43
TimGSXR13-Dec-05 0:43 
Hi, i'm just about to start quite a large project that i'd like to use the Enterprise Library blocks for. I can see massive benefits of using the library but have come across a huge problem, for me at least.

I use DataRows / DataTables to pass to and from my Dal, all the Business objects have a ToDataRow, FromDataRow that maps DataRow columns to Business attributes. This allows me to contruct classes from Datatables (Collections) or from a single DataRow. I did things this way specifically because using the old Data Access application block I could get a list of SqlParameters (SqlHelperParameterCache.GetSpParameterSet) from a stored procedure then map these to the DataRow columns using sproc param name and column name and not have to worry about providing specific mappings for every stored procedure, and I could just write a BaseClass that did most of the functionality for me, all the DalcClasses did was specify a sproc name, and pass on the DataRow produced from the Business object, e.g.

User Business Class
DalcUser.Update(this.ToDataRow());

User DALC:
public static void Update(DataRow drUser)
{
BaseUpdate("UpdateUser", drUser);
}

I don't see anyway of doing this in the Enterprise Library anyone any ideas. Should I just change to using DataSets I just find them overkill considering most of the time all you want is a DataRow, even then i don't think this is solved.

Many Thanks

Tim
AnswerRe: Enterprise Library sucks? Pin
Ista13-Dec-05 2:31
Ista13-Dec-05 2:31 
QuestionChecking if a INT is NaN Pin
binglin13-Dec-05 0:31
binglin13-Dec-05 0:31 
QuestionRe: Checking if a INT is NaN Pin
leppie13-Dec-05 0:55
leppie13-Dec-05 0:55 
AnswerRe: Checking if a INT is NaN Pin
binglin13-Dec-05 13:44
binglin13-Dec-05 13:44 
AnswerRe: Checking if a INT is NaN Pin
Robert Rohde13-Dec-05 1:08
Robert Rohde13-Dec-05 1:08 
GeneralRe: Checking if a INT is NaN Pin
binglin13-Dec-05 13:46
binglin13-Dec-05 13:46 
GeneralRe: Checking if a INT is NaN Pin
Member 1512503031-May-21 5:51
Member 1512503031-May-21 5:51 
QuestionBinaryWriter.Write(string) Pin
Daniel Monzert13-Dec-05 0:05
Daniel Monzert13-Dec-05 0:05 
AnswerRe: BinaryWriter.Write(string) Pin
Ista13-Dec-05 2:33
Ista13-Dec-05 2:33 
AnswerRe: BinaryWriter.Write(string) Pin
Daniel Grunwald13-Dec-05 4:15
Daniel Grunwald13-Dec-05 4:15 
GeneralRe: BinaryWriter.Write(string) Pin
Daniel Monzert14-Dec-05 6:33
Daniel Monzert14-Dec-05 6:33 
GeneralRe: BinaryWriter.Write(string) Pin
Daniel Grunwald14-Dec-05 6:40
Daniel Grunwald14-Dec-05 6:40 
QuestionPerfMon: Where are my counters? Pin
Salil Khedkar12-Dec-05 23:50
Salil Khedkar12-Dec-05 23:50 
AnswerRe: PerfMon: Where are my counters? Pin
S. Senthil Kumar13-Dec-05 1:06
S. Senthil Kumar13-Dec-05 1:06 
GeneralRe: PerfMon: Where are my counters? Pin
Salil Khedkar13-Dec-05 20:06
Salil Khedkar13-Dec-05 20:06 
QuestionC# And ADO.NET N-Tier Help Pin
systemnyc12-Dec-05 23:15
systemnyc12-Dec-05 23:15 
AnswerRe: C# And ADO.NET N-Tier Help Pin
Ista13-Dec-05 2:37
Ista13-Dec-05 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.