How to Build a Personal Web-site with ASP.Net (VS 2008, .Net 2.0/3,5) #19

  1. Video Tutorial on this topic
  2. Web-site Code used in this tutorial
  3. Steps
    • Open visual studio 2008 IDE
    • File -> new project -> Visual Basic -> Web -> ASP .Net Web Application
    • Rename default.aspx to template.aspx
    • Insert a table from the tool box
    • Create three rows for the table: top, body, bottom
    • Top Row: banner, slogan
    • Body Row: three cell: left, right, middle: left for left menu, right for right menu/advertising code, middle for contents
    • bottom: privacy, copyright, links to contact us
    • Keep left menu, right menu, top banner, bottom/footer contents in separate files such as leftMenu.aspx, rightMenu.aspx, topBanner.aspx
    • In the template.aspx use Response.WriteFile(“file.aspx”) to link to the left and right menu, the top banner, the bottom/footer. Change file.aspx to the right file name.
    • Create the leftMenu.aspx, rightMenu.aspx, topBanner.aspx, bottom.aspx
    • template.aspx is just the template file. We have two options in the left menu like Home and Companies, that point to index.aspx, and companies.aspx respectively. You have to create those files
    • Now copy the template file, paste it, rename it to index.aspx. index.aspx will be the root file of your web-site. Change the body part of the index.aspx to add contents
    • Copy the template.aspx file, paste it, rename it to companies.aspx. Change the body part of companies.aspx to add contents
    • You can modify leftMenu.aspx to add more options in the left menu. For each option that links to a .aspx file you have to create the .aspx file using the template.aspx [unless already existing]
    • Similarly, you can change your right menu contents by updating rightMenu.aspx
  4. Deployment:
    • Can copy the aspx files in the right place under IIS
    • or let VS 2008 to deploy – right click the project in the solution explorer, click on publish, select the path where you want to publish the website, publish it to a folder where IIS has access
    • You may need to configure IIS a bit, create/identify this application as a .Net application. Otherwise it may not work. Else, you can adjust/edit the files to make them work [remove some lines].
    • Test the application

From: http://sitestree.com/?p=5086
Categories:19
Tags:
Post Data:2010-03-18 10:48:21

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>

What is silverlight? #19

Quick Facts

  • It’s by Microsoft for Rich Internet Application Development
  • Supports high quality graphics/animations
  • Runs in Windows, Mac, Linux
  • From PHP you can also make use of Silverlight
  • Offers copy protection
  • Related technologies: Adobe Flash, Java FX
  • Debugging possible from Visual Studio 2008 IDE
  • Supports IE, Firefox, Opera, Safari
  • The claim is: it’s significantly fast
  • Supports progressive download and play
  • What is Silverlight
  • Silverlight Tutorial: Creating an Animated Navigation Bar with Silverlight

From: http://sitestree.com/?p=5018
Categories:19
Tags:
Post Data:2009-03-30 07:34:51

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>

ASP.Net Examples #19

ASP.NET HTML Controls

HTMLAnchor
HTMLButton
HTMLImage
HTMLImage 2
HTMLInputbutton
HTMLInputCheckbox
HTMLInputHidden
HTMLInputImage
HTMLInputRadiobutton
HTMLTable
HTMLTable 2
HTMLTextarea

ASP.NET Web Controls

AdRotator
Button
Button 2
Calendar
Calendar 2
Calendar 3
Checkbox
CheckboxList
DataList
DataList with styles
DataList with
DropdownList
Hyperlink
Image
ImageButton
Label
LinkButton
Listbox
Literal
Literal 2
Panel
Radiobutton
RadiobuttonList
Repeater
Repeater with
Repeater with
Table
Table 2
Textbox
Textbox 2
Textbox 3
XML

ASP.NET Validation Controls

CompareValidator
CompareValidator 2
CustomValidator
RangeValidator
RangeValidator 2
RegularExpressionValidator
RequiredFieldValidator
Validationsummary
Validationsummary 2

ASP.NET Events

Page_Load
Page.IsPostBack

ASP.NET Data Binding

ArrayList RadioButtonList
ArrayList DropDownList
Hashtable RadioButtonList 1
Hashtable RadiobuttonList 2
Hashtable DropDownList
SortedList RadioButtonList 1
SortedList RadiobuttonList 2
SortedList DropDownList
XML RadiobuttonList

ASP.NET Database

Database connection – Bind to a Repeater control
Database connection – Bind to a DataList control

From: http://sitestree.com/?p=4870
Categories:19
Tags:
Post Data:2010-07-19 15:00:53

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>

ASP.Net Controls #19

HTML Server Controls
HtmlAnchor
HtmlButton
HtmlForm
HtmlGeneric
HtmlImage
HtmlInputButton
HtmlInputCheckBox
HtmlInputFile
HtmlInputHidden
HtmlInputImage
HtmlInputRadioButton
HtmlInputText
HtmlSelect
HtmlTable
HtmlTableCell
HtmlTableRow
HtmlTextArea

Web Server Controls
AdRotator
Button
Calendar
CalendarDay
CheckBox
CheckBoxList
DataGrid
DataList
DropDownList
HyperLink
Image
ImageButton
Label
LinkButton
ListBox
ListItem
Literal
Panel
PlaceHolder
RadioButton
RadioButtonList
BulletedList
Repeater
Style
Table
TableCell
TableRow
TextBox
Xml

Validation Server Controls
CompareValidator
CustomValidator
RangeValidator
RegularExpressionValidator
RequiredFieldValidator
ValidationSummary

From: http://sitestree.com/?p=4869
Categories:19
Tags:
Post Data:2013-01-02 02:38:21

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>

20 Tips to Improve ASP.net Application Performance #19

Please check: http://www.realsoftwaredevelopment.com/2007/08/20-tips-to-impr.html

From: http://sitestree.com/?p=4752
Categories:19
Tags:
Post Data:2006-09-15 02:39:15

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>

#Sensor: #Canada: #Job/Contract/Project: #Sensor, #Tracking, #Fusion, #Estimation, #Surveillance, #sensor network, #target #tracking, #security 2021-08-21

Date Posted:2021-08-21 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

  1. communications-detection-and-fibre-optics-10031
  2. VERMILION – Provincial Building – Security Card Access System
  3. edp-hardware-and-software-10034
  4. Request for Expressions of Interest and Qualifications for Endpoint Security Solutions
  5. Ivanti Security Controls Maintenance Renewal
  6. Ivanti Security Controls Maintenance Renewal
  7. fire-fighting-security-and-safety-equipment-10010
  8. ITQ2021-08-27 for Purchase of Security Safes and Parts
  9. miscellaneous-goods-10019
  10. Design, Fabrication and Installation of Interactive Donor Recognition Wall
  11. custodial-operations-and-related-services-10037
  12. Security Services – Cambridge Bay, NU (3Y004-210026/B)
  13. information-processing-and-related-telecommunications-services-10049
  14. TBIPS – IT Security TRA and C&A Analyst (20210445) (20210445-01)
  15. Digitization of Old Age Security (OAS) files (100018791)
  16. maintenance-repair-modification-rebuilding-and-installation-of-goods-equipment-10054
  17. Renewal of Cisco Subscription, Maintenance and Support for Various Security Related Appliances
  18. WRIC Site Security 2
  19. operation-of-government-owned-facilities-10039
  20. Security Guard Services for Off-Street Operations
  21. professional-administrative-and-management-support-services-10040
  22. Project: tender_15159 – Payment Card Industry Qualified Security Assessor
  23. special-studies-and-analysis-not-r-d-10047
  24. Electronic Supply Chain Tracking and Socio-Economic Impact Reporting Service
  25. Keywords Used:sensor,fusion,sensor network,tracking,target tracking,surveillance,self driving car,self-driving,estimation,security,signal processing,image processing,autonomouse vehicle,facial recognition,signal,recognition,sensor fusion

    #Sensor: #Canada: #Job/Contract/Project: #Sensor, #Tracking, #Fusion, #Estimation, #Surveillance, #sensor network, #target #tracking, #security 2021-08-20

    Date Posted:2021-08-20 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

    1. communications-detection-and-fibre-optics-10031
    2. VERMILION – Provincial Building – Security Card Access System
    3. edp-hardware-and-software-10034
    4. Request for Expressions of Interest and Qualifications for Endpoint Security Solutions
    5. Ivanti Security Controls Maintenance Renewal
    6. Ivanti Security Controls Maintenance Renewal
    7. fire-fighting-security-and-safety-equipment-10010
    8. ITQ2021-08-27 for Purchase of Security Safes and Parts
    9. miscellaneous-goods-10019
    10. Design, Fabrication and Installation of Interactive Donor Recognition Wall
    11. custodial-operations-and-related-services-10037
    12. Security Services – Cambridge Bay, NU (3Y004-210026/B)
    13. information-processing-and-related-telecommunications-services-10049
    14. TBIPS – IT Security TRA and C&A Analyst (20210445) (20210445-01)
    15. Digitization of Old Age Security (OAS) files (100018791)
    16. maintenance-repair-modification-rebuilding-and-installation-of-goods-equipment-10054
    17. Renewal of Cisco Subscription, Maintenance and Support for Various Security Related Appliances
    18. WRIC Site Security 2
    19. operation-of-government-owned-facilities-10039
    20. Security Guard Services for Off-Street Operations
    21. professional-administrative-and-management-support-services-10040
    22. Project: tender_15159 – Payment Card Industry Qualified Security Assessor
    23. special-studies-and-analysis-not-r-d-10047
    24. Electronic Supply Chain Tracking and Socio-Economic Impact Reporting Service
    25. Keywords Used:sensor,fusion,sensor network,tracking,target tracking,surveillance,self driving car,self-driving,estimation,security,signal processing,image processing,autonomouse vehicle,facial recognition,signal,recognition,sensor fusion

      Passing Parameters from Front end to Access Queries. VB.Net/ASP platform #2

      Just append the parameter values with the query name from the front end.

      For example, say a query in access has the pattern:catId = [categoryId].

      It indicates that categoryId has to be supplied to this query.

      From the front end, you can use:strQuery = ” qry_name ‘ ” & numCategoryID & “‘”

      //VB.Net/ASP platform

      ASP Code:

      Dim numCategoryIDnumCategoryID = Request.Form("CategoryID")
      Set objConn = Server.CreateObject("ADODB.Connection")
      objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("/cats.mdb")
      Set objRS = Server.CreateObject("ADODB.Recordset")
      strQuery = "qry_name ' " & numCategoryID & "'"
      objRS.Open strQuery, objConn, 0, 4

      From: http://sitestree.com/?p=5216
      Categories:2
      Tags:
      Post Data:2007-01-11 23:23:02

          Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
          (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
          In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
          <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
          8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
          Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
          Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>
      

      Tools to create ER diagrams from a database dynamically #2

      Microsoft Visio, and dbVisualizer provide features to create ER diagrams from existing database tables.Why needed?ER diagram is very useful to understand the total database structure that helps a new programmer to work on the existing databases more efficiently.Visio:While creating Database diagrams, a menu item named database is displayed. Reverse Engineering option under Database menu helps to create ER diagram from existing database tables. Before that, target database drivers for visio need to be installed. If the database is in db2/mysql/postgresql, then  db2/mysql/postgresql drivers for visio should be installed. From Database/options/drivers, the driver needs to be configured. Afterwards, Reverse Engineering option may be used to create the ER diagram. There is no suitable driver for postgresql databases for Visio. ODBC drivers may be used for the purpose (the ER diagram may not be accurate from ODBC driver for postgresql). dbVisualizer:In dbVisualizer, when the TABLEs group/option is selected in the left pane in the right/middle pane there will be a references option. When the references tab is selected, an ER diagram is displayed using all tables. The ER diagram can be displayed as Hierarchical, circular, orthogonal, or organic. There are options for the purpose.When a single table name is selected, the table and the associated tables are displayed in an ER diagram.In the rightest column, selected tables option allows to create ER diagrams only for the selected tables. When 'selected tables' is clicked a list is displayed in a dialog box. Tables can be selected from this list (use control key). Build graph  option creates and displays the ER diagram.

      From: http://sitestree.com/?p=4785
      Categories:2
      Tags:
      Post Data:2012-08-27 09:57:03

          Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
          (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
          In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
          <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
          8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
          Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
          Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>
      

      Firebird Stored procedure delphi #2

      In firebird, the syntax to create TRIGGERs and Stored Procedures is as below:

      SET TERM !! ;
      CREATE TRIGGER auto_update_1 FOR DBPATHS
      after INSERT POSITION 0
      AS
      BEGIN
      insert into commission values (100,100);
      END !!
      SET TERM ; !!

      SET TERM !! ;
      CREATE PROCEDURE CountTo10
      RETURNS (Cnt INTEGER)
      AS
      BEGIN
      Cnt = 1;
      WHILE (Cnt < = 10) DO
      Cnt = Cnt + 1;
      END !!

      SET TERM ; !!

      —-
      An example how to use stored procedure from delphi is as follows:
      procedure TForm1.Button1Click(Sender: TObject);
      var

      result : integer;
      begin
      if ibdatabase1.Connected = false then
      begin

      ibdatabase1.Connected := true;

      end;

      with IBStoredProc1 do
      execproc;

      IBStoredProc1.Transaction.Commit;

      result := IBStoredProc1.Params.ParamValues[‘Cnt’];

      showmessage(inttostr(result));

      end;

      From: http://sitestree.com/?p=4727
      Categories:2
      Tags:
      Post Data:2008-07-08 16:53:04

          Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
          (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
          In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
          <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
          8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
          Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
          Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>