- When we create any web page in ASP.Net. A web page is divided into two parts
- Contains designing and we have extension of .aspx
- [.asPx means Active Server Page that can be activated or runs on x machine or in x operating system]
- Second part will contain programming code and will have default extension of .aspx.cs
- .aspx page is again divided in two parts
Design part will contain physical appearance of the WebPage=)Design part=)Source part
Source part will contain the code for respective designs
ASP.NET will supports two types of coding techniques
- InlineCodingTechnique
- Code behind or OutlineCodingTechnique
1)Inline Coding Technique:
In
this method both designing part & programming part, code can written in a
single file i.e. in aspx file
Disadvantages of Inline coding technique
- Programmer need to wait until designer completes the designing so, programmer time is wasted
- Debugging to the programmer is difficult
- Security is not maintained to the programming code from the designer
- To overcome this draw back we use outline or Code Behind Coding Technique
2)Code behind Coding Technique
- In this method both designing part code & programming part code are written in two different files
- Designing part is written in .aspx file and programming part code is written .aspx.cs file
Advantages of Code Behind Coding Technique
- Programmer need not wait until the designer compete designing
- Debugging becomes easy to the programmer
- Security is maintained to the programming code from the designer
If you want to insert a record if it does not already exists in database, you should try to select record using the key. Some developers try to insert a record without checking if it already exists. If an exception occurs, they will assume that the record already exists.
ReplyDeletedotnet training in chennai
Hey Very nice Blog,Thanks For Sharing..
ReplyDeleteBest python training in lucknow
best summer training in lucknow
Asp.net training Center in Lucknow
It is very good blog and useful for students and developer , Thanks for sharing
ReplyDelete.Net Online Training Hyderabad
Great blog! Really awesome I got more information from this blog. Thanks for sharing with us.
ReplyDeleteRegards,
Dot Net Training in Chennai
It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command
ReplyDeleterpa training in bangalore
best rpa training in bangalore
RPA training in bangalore
rpa courses in bangalore
This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
ReplyDeletepython training in chennai
python course in chennai
python training in bangalore
I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
ReplyDeleteAWS Training in pune
AWS Online Training
AWS Training in Bangalore
I found this article is very attract an informative content.
ReplyDeletePython Training in Chennai
Python Training in Bangalore
Python Training in Hyderabad
Python Training in Coimbatore
Python Training
python online training
python flask training
python flask online training
I want to read the article. Is very awesome content.
ReplyDeletePython Training in Chennai
Python Training in Bangalore
Python Training in Hyderabad
Python Training in Coimbatore
Python Training
python online training
python flask training
python flask online training