C# : Tutorial of Asp.net with c# and example

Example and code about windows application, web application, SQL, C#, WPF etc which is helpful to developer and programer.

Search This Blog

UserControl Tutorial : Create ,Register and use of usercontrol in asp.net with example and code

♠ Posted by Unknown in ,
Tutorial Of Asp.Net UserControl Definition of UserControl in Asp.Net : In Asp.Net Web server controls , you can create your own custom, reusable controls using following step. These controls are called user controls. A user control is a kind of composite control that works much like an ASP.NET other server control . you can add existing Web server controls and markup to a user control, and define properties and methods for the control. You can then embed them in ASP.NET Web pages like same as other server control. For create asp.net usercontrol using c# following...

How to create database using

♠ Posted by uvesh in
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-53478136-1', 'auto'); ga('send', 'pageview'); Create Database by programmatically  protected void CreatDbBtn_Click(object sender, EventArgs e)    {        String str;        SqlConnection myConn = new SqlConnection(@"Server=HOME\SQLEXPRESS;Integrated security=SSPI;database=master");        str = "CREATE DATABASE MyDatabase ON PRIMARY " +            "(NAME = MyDatabase_Data, " +            "FILENAME = 'D:\\UveshMyDatabaseData.mdf',...

Web Service Definition and when it is use and not to use

What is web service and its use. Web services  The Definition Web Service A web service is any part of software that makes available over the network and uses a XML (Full form of XML is Extensible Markup Language (XML) is a markup language in a format which is both human-readable and machine-readable.) format messaging system. XML is used to encode all communications to a web service. Any application which has permission to access service can use service from anywhere. It is platform independent.  (sometimes called application services) are services (usually including some combination of programming and data, but possibly including human resources as well) that are made available from a business's Web server for Web users or other Web-connected programs. Providers of Web services are generally known as application service providers. It is based information send-Receive systems that use the by Internet for application (software)-to-application...