- Get link
- X
- Other Apps
Posts
Export Grid View of .Net to Excel
- Get link
- X
- Other Apps
Dear All, Here is a new article for exporting your Grid View to Excel. Feel Free to ask your queries. Following are the steps for this: 1. Create a Grid View on Web Page. 2. Bind grid view with data. For binding of gridview you can refer to the previous article "Dynamic Gridview Bind" Url: http://dinesh-itsolutions.blogspot.in/2010/09/dynamic-gridview-bind.html. 3. After binding the grid view put a button on the web page named "Export to Excel". On Clicking of that button you can copy and paste the following code. protected void btnExport( object sender, EventArgs e) { Response.Clear(); Response.Buffer = true ; Response.AddHeader( "content-disposition" , "attachment;filename=ExportedFile.xls" ); Response.Charset = "" ; Response.ContentType = "application/vnd.ms-excel" ; using ( StringWriter sw = new StringWriter ()) {
Delete data from Gridview using Command Field
- Get link
- X
- Other Apps
In this article, I am going to explain how to delete a record from Gridview.This is very easy process and steps for this is as follows: 1. Add New Webpage in your Webapplication. 2. Drag Gridview from toolbox and bind it to database. Note :If you need any help in binding the gridview to the database you can view my article which is: http://dinesh-itsolutions.blogspot.com/2010/09/dynamic-gridview-bind.html 3. Now we proceed further after successfully binding of data.The Steps for Deleting records from gridview are: a: Select Edit columns from properties of Gridview. b:You will see dialog box appears for Field: c:You have to select the Command Fields option from the available field.In Command Fields you will find 3 events which are: Edit,Update and Cancel. Select Delete From the above Points select Delete Button. d: Now fire the event RowDeleteing from Gridview Properties Coding to delete the data from gridview on Event Row Deleting
Introduction to .NET and .NET Architecture
- Get link
- X
- Other Apps
What is .NET? Microsoft .NET (pronounced “dot net”) is a software component that runs on the Windows operating system. .NET provides tools and libraries that enable developers to create Windows software much faster and easier. .NET benefits end-users by providing applications of higher capability, quality and security. The .NET Framework must be installed on a user’s PC to run .NET applications. This is how Microsoft describes it: “.NET is the Microsoft Web services strategy to connect information, people, systems, and devices through software. Integrated across the Microsoft platform, .NET technology provides the ability to quickly build, deploy, manage, and use connected, security-enhanced solutions with Web services. What is the .NET architecture? Microsoft .NET consists of four major components: Common Language Specification (CLS) – blue in the diagram below Framework Class Library (FCL) – red Common Language Runtime (CLR) – green .NET
Difference Between ASP.NET & ASP
- Get link
- X
- Other Apps
What Are Active Server Pages (Classic ASP)? Active Server Pages or Classic ASP, as it is more commonly known, is a technology that enables you to make dynamic and interactive web pages. Classic ASP uses server-side scripting to dynamically produce web pages that are not affected by the type of browser the website visitor is using. The default scripting language used for writing ASP is VBScript, although you can use other scripting languages like JScript (Microsoft's version of JavaScript). Classic ASP pages have the extension .asp instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser. Any web pages containing ASP cannot be run by just simply opening the page in a web browser. The page must be requested through a web server that suppo
Embed Tiny Editor in Your Web Application:
- Get link
- X
- Other Apps
1 . First of all open your Web page in your application in which you want to embed the Editor. 2 . This editor is know as Tiny Editor which has nice features by which the user can enter his/her text in stylish way by embedding smileyes, embed photos. 3 . We can set font family, Font Size, Cut, Copy, Paste and many other functions are there by which the text can be represented in a better way. 4 . Now Steps to embed the Tiny Editor in you web page are: a : Drag and Drop Textbox and give id to id name RichTextBox. b : Set the Property of Textbox:-TextMode Property to Multiline. c : Drop one Label to page, we transfer the text from RichText Box to Label when we store the text to database. d : Put this Code in your Head Tag: < script type ="text/javascript" src ="tinymce/jscripts/tiny_mce/tiny_mce.js"></ script > < script type ="text/javascript"> tinyMCE.init( { mode : "textareas" , theme : &quo