I need an advice for a c# asp.net project.
My client wants to see some reports via the gridview object with master/detail structure.
The main gridview will be full by all master data and each row will have a + icon (or button) on the first cells.
When user clicks this icon, the all details data of that master row should be seen under that master row with collaps action.
I can handle the database proccess but i can not figure out the collapsing part.
How can i put some extra rows under the specific row on the gridview object?
Thanks in advance..
Matt Berseth has one of the most impresive tutorials on this kind'a stuff
it contains til now 28 tutorials only on the GridView plus a lot from other asp.net controls as well using jQuery with them. I do learn plenty with him. I really love his work and I just wanna share this with you, you might actually get some good and professional ideas from his code!
There is a CodeProject article with downloadable source:
GridView inline Master/Detail record display
Thanks but its for updating or inserting.
Instead , i have found that page, it seems more effective.
GridView control to show master-child or master-slave data, written in c#, asp.net, and javascript.
Here is another good CodeProject blog. Explains multilevel master/detail without JavaScript.
http://www.codeproject.com/KB/aspnet/MultiNestMDGridview.aspx
This is the easiest to use control I've ever run across:
http://code.msdn.microsoft.com/CompleteGridView
Related
I'm looking for a way to link a database table to a textbox in my WPF application. I need to take a specific cell from the table and display it in a read only text box. I've not been able to find a solution personally, and the internet has held no favor either. Thanks for the help in advance!
Post any questions in the comments, I'll edit this question and make it more specific.
I am new to C# programming. i have a database which contains different offers and i am able to get these offers from database.But now i want to create a custom look page for these offers(plz see image attached)
Suppose if there are 7 offers in database i want them on my page like the image of the offer on the top under that description. How can i do it ? i used Gridview but its giving result in table can i customize the grid view to get this look?
You have lot other options you can use dataview, repeater or JQuery.
Try googling on above topics and try to implement the process.
how to display Product list in ASP.net C#? i'm creating e-commerce website for my thesis i need to display it in a grid form like this >> sample product list with limitation per page example 10 products per page please i need your help
I would use a DataList control. Here you can find a good tutorial
There are different ways to do that. There's no one right or correct solution. It all depends where you're comfortable workin' with.
Can you please show us what you've already done?
Now with regards to the filtering, you may use a combination of GridView + DropDownList (where DDL will be used to filter the result). You can look for some great tutorials online.
I hope it helps you.
Ok so here is what am thinking. Am making a recruitment website to hire people. It gives a functionality to the applicant that he can build his cv online! i have made various forms for that.
After filling the forms the applicant will submit the information to database and then am saving all of the information from the webpages related to building cv in the database!
Am thinking of providing the applicant a tab on which when he clicks "View CV" and i show him the cv he built on a new web page in the format like this
http://careers.telenor.com.pk/Page/Detail/VacancyView.aspx?PositionID=3003265
Like the fields should be on the left as table columns and their respective content in the database on the right! Can anybody completely guide me how i can do that ?? or direct me to a specific tutorial ?? i would be grateful! Am using Asp.net!
I have seen grid view! Much like a table it is! with columns on the top and below the values in the database! That is not the thing i want!
DetailsView control can be used to display fields from a single data record. It has that "format" you are looking for.
You can find documentation in this link http://msdn.microsoft.com/en-us/library/s3w1w7t4.aspx
I need a simple example of selecting some data from mssql database and then printing it out arbitrarily into controls or however you would go about printing them to the page. Thanks.
If you are looking at a simple option, Look at the example of gridview and sqldatasource where a gridview is populated with data from sql db. msdn is a good place to start.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx