News-Movie photo-Picture Galarey of Unbelievable News

Tuesday, October 14, 2008

sample code for asp.net 2

id="pnlOther"
Visible="false"
Runat="server">

id="lblOther"
Text="Other Language:"
AssociatedControlID="txtOther"
Runat="server" />
id="txtOther"
Runat="server" />


sample code for asp.net

id="pnlOther"
Visible="false"
Runat="server">

id="lblOther"
Text="Other Language:"
AssociatedControlID="txtOther"
Runat="server" />
id="txtOther"
Runat="server" />

Monday, October 13, 2008

Tutorial



ASP.Net 2.0 Basic
1. Life cycle of web page in detail.
2. State Management in asp.net (hidden field, Cookies, Viewstate, Querystring, session, application, cache, hidden frame ).
3. Events and Postback property of web page.
4. ASP.Net objects: Session, Application, Server, Response, Request .
5. Caching.
6. Membership Role and profile management.
a. http://quickstarts.asp.net/QuickStartv20/aspnet/doc/security/default.aspx
b. http://quickstarts.asp.net/QuickStartv20/aspnet/doc/profile/default.aspx

7. Authentication methods
8. web.config
9. Global.aspx
10. 3 tire architecture with asp.net.
11. ADO.Net
12. Applying Styles, Themes, and Skins
a) Applying Styles to Controls
b) The App_Themes Folder
c) Global and Application Themes
d) Assigning a Theme to a Page
e) Assigning a Theme in Config
f) Disabling Themes for a Control
g) Default and Named Skins
h) Contents of a Theme and Skin
i) Using CSS in Themes
j) Using Images in Themes
k) Assigning the Theme in Code
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/themes/default.aspx
13. Creating a Layout Using Master Pages
a) Master and Content Pages
b) Accessing a Master Page from Code
c) Nesting Master Pages
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/masterpages/default.aspx


--------------------server control
ASP .NET 2.0



1. Standard Controls
a) Button
b) Calendar
c) CheckBox
d) CheckBoxList
e) DropDownList
f) FileUpload
g) HiddenField
h) HyperLink
i) Image
j) ImageButton
k) Label
l) LinkButton
m) ListBox
n) MultiView and View
o) Panel
p) PlaceHolder
q) RadioButton
r) RadioButtonList
s) TextBox
2. Data Controls
a) GridView
b) DataList
c) DetailsView
d) FormView
e) Repeater
f) SqlDataSource
g) SiteMapDataSource

3. Validation Control
a) RequiredFieldValidator
b) RangeValidator
c) RegularExpressionValidator
d) CompareValidator
e) CustomValidator
f) ValidationSummary

4. Login Controls
a) Login
b) LoginView
c) PasswordRecovery
d) LoginStatus
e) LoginName
f) ChangePassword

5. Navigation Control
a) SiteMapPath
b) Menu
c) TreeView
6. Data source Controls
d) Sql Datasource
e) Xml Datasource
f) Object Datasource
g) Sitemap Datasource

Some Practical R&D on CSS

propertyName description IE Firefox
background

background set the color

background-image
background-repeat
background-position------------------------------in %,center
background-position------------------------------in px y N
"Possible Values

* inherit
background-attachment
* scroll (default) - the background image will scroll with the rest of the content.
* fixed - the background image will remain stationary as the rest of the content is scolled.

background-one line declaration
text color
color
h1 {color: #00ff00}
h2 {color: #dda0dd}
p {color: rgb(0,0,255)}
latter-spacing
px or cm default value for that is px

background-color
use that with span. and when you need use it
line-height


text-align
center,right,left
text-decoration
overline,line-through,under-line,none
text-transform
uppercase,lowercase,capitalize
direction
used in div either rtl,ltr
white-space
nowrap


font

font-family
font-size
px or %
font-size-adjust
:0.60 work only that value
font-variant
Border

border{default perameter}
border-width border-style border-color ex medium double rgb(250,0,255)
border-style
set different style
border-:{commom pera}
border-top: medium solid #ff0000
border-width
effect on how pera used
border-color
border--color
margin
margin{default perameter}

margin-top
margin-right
margin-bottom
margin-left

Pading

pading{default perameter}

Hello Friends That's All My R&D on CSS and Java Script

+ without form tab you can easily run the all input control

+ Suppose at the time of ooption buttin you write the wrong parameter in name you write nmae by nistake
+ than in IE you can see that option button but you can't able to click on than but in case FireFox it is

possible to select that option button and other button too.

+ Why should i write all control's tag in the

+By the use of optgroup you can easily make one step tree view but you can not make multie step tree view in

combo box

--------------------------------------------------------------------------------------------------------------

------------------CSS------------------
+if same tag style sheet with different parameter in same css than it'll run only last tag style

+background-image after set image successfully and also it's background-repeat:no-repeat property and then take

image to center position by set the property background-position:center but it'll work ony IE not in Firefox 5.0s

+background-position:30% 20% it'll work in IE not in firefox
+background-position:30px 20px it'll work in both browser
+you can write css any where in the whole programme
+for external style sheet you can save file as a any extention but when you link up that time extention must as

same as save extention
suppose: you save one css file as name a.mms
linkup.html:
link rel="stylesheet"
type="text/css" href="first.mms"

+latter-spacing default value is px
+p.[clasName] you created after that you can't use that class other tag like span,h1 etc. if you want than

declare .
-----------------------------------------------------------------------------------------
+ how can i know that which browser support which font family
+ Font-size you can set either in px or %
+ if you want to declare font-property in one declaration than it is must to fill all default perameter correctly
+ if i am writing more than one title tag in single document than only first one is detected
+ you can not use border color without set the border-style property
-------------------------------------------------------------------------------------
Margin

+ when you writing css in .net and if you use margin than you can not see effect at design time it'll effect at

the run time only

-------------JAVA SCRIPT-------------

.)can see result of java script in .net after runing the page not in design mode
.)if you write the script in body tag and if you forget close that tag than all content of page has been effected

by that tag
ex document.write("h2 Sum:A+B" + a )
script

now all content become h2

.) you can write for loop without any element

Thursday, October 2, 2008

Trip to the moon: $100 million




NEW YORK (CNN/Money) - The firm that already arranged for two millionaire space tourists to visit the International Space Station is getting ready to sell trips to the moon for $100 million each.

Space Adventures, an Arlington, Va., based company, announced plans Wednesday morning for two passengers to ride a Russian Soyuz rocket to the moon and back as soon as 2008. A Russian cosmonaut would pilot the space craft.

The Soyuz would travel around the far side of the moon and then return to Earth without orbiting or landing, according to Eric Anderson, CEO of the firm.

Anderson said the firm has identified more than 1,000 people with both the financial resources and the interest to consider making the trip for that sum, although he couldn't say how many he expects will eventually pay the $100 million price tag.

"There are almost 1,000 billionaires and you don't need to be a billionaire to do it," he said. "All it takes is two to do this. There are people out there with $100 million yachts and $100 million homes."

He said the cost of the first flight would cover the research and development expenses of the mission, and that future lunar flights could cost less, although he wouldn't give an estimate as to how much less, nor how big a deposit the ultra rich space tourists would have to pay to reserve one of the first two seats.

"There will only be one first private mission to the moon," said Anderson.

The challenge of finding two passengers to pay $100 million each is probably greater than making a trip to the moon for that relative bargain cost, said Charles Lurio, independent private space flight consultant.

"Going around the moon for a couple hundred million dollars is reasonable," said Lurio, who is not associated with Space Adventures or the Russian space program. "It's not a question of the technology. It's about how smart you are about using the capabilities."

But Lurio said it's very difficult to know if there are even the two passengers Space Adventures is looking for ready to pay a nine-figure fare.

"I don't know the answer and I don't think anybody else knows," he said. "The question is answerable only by putting it out there. Whether people will pony up the $100 million a pop is dubious, but it's certainly possible and I wish them luck with finding them."
Space tourism growing

The firm arranged for American Dennis Tito to ride a Soyuz to the International Space Station in 2001, followed by South African Mark Shuttleworth, who visited the following year. American Greg Olsen is set to make the third privately financed trip in October. Each paid $20 million.

Olsen appeared at the press conference announcing the lunar mission plans and said he would be one of those interested in a seat on the first flight. Olsen is the head of Sensors Unlimited, a New Jersey firm that makes highly sensitive near-infrared cameras, which he founded in 1992 and sold for $700 million in 2000.

"Who wouldn't want to go to the moon?" he said. "I must say I'm intrigued by the possibility. I have total confidence in the Soyuz vehicle. But one flight at a time."

In addition Space Adventures is taking deposits for people looking to spend just over $100,000 for a suborbital flight that will take passengers into the weightlessness of space for about 15 minutes at a time.

Virgin Atlantic founder Richard Branson also has formed a company called Virgin Galactic, which is also planning suborbital flights as early as 2008 for $200,000, using a spacecraft being designed by Burt Rutan, who won the $10 million X-prize by creating the first privately financed space craft late last year.
A view of the little seen far side

The proposed lunar mission would take the spacecraft within 100 kilometers, or about 62 miles, above the far side of the moon -- the side that is always turned away from Earth. Because it faces away from the Earth it has a surface more scarred by meteors than the side facing Earth.

The mission would be planned for when there is a new moon on Earth, so that the far side would be bathed in sunlight. That would give the mission the chance to take high-resolution photographs of the far side that weren't possible the last time a spacecraft orbited that side the satellite.

A mission that fully orbited the moon without landing would cost significantly more than this planned lunar flyby, said Chrisopher Faranetta, vice president of the orbital space flight program for Space Adventures, because much more fuel would need to be carried.

The Russian space program has previously sold seats on already-scheduled Soyuz flights going to the International Space Station, which allowed it to collect incremental money needed for the space program there.

Anderson said the lunar mission requires 10 times the total fares now being collected on the seats to the space station because this flight would be paid for completely by the passengers, and it would require two separate launches of both the Soyuz and the booster rocket with which it will dock in Earth's orbit.

Anderson said that the Soyuz is a very cost effective spacecraft; it uses what he described as "state of the art but off-the-shelf technology." While the $200 million is needed to cover both the mission and the necessary research and development, Faranetta said it should still be a money-maker for the Russian space program.

The Soyuz was originally designed during the 1960s U.S.-Soviet space race to be a lunar spacecraft, but it doesn't have the capacity to reach the moon in its current configuration. It would have to attach to a booster in low Earth orbit, either soon after reaching orbit or after a stay at the International Space Station, according to Anderson.

Anderson also said the Soyuz has proved its self as a very cost effective and dependable spacecraft, with more time carrying passengers in space than any other spacecraft design.

There has not been a manned mission to the moon since Apollo 17 in December of 1972. A total of 24 men have traveled to the moon, three of them making the trip twice. Half of those 24 men walked on the surface. But Anderson, who was born after the last manned lunar mission, said it's import to return for reasons of scientific exploration as well as the adventure of the trip.

"We're going to show that private companies can carry out exploration 250,000 miles from Earth," he said. And while he said he hoped to eventually have paid visits to the surface of the moon, he wouldn't estimate the timing or the cost of such a mission.

"I think this is an ambitious enough first step," he said

Labels:

Trip to the moon: $100 million



NEW YORK (CNN/Money) - The firm that already arranged for two millionaire space tourists to visit the International Space Station is getting ready to sell trips to the moon for $100 million each.

Space Adventures, an Arlington, Va., based company, announced plans Wednesday morning for two passengers to ride a Russian Soyuz rocket to the moon and back as soon as 2008. A Russian cosmonaut would pilot the space craft.

The Soyuz would travel around the far side of the moon and then return to Earth without orbiting or landing, according to Eric Anderson, CEO of the firm.

Anderson said the firm has identified more than 1,000 people with both the financial resources and the interest to consider making the trip for that sum, although he couldn't say how many he expects will eventually pay the $100 million price tag.

"There are almost 1,000 billionaires and you don't need to be a billionaire to do it," he said. "All it takes is two to do this. There are people out there with $100 million yachts and $100 million homes."

He said the cost of the first flight would cover the research and development expenses of the mission, and that future lunar flights could cost less, although he wouldn't give an estimate as to how much less, nor how big a deposit the ultra rich space tourists would have to pay to reserve one of the first two seats.

"There will only be one first private mission to the moon," said Anderson.

The challenge of finding two passengers to pay $100 million each is probably greater than making a trip to the moon for that relative bargain cost, said Charles Lurio, independent private space flight consultant.

"Going around the moon for a couple hundred million dollars is reasonable," said Lurio, who is not associated with Space Adventures or the Russian space program. "It's not a question of the technology. It's about how smart you are about using the capabilities."

But Lurio said it's very difficult to know if there are even the two passengers Space Adventures is looking for ready to pay a nine-figure fare.

"I don't know the answer and I don't think anybody else knows," he said. "The question is answerable only by putting it out there. Whether people will pony up the $100 million a pop is dubious, but it's certainly possible and I wish them luck with finding them."
Space tourism growing

The firm arranged for American Dennis Tito to ride a Soyuz to the International Space Station in 2001, followed by South African Mark Shuttleworth, who visited the following year. American Greg Olsen is set to make the third privately financed trip in October. Each paid $20 million.

Olsen appeared at the press conference announcing the lunar mission plans and said he would be one of those interested in a seat on the first flight. Olsen is the head of Sensors Unlimited, a New Jersey firm that makes highly sensitive near-infrared cameras, which he founded in 1992 and sold for $700 million in 2000.

"Who wouldn't want to go to the moon?" he said. "I must say I'm intrigued by the possibility. I have total confidence in the Soyuz vehicle. But one flight at a time."

In addition Space Adventures is taking deposits for people looking to spend just over $100,000 for a suborbital flight that will take passengers into the weightlessness of space for about 15 minutes at a time.

Virgin Atlantic founder Richard Branson also has formed a company called Virgin Galactic, which is also planning suborbital flights as early as 2008 for $200,000, using a spacecraft being designed by Burt Rutan, who won the $10 million X-prize by creating the first privately financed space craft late last year.
A view of the little seen far side

The proposed lunar mission would take the spacecraft within 100 kilometers, or about 62 miles, above the far side of the moon -- the side that is always turned away from Earth. Because it faces away from the Earth it has a surface more scarred by meteors than the side facing Earth.

The mission would be planned for when there is a new moon on Earth, so that the far side would be bathed in sunlight. That would give the mission the chance to take high-resolution photographs of the far side that weren't possible the last time a spacecraft orbited that side the satellite.

A mission that fully orbited the moon without landing would cost significantly more than this planned lunar flyby, said Chrisopher Faranetta, vice president of the orbital space flight program for Space Adventures, because much more fuel would need to be carried.

The Russian space program has previously sold seats on already-scheduled Soyuz flights going to the International Space Station, which allowed it to collect incremental money needed for the space program there.

Anderson said the lunar mission requires 10 times the total fares now being collected on the seats to the space station because this flight would be paid for completely by the passengers, and it would require two separate launches of both the Soyuz and the booster rocket with which it will dock in Earth's orbit.

Anderson said that the Soyuz is a very cost effective spacecraft; it uses what he described as "state of the art but off-the-shelf technology." While the $200 million is needed to cover both the mission and the necessary research and development, Faranetta said it should still be a money-maker for the Russian space program.

The Soyuz was originally designed during the 1960s U.S.-Soviet space race to be a lunar spacecraft, but it doesn't have the capacity to reach the moon in its current configuration. It would have to attach to a booster in low Earth orbit, either soon after reaching orbit or after a stay at the International Space Station, according to Anderson.

Anderson also said the Soyuz has proved its self as a very cost effective and dependable spacecraft, with more time carrying passengers in space than any other spacecraft design.

There has not been a manned mission to the moon since Apollo 17 in December of 1972. A total of 24 men have traveled to the moon, three of them making the trip twice. Half of those 24 men walked on the surface. But Anderson, who was born after the last manned lunar mission, said it's import to return for reasons of scientific exploration as well as the adventure of the trip.

"We're going to show that private companies can carry out exploration 250,000 miles from Earth," he said. And while he said he hoped to eventually have paid visits to the surface of the moon, he wouldn't estimate the timing or the cost of such a mission.

"I think this is an ambitious enough first step," he said

Labels: