[DotNetDevelopment] Creating audit log of all changes to tables in MS SQL 2005 using CLR

2008-09-11 Thread Alex
Hi, I've been asked to create an audit log of numerous tables showing all updates, deletes, and inserts, so I'm trying to find the simplest way to do this. I found the below article on SQLJunkies.com that actually works great, but I need to make some modifications so it fits into our application

[DotNetDevelopment] Re: A generic Question

2008-09-11 Thread Glenn
I'll second Peter's comments. Code review works wonders. Doing a code review will greatly benefit the project, regardless of the level of knowledge of the team members. You may have worked in one part of the project and developed some routines that could benefit another part of the project. If

[DotNetDevelopment] Re: A generic Question

2008-09-11 Thread Peter Smith
so, if they're not .NET Generics, why did you capitalize 'generic' in your question? H? Answering the question, various methods of peer code review work wonders too, as well as all of Esteemed Leader's suggestions. Plus a few coding standards, and giving new team members sufficient time to abs

[DotNetDevelopment] Re: Console application

2008-09-11 Thread Glenn
There are many Windows Service applications that are done in .NET. They, obviously, are NOT Windows applications but are console applications. ...Glenn On Thu, Sep 11, 2008 at 4:43 AM, VIKAS GARG <[EMAIL PROTECTED]>wrote: > I am new to .NET. and now I have started learning C# console applicatio

[DotNetDevelopment] Re: Console application

2008-09-11 Thread Peter Smith
Most of the integration code I wrote to let Biztalk and my last company's custom CRM code communicate, was all written as console apps, that were invoked by server-side consumers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[DotNetDevelopment] Re: question

2008-09-11 Thread Peter Smith
http://www.google.com/search?q=ini+files+c%23 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group,

[DotNetDevelopment] Re: Multiple threads (ThreadPool.RegisterWaitForSingleObject) problems (the 64 thread issue)

2008-09-11 Thread CK
just to check, you've set ThreadPool.SetMaxThreads(int)? On 10 Sep, 18:42, Milo <[EMAIL PROTECTED]> wrote: > Any ideas? > > On Sep 5, 7:38 pm, Milo <[EMAIL PROTECTED]> wrote: > > > Hope you guys (and gals) can help, I've been digging without much > > success.. > > > I've an application which nee

[DotNetDevelopment] Re: question

2008-09-11 Thread Glenn
Add another replacement keyboard to the list!! :) On Thu, Sep 11, 2008 at 12:42 PM, Cerebrus <[EMAIL PROTECTED]> wrote: > > You cannot ! No one ever taught c# to read and write. The poor thing > is totally illiterate. > > On Sep 10, 2:10 pm, uma <[EMAIL PROTECTED]> wrote: > > how can i read and w

[DotNetDevelopment] Re: C# Web Service Client Without a Proxy Class

2008-09-11 Thread CK
> Thanks to Cerebrus too for the alternative method of calling web > services using HttpWebRequest and HttpWebResponse. Will those methods > work asynchronously though? Try it and see :) On 10 Sep, 18:47, Cale <[EMAIL PROTECTED]> wrote: > Thanks a ton Joe. I'll give that a shot, it sounds promis

[DotNetDevelopment] Re: Console application

2008-09-11 Thread CK
I use Console applications for quick running and testing of code. Other types of .net applications are Webservices, Windows Services, ASP.Net applications, Windows Forms, Class Libraries, Mobile Windows Applications and more. On 11 Sep, 09:43, "VIKAS GARG" <[EMAIL PROTECTED]> wrote: > I am new t

[DotNetDevelopment] Re: question

2008-09-11 Thread Cerebrus
You cannot ! No one ever taught c# to read and write. The poor thing is totally illiterate. On Sep 10, 2:10 pm, uma <[EMAIL PROTECTED]> wrote: > how can i read and write ini files using c# --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[DotNetDevelopment] Re: A generic Question

2008-09-11 Thread Cerebrus
Some methods that I try to use now and then : 1. Documentation. 2. New member orientation 3. Having utility classes and methods that are properly named so that the developer would be likely to check that particular class rather than reinventing the wheel. On Sep 10, 11:24 pm, PyroCode <[EMAIL PR

[DotNetDevelopment] Re: Help with Visual Basic code

2008-09-11 Thread Cerebrus
Wasn't it Glenn who suggested we rename this group "Homework help forum" ?? I guess someone took you seriously even before a name change, Glenn. On Sep 10, 6:41 pm, Jai <[EMAIL PROTECTED]> wrote: > Can anyone write the code for me and suggest how to set the form up? > Im so lost and your help wo

[DotNetDevelopment] Re: Constructer return type

2008-09-11 Thread Cerebrus
> Do we need to define the return type of the constructor. No. > Or does it carry a default return type Yes, "void". > Why do program gives error if we use void with the constructor name See above. > In this program if I remove comments from > //Console.WriteLine("The length and width o

[DotNetDevelopment] Re: Console application

2008-09-11 Thread Cerebrus
Console applications not only form an indispensable part of the learning process where a developer's focus is on program logic and syntactical peculiarities, but also work as useful applications when a minimal amount of user interaction is required, where the UI capabilities of a Windows form woul

[DotNetDevelopment] Re: question

2008-09-11 Thread Glenn
Avoid .ini files if at all possible. The same task can be done easier and better through the use of an XML file. If you absolutely must use an ini file, you have two choices: 1. Write your own ini file processing class. The structure of the file is basic. 2. Use P/Invoke to interface to the old

[DotNetDevelopment] Re: Constructer return type

2008-09-11 Thread Glenn
Constructors are for setting up your class. They return the type of the class and therefore you don't return a type. If you want to calculate the area, as per your example, then you should set up a property in your class that will calculate it when the user goes to acquire it. Don't try to put c

[DotNetDevelopment] Re: Sorting A Repeater

2008-09-11 Thread Cerebrus
http://aspnet.4guysfromrolla.com/articles/020905-1.aspx 2nd result on Google "asp.net repeater sorting" ;-) On Sep 11, 3:31 am, rzaleski <[EMAIL PROTECTED]> wrote: > Can you give an example of a sortable repeater? > > How do I use a datagrid if I need to bind two objects to it?  I've > only boun

[DotNetDevelopment] Re: Added Controls to Form are not posting back

2008-09-11 Thread Cerebrus
Glad you got it going ! ;-) On Sep 11, 6:42 pm, adailey <[EMAIL PROTECTED]> wrote: > I figured it out.  Thanks.  I need to use the > Request.Params.Get("name") to get that hidden form data in the init > method and re-add the hidden fields to the form.Controls > > On Sep 10, 2:46 am, Cerebrus <[EM

[DotNetDevelopment] Re: Grid view

2008-09-11 Thread KeidrickP
post the code that you have, an maybe someone can help you out.. On Wed, Sep 10, 2008 at 5:18 AM, R- Tester <[EMAIL PROTECTED]> wrote: > > i had added sqldatasource for a grid view. and i am able to acces data > from table using Eval mathode. but i need to do some modification in > that data and

[DotNetDevelopment] Re: Sorting A Repeater

2008-09-11 Thread rzaleski
Can you give an example of a sortable repeater? How do I use a datagrid if I need to bind two objects to it? I've only bound datagrids to datasources... Thanks. On Sep 10, 2:43 am, Cerebrus <[EMAIL PROTECTED]> wrote: > I can think of two ways: > > 1. Create your own SortableRepeaterby deriving

[DotNetDevelopment] Re: Multiple threads (ThreadPool.RegisterWaitForSingleObject) problems (the 64 thread issue)

2008-09-11 Thread Milo
Any ideas? On Sep 5, 7:38 pm, Milo <[EMAIL PROTECTED]> wrote: > Hope you guys (and gals) can help, I've been digging without much > success.. > > I've an application which needs to fire off alot of threads to various > webservices... > > I've written a version using ThreadPool.QueueUserWorkItem a

[DotNetDevelopment] Constructer return type

2008-09-11 Thread VIKAS GARG
Do we need to define the return type of the constructor.Or does it carry a default return type Why do program gives error if we use void with the constructor name using System; namespace ConsoleApplication18 { public class Program { public int length, width; public Program(int

[DotNetDevelopment] Grid view

2008-09-11 Thread R- Tester
i had added sqldatasource for a grid view. and i am able to acces data from table using Eval mathode. but i need to do some modification in that data and i need to show in grid.for that i took itemtemplate.it is not allowing me to do operations on that data how to do can any one explain me where i

[DotNetDevelopment] question

2008-09-11 Thread uma
how can i read and write ini files using c# --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, s

[DotNetDevelopment] c# windows app: looping thru one datagridview to display data in another datagridview

2008-09-11 Thread nevin
Hello All, I have a windows app with two datagridviews on a form. The first column in datagridview1 contains filenames. Using split i am parsing the filenames into new variables to be displayed in datagridview2 (the user has to select checkboxes in the last column of datagridview1 to select which

[DotNetDevelopment] Console application

2008-09-11 Thread VIKAS GARG
I am new to .NET. and now I have started learning C# console application. What kind of programing help do we get after learning C# Console applications. I guess all programing of .NET are done in C# windows application. Please Reply --~--~-~--~~~---~--~~ You receive

[DotNetDevelopment] Re: Float in Loop - A myth or mystery. Need Attention & Reason

2008-09-11 Thread velsankar
Dear All, Thanks a lot for your contributions. Now I get cleared. I have read the articles given by you peoples & few more regarding the float properties & how it is storing, retriving in the system, number system controversies... Some important basic things to consider while we use float. Floa

[DotNetDevelopment] Re: Added Controls to Form are not posting back

2008-09-11 Thread adailey
I figured it out. Thanks. I need to use the Request.Params.Get("name") to get that hidden form data in the init method and re-add the hidden fields to the form.Controls On Sep 10, 2:46 am, Cerebrus <[EMAIL PROTECTED]> wrote: > Common newbie question, Adailey! The problem can be solved by re- >

[DotNetDevelopment] Button field does not fire onrowcommand

2008-09-11 Thread psion
Hi, I have the following gridview in aspx:

[DotNetDevelopment] Re: Stop processing after a error message in ASP.NET 2.0

2008-09-11 Thread Sitab Bhandari
use *return;* But use javascript on aspx page not on server side form for button click event... On 8/29/08, Jakub Malinowski <[EMAIL PROTECTED]> wrote: > > > Use ClientClick event and write code in js > > On Aug 29, 1:01 pm, abhinandan <[EMAIL PROTECTED]> wrote: > > ya its txtbox1.text,

[DotNetDevelopment] A generic Question

2008-09-11 Thread PyroCode
Hey everyone i had a Generic (not .net Generics :P) question about software development Lately i have been involved with numerous projects that are huge in size, and one common problem i am starting to see is that, when projects do get big, developers sometimes write methods or classes that are

[DotNetDevelopment] Re: C# Web Service Client Without a Proxy Class

2008-09-11 Thread Cale
Thanks a ton Joe. I'll give that a shot, it sounds promising. I don't know why I didn't think of that, lol. Thanks to Cerebrus too for the alternative method of calling web services using HttpWebRequest and HttpWebResponse. Will those methods work asynchronously though? Thanks again, Cale On Se

[DotNetDevelopment] Re: Added Controls to Form are not posting back

2008-09-11 Thread adailey
I read up on the page lifecycle but am still not getting this to work correctly. I have it in the Page_Init method: if (this.IsPostBack){ Control cont = new Control(); cont = this.form1.FindControl("CATALOG_ID"); string catId = ((HiddenField)cont).Value; HiddenField hf = new Hidde

[DotNetDevelopment] Dynamic HTML Table

2008-09-11 Thread Sitab Bhandari
I have created dynamic html table which shows images in tabular format. On my local machine it was functioning properly..without any error. But when I put it on production serverFirst time page get displayed properly but when it postback it is giving timeout error. I am supposing the err

[DotNetDevelopment] Re: mutiple row editing in gridview control

2008-09-11 Thread Rocky
Well CK, I admit that I thought the IT pros were being jerks and I have seen a few post I would consider idiocy but sometimes the pros were acting juvenile and the acts were unprovoked. Maybe I'll sit back and observe before I start blasting everyone. This is sincerity people, so get used to

[DotNetDevelopment] do i need all these .net versions

2008-09-11 Thread Dickery1
my add/remove programs shows multiple versions of .net. see screenshot. http://screencast.com/t/0NYpmOrrRh which version do i need to keep. i hate duplictes as they consume so much disk space. any answers is appreciatred. --~--~-~--~~~---~--~~ You received this m

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-11 Thread Cerebrus
In case someone didn't see it, I have responded to him in full here : http://groups.google.com/group/DotNetDevelopment/browse_thread/thread/755e571f6028e1f0 TinyURL: http://tinyurl.com/5s6vde I understand Jamie's point of view in this, but I feel that Rocky deserves atleast one chance because h

[DotNetDevelopment] Re: C# Web Service Client Without a Proxy Class

2008-09-11 Thread Cerebrus
Hmmm... I agree. As long as the method signature doesn't change, the code should have no problems. After all, that is the basic premise of encapsulation - constant public interfaces irrespective of internal implementation. I have used the WebRequest-WebResponse method very successfully in all sce