Gridview In One ContentPlaceholder
I have a GridView in one contentPlaceholder and a corresponding FormView in another. Both should use the same ObjectDataSource.
This is, as I understand not possible as they reside in different PlaceHolders. So I have created two ObjectDataSources to make it work. I am however not certain if this is the right approach.
View Replies
What I am struggling with is I am getting an array of objects back from a function. I would like to output this information dynamically into the screen and I have 2 questions that What should I use? gridview, table, etc and How would I do it?
View Replies
View Related
I have a GridView with bound columns and one of them is a STATUS column from my DB table. The values in that table are single characters like A, C, and P (like Active, Complete, and Pending). How can I display the description based on the single character? I'm using Access so I can't use a case statment in the query.
View Replies
View Related
How to programaticaly in GridView check that my ButtonColumn was clicked?? I've tried sth like this:
protected void MyGridView_SelectedIndexChanged(object sender,
EventArgs e)
{
if(MyGridView.SelectedRow.Cells[6])
{
MyGridView.Visible = false;
}
}
It dosent work I click on buttons but nothing is happened. I haven't problems with dataGridView in WinForms.
View Replies
View Related
I have a formview which im using to ammed records in a DB via a gridview. When an item is selected on the gridview its details are shown in the formview. Ive wrote the update statement for the Insert button in the formviews edit mode.
If i edit a record in the formview this updates the DB, but not the gridview striaght away. I have to click on one of the select buttons on the gridview to update this. I have gridview.databind() on the click event of the insert button of the formview and on pageload, if its a callback. Code:
View Replies
View Related