473,394 Members | 2,020 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,394 software developers and data experts.

.NET questiones

1. What is the difference between connected and disconnected way of connection and which one is more advavtagious?

2.If we open a connection, is it necessary to close the connection?Why?

3.What is the function of ASAX?

4.In .NET what is the function of XML?

5.What is the Function of CSS?

6.What is the function of ExecuteNonQuery?

Platform-.NET 2003
Jan 18 '08 #1
1 1045
dip_developer
648 Expert 512MB
1. What is the difference between connected and disconnected way of connection and which one is more advavtagious?
Ans : If u maintain a continuous connection with your database server the unnecessary traffic overload will be there.........your database server can be connected with hundreds or thousands of clients and
if all are connected then the traffic will be huge...better connect your database whenever you need to
insert or fetch data...isn't it???

2.If we open a connection, is it necessary to close the connection?Why?
Ans : It is not necessary...but it is recommended.......bacause maintaining a connection means continuous flow of data between two machines.....

3.What is the function of ASAX?
Ans : It is not ASAX....it is AJAX(Assyncronous Javascript And XML)
.....whenever you submit a webpage the whole page with all its information is submitted to the server........if you dont redirect the webpage to some other page then the same page
loads again with all its controls and informations.........
suppose you have a webpage with loads of controls......you have a DropDownList which you want to populate with the Name of States of a selected Country .......whenever you submit the page to
Select the corresponding State names the whole page will be submitted and loads again with the populated DropDownList ........its totally useless.....
AJAX is a technology which will let you submit only the relevant portion of your web page..........not the full page........your program gets faster through AJAX......

4.In .NET what is the function of XML?
Ans : XML (Extensible Markup Language )has nothing special relevance in .NET......on a whole XML 's primary purpose is to facilitate the sharing of structured data across different information
systems, particularly via the Internet.

see this.....

www.w3schools.com/xml/default.asp

5.What is the Function of CSS?
Ans : CSS (Cascading Style Sheets) is extremely useful for designing controls in .NET........suppose you have 100 textboxes in you project......you want a specific style(Font/Forecolour/BackColour etc) for these textboxes........you dont have to specify the styles in the code or through the Properties window.......you just Create a CSS file and make your own style class with your needed attributes.......all you have to do is give the classname of your textboxes to that CSS class name.....

by doing so you will experience a lot of advantage whenever you need to change the style of your 100 textboxes............... just change the CSS........the change effect will be shown for all the controls immediately.........

but keep in mind that CSS is not fully compatible to all browsers.......it is Browser dependant

6.What is the function of ExecuteNonQuery?
Ans : ExecuteNonQuery executes a Transact-SQL statement against the provided connection and returns the number of rows affected.
Jan 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: chunhui_true | last post by:
I ask some ASCII UTF8 questiones in this group. someone say this group doesn't about that topic.But in this group I get more reply then other groups!Or person in this group are more friendly?:) I...
3
by: Tina2006 | last post by:
Hi. First of all: I started working with databases two weeks ago, so some questiones may seem senseless... I want to create a form for the data collection of different studies. Each study has...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.