Showing posts with label VB.NET. Show all posts
Showing posts with label VB.NET. Show all posts

Thursday 5 September 2013

How to repeater using SqlDataAdapter, DataTable and Stored procedure in Sql server using ASP.NET,VB.NET/C#

Hi friends,in this article I will explain about How to bind repeater using SqlDataAdapter, DataTable and Stored procedure in Sql server using ASP.NET,VB.NET/C#.

How to bind gridview using SqlDataAdapter, DataTable and Stored procedure in Sql server using ASP.NET,VB.NET/C#.NET

Hi friends,in this article I will explain about How to bind gridview using SqlDataAdapter, DataTable and Stored procedure in Sql server.
Create a Database e.g. "Aspdotnet-roja" and a table under that DataBase in Sql Server and name it "EMP" as shown in figure:-

How to bind data to Gridview using SqlDataAdapter, SqlCommand, DataSet and Stored procedure in ASP.NET using VB.NET/C#.NET

Hi friends,in this article I will explain about How to bind data to Gridview using SqlDataAdapter, SqlCommand, DataSet and Stored procedure in ASP.NET.
Create a Database e.g. "Aspdotnet-roja" and a table under that DataBase in Sql Server and name it "EMP" as shown in figure:-

Sunday 25 August 2013

Fragment Caching in ASP.NET or How To Perform Fragment Caching in ASP.NET by Using VB.NET/C# or Fragment Caching Example, Page Fragment Caching in ASP.NET

                               Hi friends, in this article I will explain about Fragment Caching in ASP.NET or How To Perform Fragment Caching in ASP.NET by Using VB.NET/C# or Fragment Caching Example, Page Fragment Caching in ASP.NET.
What is Fragment Caching in ASP.NET?
  • Fragment Caching is used to the caching of individual user controls within a Web Form.
  • Each user control can have independent cache durations and implementations of how the caching behavior is to be applied.
  • Fragment caching is useful when you need to cache the some part of a page like user control.
  • Navigation bars, header, and footers are good examples for fragment caching.
  • Fragment caching allows to cache specific portions of the page rather than the whole page. It is done by implementing the page in different parts by creating everything in form of user controls and caching each user control individually.

Friday 23 August 2013

How to convert bitmap to .ico file using VB.NET/C# windows Forms or How to save Bitmap as icon in VB.NET/C#

Hi Friends, in this article I will explain about how to convert bitmap to .ico file using VB.NET/C# or How to save Bitmap as icon.
I already explained some articles on Widows Forms.
Lets I explain about how to convert bitmap image to icon.
Take one new project
File---New—Project---give name
Take one button, OpenFileDialog and SaveFileDialog
Create one function BitmapToIcon() as below.

Thursday 22 August 2013

How to Add ToolTips to Controls on a Windows Form or Tooltip to button in vb.net/C# or .NET - How can I display a tooltip over a button using Windows forms or how to set hand symbol to button

Hi friends, in this article I will explain about How to Add ToolTips to Controls on a Windows Form or Tooltip to button in vb.net/C# or .NET - How can I display a tooltip over a button using Windows forms or how to set hand symbol to button.
In previous articles I already explained about Windows Forms.
Lets I will explain how to add tooltips to button
First create one new project.
File--- New---Project---select windows Application --give name to form as aspdotnet-roja.vb

Wednesday 21 August 2013

How to open the existing AutoCAD drawing using VB.NET /C# windows forms Or VB.NET / C# - Open an Existing Dwg from Stand-Alone exe

                               Hi friends, in this article I will explain about how to open the existing AutoCAD drawing using VB.NET /C# windows forms or VB.NET / C# - Open an Existing Dwg from Stand-Alone exe
Lets I will explain about Open A Drawing in VB.NET /C# as shown below.

How to open new AutoCAD drawing using VB.NET or C#? Or How to Connect with AutoCAD and Open A Drawing in VB.NET /C#

                                          Hi Friends, in this article I will explain about How to open new drawing using VB.NET or C#? Or How to Connect with AutoCAD and Open A Drawing in VB.NET /C# .
Lets I will explain about Open A Drawing in VB.NET /C# as shown below.
Take one new project (File—New—Project—give a name to form).A form will be made.

Tuesday 20 August 2013

How to draw Text on Mouse Move in VB.NET or C# or Windows Forms | MouseMove Event in VB.NET or C#

Hi friends, in this article I will explain about how to draw Text on Mouse Move in VB.NET or C# or Windows Forms or MouseMove Event in VB.NET or C#.
In previous article i explained about How can I set a form to have a 100% transparent background. and explained some articles on Windows Forms
Take one new project (file---new---project---give name as Form2.vb)

Monday 19 August 2013

How can I set a form to have a 100% transparent background | How to animate the form. | Make a form's background 100% transparent

                                         Hi friends, in this article I will explain about make a form's background 100% transparent or how can I set a form to have a 100% transparent background or how to animate the form.
Basically we use the windows forms but we know how to change form’s background color, form’s font, forms’ height and form’s width etc.
I explain how to make form’s background as transparent in two ways.
1. Using Opacity property
2. Using TransparencyKey property:

Sunday 18 August 2013

How to use OutputCache directive with Substitution in ASP.NET || ASP.NET Page OutputCache Example

Hi friends, in this article I will explain about how to use OutputCache directive with Substitution or OutputCache example program.
Take one new website (File—New--- website).
Take one ASP.NET page (Root Project—Add New Item--- web form—name it as cache.aspx).
In cache.aspx write the following code.

Wednesday 14 August 2013

Different Types of Caching in ASP.NET | ASP.NET Page Output Cache | Improving Performance with Output Caching

 Hi friends, in this article I will explain about the different types of caching in ASP.NET?
  •  Caching is a powerful feature in ASP.NET that can increase the performance of a Web application. Caching is generally used to catch frequently accessed data. 
  • Basically we are retrieving data from a database like SQL Server, Oracle etc. is one of the slowest Web site operations that we can perform. 
  • However, if you can cache the database data in memory and avoid accessing the database with every page request, you can dramatically increase the performance of your application.

Tuesday 6 August 2013

ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET

Hi friends, in this article I will explain about ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET.
I explained in the previous article about state management on Cookies and Sessions.
  • ViewState is the mechanism that allows state values to be preserved across page postbacks.
  •  I already explained about state management using cookies and sessions.
  • Viewstate is also the mechanism used to store the values across the page postbacks.
  • Maintaining the viewstate is the default for ASP.NET web pages.
  • If you don’t want to maintain the ViewState then include the directive <%@ Page EnableViewState="false" %> at the top of an .aspx page or add the attribute EnableViewState="false" to any control.

Friday 2 August 2013

What are the different types of applications supported in .NET (or) .NET Framework? || Interview Questions on .NET or .NET Framework

Hi friends,in this article i will explain about What are the different types of applications supported in .NET (or) .NET Framework?i already explained in the previous articles about  .NET Interview Questions

What are the different types of applications supported in .NET (or) .NET Framework?
                     When you hear the name .NET, it gives a feeling that it is something to do only with internet or networked applications. Even though it is true that .NET provides solid foundation for developing such applications it is possible to create many other types of applications.The below figure shows .NET framework versions from 2.0 to 4.0.

Wednesday 31 July 2013

How do I set Custom Date Format in DateTimePicker (WinForms)? || Windows Controls - .NET Interview Questions and Answers || Interview Questions on .NET Windows Forms.

Hi friends in this article I will explain about how do I set Custom Date Format in DateTimePicker (WinForms)?  Or Windows Controls - .NET Interview Questions and Answers or Interview Questions on .NET Windows Forms.
How do I set Custom Date Format in DateTimePicker (WinForms)?
You can set custom date format in DateTimePicker using below code.
© 2012-2018 Aspdotnet-Kishore.blogspot.com. All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.