Code Request

  • Thread starter Thread starter Kishor
  • Start date Start date
K

Kishor

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
 
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
 
Hello,

Kishor said:
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"?
 
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
 
Back
Top