hey...
i have three tables
subject(sub_id(PK),sub_desc)
questions(q_id(PK),q_desc,sub_id(FK))
answers(ans_id(PK),q_id(FK))ans_desc,istrue)
for each question entry in question table there are four entries in answers table and istrue bit will be set 1 for correct ans
like for question 1 with corr_ans 1 four entries will be
(1,1,djhj...
Hi guys,
I have following given:
I must have a grid-like control, at the moment I use ASP:GridViews
I must update label in it specificly every second (there are countdowns in it)
At the moment, as I sayed, I use GridViews.
Pro:
Update very easily over CodeBehind
Easy to handle in general
Easy to load data in it
Contra:
I mu...
How to Add Number Rows to a grid view dynamically using c# asp.net
...
I add one row to gridview dynamically, and also i want to add one more row to that and want to display all the rows ata atime.. how can i add rows to gridview dynamically..
...
I'm trying to convert some code that was written against the Telerik RadGrid control to work with the built-in GridView control.
This line gets the DataType of the column you're sorting on using the RadGrid control.
_sortBy.DataType = Grid.Columns.FindByDataField(e.SortExpression).DataType;
I'm trying to do the same thing using the ...
I am in the process of transitioning an Access DB to a Web application. The Access DB currently produces reports using grouping e.g.:
Country
-------------------------------------------------------
County
-------------------------------------------------------
City Name | Population | Post Code |
I'm trying to reproduce this using asp...
Hello all.
I'm having a little bit of trouble sorting out the paging scenario with a gridview i.e. I can't get the bloody thing to show page, 2, 3, 4, etc.
I have the following Grid view code
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
style="z-index: 1; left: 20px; top: 440px; position: abs...
I have a gridview using a linqdatasource with a datamodelcontext that I've created.
Why is it that I can do this:
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("tblUserProfile.Phone") %>'>
</asp:Label>
</ItemTemplate>
</asp:TemplateField>
But this:
<asp:BoundField Dat...
Hi
after i sort my gridview, when i want to edit a row the selected row is completely wrong.
what can i do?
...
I have this datatable which i need to bind to a gridview,this datatable conatain really long data but i cant resize the gridview columns so the display looks really big and all data wrapped up occupying entire page..is there any way i can resize columns of the gridview????
also i want to use the pagesize property of gridview but procedu...
I want to display in an asp:GridView an "Images" column. The idea is to provide a thumbnails of the image with link to real size image. For some rows, this may alternatively be a PDF document. I'd like the link to be to the PDF. The PDF or image are stored in a SQL database.
Now I have error in Handler (.ashx) file:
"Invalid attemp...
Hi guys,
I need an easy to use javascript gridview.
The main feature why I don't use ASP.Net GridView is, that I must update it by javascript.
I google hundrets of them, but don't wanna test them all, so I like tot have good ideas from experience users.
...
Hi
I'm debugging somebody elses code, and they have used a GridVew, linked to a collection of classes. Few problems with it though, when they add a row, they can leave that without clicking the ok or cancel buttons
In a GridView is there any way, to throw an update when used leaves a row other than clicking on the ok button, or is ther...
Here's a link to the Dashboard page that I'm trying to built (image of the old implementation)
So, basically the Grid needs the following features:
Parent-child cascading (only 1 level) - the yellow row are parent Grid which expand-collapse (simple js trick).
The whole Grid needs to have a 'frozen' header. As you can see in the image...
Hi I have the task Which i am having Gridview ie: parent- Child Relationship
so inside the Child Gridview i am binding data so here i want to show each record with small image next to each record so when i move mouse over that image i have to show the next record like wise if i mouse-over the second row image i have to show the third ro...
Hello,
I have created a GridView whose columns are dynamically created based on my data source. I have implemented these columns by using the approach described here.Those columns display properly on the initial load. However, I need to implement commanding so that a user can edit / delete a row in the GridView.
At this point, I have i...
I'm defining my own DataSourceControl and DataSourceView.
The load and display of collection in the GridView works perfectly, however, when I click Update (after clicking Edit to Edit a row), the values collection which comes through as the second parameter to ExecuteUpdate in my DataSourceView is populated with the old values as is old...
This is a Master-Detail form. Master is a GridView. And, the Detail is a DetailsView.
The entire thing is achieved programmatically.
As you can see from the code, DetailsView is using the Master-objects's ID to retrieve the Detail items.
I need to make the ID column of the Master-GridView invisible. Coz, it is irrelevent for the user...
I have been trying to search frantically for Nesting GridViews(4 levels). I have used Rowdetailstemplate for 2 levels for a different view but not beyond it.
Many articles have gridview inside a TreeView which is ok but I need my inner elements to have headers too. Something like this(http://www.codeproject.com/KB/webforms/MasterDetail.a...
Hi
I thought Eval("JobTitle") converts returned value to type String, but that doesn’t seem to be the case, since value (returned by Eval("JobTitle")) passed to GetSelectedJobTitle() was of type Object and not String, which caused an error saying “cannot convert from object to string”.
<EditItemTemplate>
<asp:DropDownList ID="Ed...