Category - SQL Server
Results 21 - 25 of 328
12 Jul 2019 12 Jul 2019 0 Comments  3434 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to CSV file with formatting in ASP.Net MVC Razor.

First the WebGrid will be populated from database using Entity Framework and when the Export Button is clicked, a Comma Separated (Delimited) string will be generated from WebGrid data and ultimately it will be exported to CSV file in ASP.Net MVC Razor.
21 Jun 2019 21 Jun 2019 0 Comments  6119 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Repeater control functionality in ASP.Net MVC Razor.

In ASP.Net MVC, there is no provision of using Web Forms controls such as Repeater control, but the same functionality can be easily achieved with the use of Model collection and FOR loop.
19 Jun 2019 19 Jun 2019 0 Comments  3772 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) ASP.Net CheckBoxList using DataTable (DataSet) in C# and VB.Net.

The data from the SQL Server Database Table will be fetched into a DataSet and then the DataTable of the DataSet will be used to bind (populate) ASP.Net CheckBoxList using C# and VB.Net.

This article will also illustrate how to fetch the selected values of ASP.Net CheckBoxList on Button Click using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  9426 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement DataGridViewComboBoxColumn inside DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

The DataGridViewComboBoxColumn class will be used to add ComboBox in DataGridView and the items will be added to the ComboBox from Database in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  12189 Views
Here Mudassar Ahmed Khan has explained with an example, how to set cell value of ComboBox in DataGridView programmatically from Database in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the ComboBox is populated, the selected item will be set in ComboBox in Windows Forms (WinForms) Application using C# and VB.Net.
Results 21 - 25 of 328