i want to know the main difference between datagrid and gridview in asp.net 2.0
Check out the release from MSDN here: http://msdn.microsoft.com/en-us/magazine/cc163933.aspx
Related
What is the efficient way to make a gridview from 2 tables (one of them is using the primary key of the other as a foreign key) using visual studio 2005?
thanks
Nested gridview (or datalist/repeater) is what you need. You need to create TemplateField in parent GridView to add another Gridview in it. Handle the RowDataBound event of parent gridview to bind its child elements/controls.
PS: You may read MSDN pages/tutorial about GridView and its events.
MSDN Link : Walkthrough: Creating a Nested GridView Control
I am using DevExpress's GridView. I have edit button working fine. I need to add a new custom linkbutton, which when clicked should show DevExpress's modal popupwindow to gather few input values and execute a method in codebehind. Please let me know how to do it. Not sure why it is so hard to achieve such a simple requirement.I couldn't find any sample code even for adding a custom link button!
I suggest that you get started with the E1120 example.
Your question is a little confusing as you mention GridView which is a Winforms grid but also mention CodeBehind which suggests Asp.Net
To Add repository items to the Winforms grid
If you are referring to the AspxGridView then you can use the standard Asp.Net Templating feature and add any control to a column.
Is there in WPF ListView something like InsertItemTemplate for ListView in ASP.NET?
No, I'm not quite sure what you are after, but you could provide normal form controls to add an additional item to the list (i.e. outside the markup of the ListView), or use a third party grid which provides in place editing such as the Telerik RadGridView or the Infragistics XamDataGrid.
You could also swap out the CellTemplate based on the currently selected ListViewItem as described here.
i want to use a grid view into the row of a grid view can i use it? any ways
Here are some good tutorials for you:
Gridview Inside a GridView in ASP.NET 2.0
Build a Nested GridView Control with ASP.NET
I am using a gridview in my form.aspx page. The textboxes in each row of the gridview are to be populated from a datagrid upon clicking a particular field of the datagrid. Is there any way to do the same.....?
Did you check out some of the samples the ASP.NET website? Maybe this one can help?
Gridview quickstart on ASP.NET
Otherwise I suggest you describe your problem in greater details. What's the datasource? Anything specific you can't figure out right now? Are you getting any exceptions?