473,387 Members | 1,882 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,387 software developers and data experts.

dropdown bind xml or table or array

Hi There,

I use asp.net 2.0, i've a dropdownlist box, which will be loaded from table,
it may contain 10 to 50 records. User might keep calling this page several
times. more than 1000 users at any time would access.

Do i need to bind from xml file or just call the table. which one is the
better

Thanks
Jul 14 '07 #1
1 1308
On Jul 14, 3:56 pm, "Ganesh" <gsgan...@yahoo.comwrote:
Hi There,

I use asp.net 2.0, i've a dropdownlist box, which will be loaded from table,
it may contain 10 to 50 records. User might keep calling this page several
times. more than 1000 users at any time would access.

Do i need to bind from xml file or just call the table. which one is the
better

Thanks
Hi...

Well since you have only 10 to 50 record... you can bind it from
xml... it good... in this way you dont have to query to database again
and again... well one more thing will improve the performance a little
bit better... load the xml in a datatable... and then save the
datatable in application variable... in this way you are saving the
loading time also....

Thanks
Md. Masudur Rahman (Munna)
kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com

Jul 14 '07 #2

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

Similar topics

0
by: EQ | last post by:
Could any one help on how to bind a multidimensional array to datagrid array [3,4 This should be 3 rows and 4 columns ,Dont know if its correct Thanks
1
by: George | last post by:
I am trying to set the value of items in a dropdown list dynamically, and can't seem to figure out how to do it. I have two arrays set up like this: Dim a() as string ={"A", "B", "C"} Dim b()...
6
by: Zenobia | last post by:
Hello folks, How do I bind an array to a repeater? or bind an array to a hyperlink (which is repeated inside a repeater) ? I get this message: Compiler Error Message: BC30456: 'DataItem'...
3
by: AFN | last post by:
In VB.NET, I can successfully bind a generic datagrid to a 1 dimensional array. But, now I want to add a button column, and so I think I need to make the first column (the one having data in the...
1
by: Manny Chohan | last post by:
Can someone help me with the code to bind 2 dimensional array to datgrid? I just dont know how this can be done. Theres no code on the internet. Manny
7
by: Jed | last post by:
I have a web service method that returns an array of custom objects marked serializeable with fully described public properties. When I bind the results to a DataGrid I can access the properties...
1
by: irnbru irnbru | last post by:
Hi all! I got an array of datarows after a select on a datatable, I want to show the results in datagrid, but it doesnt work, do i have to create a dataview? Please help me out thank you IRNBRU ...
2
by: ianstirkcv | last post by:
Hi, Does anyone have an ASP 2.0 code sample that shows how to bind a one-dimensional array to a GridView, such that the rows are shown as hyperlinks? Thanks Ian
1
by: Stubbie | last post by:
Hello, I have experimental data stored in a List<> of double arrays, List<double> Values; Each element of the List<> represents a different series of values and the double is the set of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.