473,326 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Code Request

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
Nov 20 '05 #1
3 1254
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
Nov 20 '05 #2
Hello,

"Kishor" <ki*********@hurix.com> 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
Nov 20 '05 #3
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]" <hi*******@m.activevb.de> wrote in message
news:uQ**************@tk2msftngp13.phx.gbl...
Hello,

"Kishor" <ki*********@hurix.com> 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

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Williams | last post by:
The following code allowed me to achieve my aim. I adapted it from John Savidge. Thank you. <% If Request.QueryString("isSubmitted") = 1 Then Dim ContactName, Email, Company, Address1,...
7
by: Christopher Brandsdal | last post by:
Hi! I have a problem running my code on 2000 server and iis5.0. The code runs perfectly on my localhost (xp iis5.1) but when i run it on 2000 server iis5.0 I get this error: ...
0
by: collie | last post by:
Hi, I have an asp page that needs to create 2 different cookies: one for the admin and one for the user. The code that I have to work with was created by someone else. the page first requires to...
4
by: techy techno | last post by:
Hii I am trying to write down a cdont aplication which will email the survey form to the TO address with the answers checked by the user using the survey form I am 100% sure that there is...
2
by: dmiller23462 | last post by:
Hey guys, I'm back again....I've got the results displaying that I wanted but instead of having a "next" or "previous" link displayed I am getting the error msg below (I actually get the data that...
4
by: cmcvicker | last post by:
I have the following code in an ASP webpage where a member has logged in and wants to change his company information. This page lists the fields and records currently in our database (Access) and...
1
by: Neo Geshel | last post by:
I am having conflicting results with two pieces of identical code. One is an insert, the other is an update to a db. The first code, which works, is this: Sub Add3_Click(sender As Object, e As...
1
by: Nazim | last post by:
I have been facing an issue for past week. Kindly look at the code if some one can sort it out. Issue is with the code. I have this ASP code. it connects to a server where java is running. It...
3
by: nnaveenraju | last post by:
Hi Gurus, I am new to Ajax and JAVA. I am able to call the servlet class from the JSP page using AJAX. The servlet class is called successfully. I am processing some data and the data has...
1
by: valmae | last post by:
Please help anyone! I am getting this error after the submit button is clicked to this form which was designed in Dreamweaver in ASP. Microsoft VBScript compilation error '800a0401' Expected...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.