Sunday, October 15, 2017

// // Leave a Comment

How to add Drop down list in Gridview in Asp.net

As previous discussions you have to bind data with Gridview. In this articles I am using 2 tables, Bank Table and Cheque Table Bank Table --------------- b_code int b_name nchar(50) Cheque Table ----------------- ch_no nchar(10) ch_bank int For data binding to Gridview use below SQL query SELECT Cheques.ch_no, Banks.b_name FROM Banks INNER JOIN Cheques ON Banks.b_code = Cheques.ch_bank ORDER BY Banks.b_name After data bind...
Read More

Sunday, September 17, 2017

// // 2 comments

How to merge Gridview header cells C#

In this article I am going to explain How to merge Gridview header cells with C# As I explained in previous articles bind data with Gridview, If you are new to this article series, please visit How to bind data with Gridview After bind data Gridview headings shows as below |    #     |        Name        |     Code    | I am going to inset an another...
Read More

Monday, September 11, 2017

// // Leave a Comment

How to merge cells in Gridview C#

In this article I am going to explain how to merge cells in Gridview. If field data is repeating row wise, when we bind data with Gridview, same record is show more times in Gridview as below.  123456  Commercial Bank PLC 345632  Commercial Bank PLC 378912  Commercial Bank PLC I am going to show one record for repeating data as below. 123456   345632  Commercial Bank PLC 378912...
Read More

Wednesday, September 6, 2017

// // Leave a Comment

How to merge cells in Gridview VB

In this article I am going to explain how to merge cells in Gridview. If field data is repeating row wise, when we bind data with Gridview, same record is show more times in Gridview as below.  123456  Commercial Bank PLC 345632  Commercial Bank PLC 567890  Commercial Bank PLC I am going to show one record for repeating data as below. 123456   345632  Commercial Bank PLC 567890...
Read More

Wednesday, August 30, 2017

// // Leave a Comment

How to show Gridview inside another Gridview

In this article I am going to explain how to Show Gridview inside a another Gridview As the first step need to drag and drop a Gridview to design form and bind data as I have discussed in How to bind data with Gridview. Next add template column as we discount in How to add Template column in Gridview. We have to add a label to Item Template and bind data. Click on Label control and go to Edit data binding and bind the data field...
Read More

Monday, August 28, 2017

// // Leave a Comment

How to Add Template Column in Gridview

How to Add Template Column in Gridview In this article I am going to explain, how to add template column in Gridview. As previous articles what I have explained as you have to drag and drop Gridview control to form. and bind SQL table with data source. As showing in above image click on Gridview right hand side arrow, then pop menu will display, in the next step click on Add new Column. and choose a field type from the dropdown...
Read More

Sunday, August 13, 2017

// // Leave a Comment

How to delete row in Gridview using C#

Watch Video In this article I am going to explain how to delete row in Gridview using C# code. Drag and drop GRiview controller to form and using data source bind data to Gridview. Click on the Gridview and you can see arrow top right. When you click on arrow pop menu will display named as Gridview Tasks. In that Gridview Task menu, you have to check the Enable Selection, and click on the Edit column. Next change the text on...
Read More

Tuesday, August 8, 2017

// // Leave a Comment

How to delete row in Gridview using VB code

Watch Video In this article I am going to explain how to delete row in Gridview using VB code. Drag and drop GRiview controller to form and using data source bind data to Gridview. Click on the Gridview and you can see arrow top right. When you click on arrow pop menu will display named as Gridview Tasks. In that Gridview Task menu, you have to check the Enable Selection, and click on the Edit column. Next change the text on...
Read More

Monday, August 7, 2017

// // Leave a Comment

How to display mouseover effect in GridView rows C#

Data bind Gridview as previous projects. Watch Video Click on the Gridview and open the property windows and click on Event icon. Double click on RowCreated Event, coding window will open. and past the below code.  protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)     {         decimal RowValue = default(decimal);         RowValue = decimal.Remainder(e.Row.RowIndex,...
Read More
// // Leave a Comment

How to display mouseover effect in GridView rows VB

Data bind Gridview as previous projects. Watch Video Click on the Gridview and open the property windows and click on Event icon. Double click on RowCreated Event, coding window will open. and past the below code.  Protected Sub GridView1_RowCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowCreated               Dim RowValue...
Read More

Saturday, August 5, 2017

// // Leave a Comment

How to insert data to table using button click C#

In this article I am going to explain How to insert data to table using button click event with C# First you have to create a new web project as we discussed earlier article. How to create new project with visual studio.  Watch Video I am going to user how to bind data with dropdownlist for this project also. First we have to design screen layout, Text box and Button controller as the previous projects, you...
Read More

Friday, August 4, 2017

// // Leave a Comment

Why Should You Move to Visual Studio 2010?

There are various motivations to move to Visual Studio 2010 Professional, and before we jump into the book parts to analyze them, we thought it is great to list a couple from a highlevel point of view (introduced with no need requesting): Rich, new proofreader with worked in Windows Presentation Foundation (WPF) that you can profoundly redo to suit how you function. New Quick Search, which finds pertinent outcomes just by rapidly...
Read More

Thursday, August 3, 2017

// // Leave a Comment

How to Select record from Gridview using C#

I this article I am going to explain how to select record from Gridview using C# code. As previous article, you have to create a new project. How to create new project with Visual Studio Watch Video Also I have explained how to bind data with Gridview How to bind data with Gridview Watch Video Design screen for Bank code and Bank name using Labels and Text Boxes. give them IDs as Bank Code as txtBcode and Bank Name as txtBname Click...
Read More

Wednesday, August 2, 2017

// // Leave a Comment

How to create new project with visual studio 2010 C#

In this article I am going to show you how to create new project with visual studio 2010 C#  Watch Video  01. Open Visual Studio 2010 02. Select file Menu 03. Select New 04. Select website You can see a popup windows as below From installed templates, you can select your Language as Visual C#. There are some templates according to your selected Language. As a beginner you have to select ASP.NET Web Site. Select...
Read More

Tuesday, August 1, 2017

// // Leave a Comment

How to Select record from Gridview using VB code

I this article I am going to explain how to select record from Gridview using VB code. As previous article, you have to create a new project. How to create new project with Visual Studio Watch Video Also I have explained how to bind data with Gridview How to bind data with Gridview Watch Video Design screen for Bank code and Bank name using Labels and Text Boxes. give them IDs as Bank Code as txtBcode and Bank Name as txtBname Click...
Read More

Saturday, July 29, 2017

// // 1 comment

How to bind data with Gridview using VB code

In this article I am going to explain, how to bind data with Gridview using code. In previous article How to bind data with Gridview , I have explained data binding with data source. First you have to create a new web project as we discussed earlier article. How to create new project with visual studio.  Drag and drop Button control and Grid view control in to Design form. with double clicking on Button control...
Read More

Wednesday, July 26, 2017

// // Leave a Comment

How to insert data to table using button click VB

In this article I am going to explain How to insert data to table using button click event with VB First you have to create a new web project as we discussed earlier article. How to create new project with visual studio.  Watch Video I am going to user how to bind data with dropdownlist for this project also. First we have to design screen layout, Text box and Button controller as the previous projects, you have...
Read More

Tuesday, July 25, 2017

// // Leave a Comment

How to bind data with dropdownlist VB

In this article I am going to explain how to bind data with dropdownlist First you have to create a new web project as we discussed earlier article. How to create new project with visual studio.  Watch Video After create the project, you have to drag and drop dropdownlist controller to form designer view. Then click on dropdownlist controller and create the data source. as the above picture, select SQL database...
Read More
Loading...