PC Review


Reply
Thread Tools Rate Thread

Code Request

 
 
Kishor
Guest
Posts: n/a
 
      9th Sep 2003
Hi All,
I am planning to develop two generic libraries which will have a code for
population of standard .net conrols like combobox, datagrid etc in both web
application and desktop application.. I am requesting you to please send
optimised code if you have. this library can be shared in all the projects
which are disconnected from servers.

TIA,
Kishor


 
Reply With Quote
 
 
 
 
Fergus Cooney
Guest
Posts: n/a
 
      9th Sep 2003
Hi Kishor,

|| I am planning to develop two generic libraries which will have
|| a code for population of standard .net conrols like combobox,
|| datagrid etc in both web application and desktop application..

To populate <??> with standard controls with <??> properties.

|| I am requesting you to please send optimised code if you have.

I'm afraid your query is too vague to answer, Kishor. :-(

If you have more details, we can more readily guide you any applicable
sources of code

Regards,
Fergus


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      9th Sep 2003
Hello,

"Kishor" <(E-Mail Removed)> schrieb:
> I am planning to develop two generic libraries which will have
> a code for population of standard .net conrols like combobox,
> datagrid etc in both web application and desktop application..


What's the problem with polulating these controls without a "library"?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


 
Reply With Quote
 
Kishor
Guest
Posts: n/a
 
      10th Sep 2003
Hi,

There are so many advantages if we have a library.

1 it can be used in almost all projects, We can avoid same type of code
appearing every where in the project so code will be less and manageable.
Changes made to one library will affect in every project where it is used,
which help us in tuning performance of the project by just updating logic
of population in some cases because logic is always separated by the actual
project. We can have separate error trapping mechanism for population of
control if grid Is there then we will retry cont.. button.



Almost everywhere in project we require to add a new values to the combo,
which is already populated. Or we need to add one blank value at the top of
the combo-list like [None]. In grid we require separate method for
generating a serial numbers for rows I think there is no way to do this
automatically. After sort this also has to be executed once again other wise
sr. no will be no use. To do this we have a function/ proc like this which
will accept parameter like this



Pm_popgrid(ControlName, dataset,isBlak,isPrevAdd,isWithSr,..



This will really help programmer.



2 if we are using this code then there will be one similar pattern in coding
style, which will add quality to the code.

3 This will add security to code. Bottom level / unauthorized programmer
will never be able change the code.



so to compile this we Need One list of controls along with their standard
code for popultion. Here you can send me genric code for population of tree.
Which will accept three parameter like display,Id, ParentId..





Regards

Kishor


"Herfried K. Wagner [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> "Kishor" <(E-Mail Removed)> schrieb:
> > I am planning to develop two generic libraries which will have
> > a code for population of standard .net conrols like combobox,
> > datagrid etc in both web application and desktop application..

>
> What's the problem with polulating these controls without a "library"?
>
> --
> Herfried K. Wagner
> MVP · VB Classic, VB.NET
> http://www.mvps.org/dotnet
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request for a code FARAZ QURESHI Microsoft Excel Misc 0 27th Jan 2008 02:59 PM
If you drag a meeting request or task request from your Inbox toCalendar or Tasks, the request is automatically accepted and an acceptancereply is sent to the senders. 34345445 Microsoft Access 0 3rd Mar 2006 01:09 AM
MP3 Example Code request Old Man Microsoft C# .NET 0 26th Aug 2004 07:40 PM
Set Request.ContentEncoding from code? Ricky K. Rasmussen Microsoft C# .NET 1 12th May 2004 03:34 AM
Set Request.ContentEncoding from code? Ricky K. Rasmussen Microsoft Dot NET Framework 0 11th May 2004 11:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 AM.