pons_saravanan
Name: pons_saravanan
Score: 1,025.03
Last Seen: 113 days, 18 hours, 34 minutes ago
Member Since: 4 November, 2009
Servefault.com
atom rss
4
votes

LINQ and Entities for binding GridView [ Visual Basic Knowledgebase ]

published 106 days, 19 hours, 56 minutes ago posted by pons_saravananpons_saravanan 113 days, 18 hours, 34 minutes ago
Wednesday, November 25, 2009 5:45:31 AM GMT Wednesday, November 18, 2009 7:07:59 AM GMT
DataBind GridView with Entities and LINQ A simple article for understanding LINQ with Entities for data binding a GridView. While the main objective is... (more)
category: ASP.NET | clicked: 2 | comment | | source: www.vbknowledgebase.com
4
votes

Cursor Position in Textbox Using JavaScript

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:11:12 PM GMT
JavaScript to locate cursor position in Textbox In JavaScript getting the cursor position in textbox differs browsers to browsers. Firebox?s solution is simpler while internet explorer the solution is not straight forward and as well the result may not be accurate all the times. So the following is a simple approach to get the location of the cursor. It may not be accurate but simple and easy to understandInternet Explorer and the Range ObjectTo get the caret location we need to work with selection to ge... (more)
category: ASP.NET | clicked: 2 | comment | | source: www.vbknowledgebase.com
5
votes

DropDownList GridView and SelectedIndexChanged

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:11:05 PM GMT
Using a DropDownList inside a GridViewDropdowns are one of the most used basic controls just like a textbox. This article explains how to have a DropDownList inside a GridView. Basically the dropdowns have the AutoPostBack property to have a PostBack while selecting items. This can happen in GridView also, and can be implemented like in this article easilyDropDownList in MarkupDropdown can be added to the mark up with the help of template columns. I usally keep the dropdown in the EditItemTemplate. But f... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
4
votes

Asp .Net Ajax AutoComplete Textbox with Database

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:10:58 PM GMT
Ajax Toolkit for ASP.Net Auto Complete TextboxIt is very cool to have AutoComplete dropdown for the textbox in the ASP.net. At the mean time if the Auto Complete is not responsive the users will feel that it is trouble to type the characters. As we need a very light weight solution. We have selected this WebService based approach rather than the Ajax Update Panel and Webpage to fetch the data.How Auto Complete works with WebServiceFor fetching data the data is transferred from web server to client (JavaS... (more)
category: ASP.NET | clicked: 2 | comment | | source: www.vbknowledgebase.com
5
votes

WPF DataGrid Bind DataSet

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:10:51 PM GMT
DataGrid Bind with DatasetInitially when I looked the WPF Toolbox I couldn?t locate the GridView. So I started looking for some equivalents. The closest to what I need was the ListBox. So I went ahead and used it for my Media Player.Need of separate Toolkit from CodePlexAfter some point of time I have searched for the DataGrid in WPF. I have found the Tool Kit from the CodePlex. Ok now if we need a DataGrid it is not shipped with framework. So we need to download from CodePlex. I have downloaded the bina... (more)
category: ASP.NET | clicked: 1 | comment | | source: www.vbknowledgebase.com
4
votes

GridView Edit Using SqlDataSource

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:10:45 PM GMT
GridView Edit Delete using SqlDataSourceSqlDataSource is a data control can be used to manage data such as edit, delete. With this article you may find it easier to maintain the data with SqlDataSource. This code doesn?t need any code behind code to edit or delete. And moreover wizards can be used to generate the Markup.GridView CommandField for enabling EditFor firing edit and delete commands we need a command button on each row. With the help of GridView CommandField it is much easier to get the comman... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
5
votes

JavaScript Ajax Cascading Dropdown

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:10:38 PM GMT
Using ajaxToolkit for cascading dropdown with Javascript and Asp.NetThere are various ways to get the cascading dropdown in the ASP.net. But the following is highly performance oriented approach. For fetching data the data is transferred from web server to client using web service. So the data transfer between server and client is very minimal. Thus you can experience the cascading very fast for a small to medium size of data.This article needs Ajax Control kit. It needs to be downloaded separately.Once ... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
4
votes

ListView Checkbox DataBinding in Asp.Net

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 31 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:10:29 PM GMT
Asp.Net example on ListView with Checkbox DataBinding To display list data, we can use several controls like ListView, DataList, Repeater, GridView, DropDownList, etc... Since we have a variety of controls to choose from, the control can be selected based on the requirements like if it is a single column single selection the DropDownList is the right choice. If paging, sorting, edit is required then GridView is the right choice. (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
4
votes

ListView and DataPager Paging with Databinding

published 119 days, 21 hours, 12 minutes ago posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Thursday, November 12, 2009 4:29:38 AM GMT Friday, November 06, 2009 4:10:22 PM GMT
ASP.Net with Visual Basic examples on ListView and DataPager PagingTo display list data, we can use several controls like Repeater, GridView, Dropdownlist, etc... Since we have a variety of controls to choose from, the control can be selected based on the requirements like if it is a single column single selection the Dropdownlist is the right choice. If paging, sorting, edit is required then GridView is the right choice. Basic differences in the ListViewThe paging support is not available in the ListVi... (more)
category: ASP.NET | clicked: 1 | comment | | source: www.vbknowledgebase.com
4
votes

GridView Serial Number using RowIndex

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:10:16 PM GMT
Display Serial Number in GridView using RowIndexSome times we need to display a Serial Number in a GridView to identify each row. We can use RowIndex property of the GridView row to show serial number column.There are few ways to do this. The method i explained in source code will work with any datasource. Thats why i purposely used a collection based datasource. If you are using DataTable you can do like this (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
3
votes

Visual Basic examples on ASP.Net Repeater DataBind

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:10:09 PM GMT
ASP.Net Repeater DataBinding Examples To display list data, we can use several controls like Repeater, GridView, Dropdownlist, etc... Since we have a variety of controls to choose from, the control can be selected based on the requirements like if it is a single column single selection the Dropdownlist is the right choice. If paging, sorting, edit is required then GridView is the right choice. But repeater allows listing data which can be flowed based on the way it is designed. It can be used to list th... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
4
votes

Programming with Microsoft Visual Basic Pig Latin

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:09:57 PM GMT
Pig Latin Visual Basic SamplePig Latin is a game which is played by children. Usually to make an impression that, we are speaking in different language. While there are various ways to create pig Latin from English. I just took some simple way to explain how to use string functions. So if something missing related to Pig Latin game, I may not modify, as my intention of this program is to explain string related functions Source CodePublic Class Form1 Private Sub Form1_Load(ByVal sender As System.Objec... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
4
votes

Visual Basic Calculator Code using Control Arrays

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:09:50 PM GMT
Explaining the use of control arrays using visual basic calculator codeThis article is mainly for the beginners. I am trying to explain the use of Control Arrays with the help of Calculator Sample.I feel control arrays are overlooked in classic visual basic. if the way to implement is understood, it is much useful in reducing the code. Control Arrays can be used in the situations like whenever the need of same controls being used several times in an application. We can make them as an array, and the con... (more)
category: ASP.NET | clicked: 1 | comment | | source: www.vbknowledgebase.com
4
votes

GridView Sorting using DataView Asp.Net

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:09:43 PM GMT
ASP.Net GridView Sorting using DataView and DataTableEven though Sorting is available in the GridView, still a few things should be configured and coded for it to start working.The first configuration is AllowSorting = true, after this only the GridView knows that the sorting is required. Then SortExpression has to be specified as the respective column name for the column sorting is to respond. By configuring this we are saying the GridView to sort the column with the values for this field from the DataT... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
3
votes

GridView Total using DataTable Compute In Footer

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:09:35 PM GMT
GridView Total using DataTable Compute MethodThere are various way to calculate total in tht GridView Footer. But this method is for simple and easiest way to calculate. This method may not be useful if your total calculation involves very tedius and complex logic.DataTable.Compute() FunctionActually compute can be used for aggregate functions such as Sum, Count, and Average etc... And you can specify filters as well. If you are calculating the number of products under a category, you can give the catego... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
4
votes

Adding HyperLink Column to GridView dynamically

posted by pons_saravananpons_saravanan 125 days, 9 hours, 32 minutes ago
Friday, November 06, 2009 4:09:26 PM GMT
Adding HyperLink column to GridView at runtime dynamicallyEven there are various ways to add HyperLink to GridView, the following way I am going to explain is very clean and reusable. However may not simple if it is used in only one place. While considering its reusablity. It actually reduces a lot of duplication inside the code.Adding HyperLink Column at design time to the GridViewWhile adding HyperLink column at design time is easier and you can attach attributes to the HyperLink directly at markup. Th... (more)
category: ASP.NET | clicked: 1 | comment | | source: www.vbknowledgebase.com
3
votes

TreeView Asp.Net DataBinding from Dataset

posted by pons_saravananpons_saravanan 125 days, 9 hours, 33 minutes ago
Friday, November 06, 2009 4:09:19 PM GMT
TreeView Asp.Net DataBinding DatasetI liked DataBinding much when I have upgraded from Classic VB to Asp.Net. Especially on DataGrid (No GridView in 1.0, 1.1), DropDownList, etc... When ever I see a control in Asp.Net more are less it can be bound to various source basically a Datatable and Array list.The first time I disappointed is to bind a TreeView to a relational data. I thought I can get some support for at least self referenced table. But practically TreeView does not accept any flat DataSource. T... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
3
votes

Freeze GridView Columns and Headers in ASP.Net CSS

posted by pons_saravananpons_saravanan 125 days, 9 hours, 33 minutes ago
Friday, November 06, 2009 4:09:12 PM GMT
Using CSS to freeze GridView Columns and Headers in ASP.NetWhen working in large spreadsheet in excel I used to freeze the columns(including First Column) and rows. This is very useful when you want to compare the values in one column with other column values. And regarding header I always freeze it otherwise it is very hard to find what the values are referring to.Like spreadsheet the GridView as well displaying the data in the tabular format. But unfortunately there is no support for this freezing func... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
3
votes

Adding checkbox column to GridView dynamically

posted by pons_saravananpons_saravanan 125 days, 9 hours, 33 minutes ago
Friday, November 06, 2009 4:09:06 PM GMT
Adding checkbox column to GridView at runtime dynamicallyEven there are various ways to add check boxes to the GridView, the following way I am going to explain is very neat and may not simple if it is used in only one place but consider reusing it. It actually reduces a lot of duplication inside the code.Adding Checkbox Column at design time to GridViewWhile adding Checkbox column at design time is easier and you can attach attributes to the Checkbox directly at markup. There are times the Checkbox has ... (more)
category: ASP.NET | clicked: 1 | comment | | source: www.vbknowledgebase.com
4
votes

GridView Custom Paging Using ObjectDataSource

posted by pons_saravananpons_saravanan 125 days, 9 hours, 33 minutes ago
Friday, November 06, 2009 4:08:58 PM GMT
GridView Custom Paging(Pagination) Using ObjectDataSourceHave you ever wondered how to present some large data (more than 10,000 rows) in the GridView? That?s where the GridView Paging comes to be helpful. Actually Paging enables the user to show data page by page. Tough GridView and normal DataTable Binding allows paging, natively DataTable binding will not allow fetching page by page out of the box.How Custom Paging(Pagination) can be enabled in GridViewAs I said earlier the Custom Paging cannot be ena... (more)
category: ASP.NET | clicked: 0 | comment | | source: www.vbknowledgebase.com
Previous 1 2 3 4 5 Next