I have a DataGrid which is being bound dynamically to a database query. The user enters some search text into a text field, clicks search, and the code behind creates the appropriate database query using LINQ (searches a table based on the string and returns a limited set of the columns).
It then sets the GridView datasource to be the q...
I've got very dynamic GridView and I need to allow to user to edit first column of it. After he edit first column of grid it must be updated on DataBase.
Is there any ways to handle it ?
My only idea is to put some changeable element to first cell of each Row so it must be able to set / get my values for each row but can't find yet any...
hi
i have a page filling a gridview which is all working fine.
the grid is basically the result of a search .. the filters for which are a number of dropdowns and a couple of textboxes
the data from the grid and dropdowns are saved in the session and the whole page lives inside an updatepanel
when i navigate away from the page (as i...
I have a checkbox (you can see below) nested in detailed grid. How can I find it on updating click and check if checked or not? I'm using DevExpress GridView
<dxwgv:GridViewDataCheckColumn Visible="false" VisibleIndex="14">
<EditFormSettings Visible="True" />
<EditItemTemplate>
<dxe:ASPxCheckBox ID="ASPxCheckBox1" Text=...
I have a gridview with a onrowdeleting="SellersGridView_RowsDeleting" switch.
My method is:
protected void SellersGridView_RowsDeleting(object sender, GridViewDeleteEventArgs e)
{
string seller = ((Label)SellersGridView.Rows[e.RowIndex].Cells[0].FindControl("TextBoxSeller")).Text;
BookStore b = new BookStore();
...
i have a gridview as follows:
Sub marks result
eng 56 p
maths 45 f
science 67 p
S.S 78 p
im using the mail function to send the marks to the student. how to convert these gridview rows to the table rows or how to pass the gridview datas into mail function as
'message'
...
I am able to create a grid view layout as shown Here
when a image is clicked I would like to bring that image to the foreground (full screen) for 2 seconds and then go back to the grid layout.
Can you please point me to the appropriate examples/docs or pointers on how to do this .
Thanks
...
Hello,
I am writing an ASP.NET 3.5 application and need to send gridview values to a datatable for use in a listbox control as part of a quote process. I have written the following VB code in my Page_Load:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dtSelParts As DataTable = Ne...
hi
i have a search page using a number of items in a form to run a search that fills a gridview with data.
the whole form is wrapped in an UpdatePanel. the form works a treat - it, based on the form dropdowns etc, calls a webservice and populates a gridview with the results... fairly standard stuff.
however, once the grid is bound the ...
Hello,
I'm currently working on a highly configurable Database Viewer webpart for WSS 3.0 which we are going to need for several customized sharepoint sites. Sorry in advance for the large wall of text, but i fear it's necessary to recap the whole issue.
As background information and to describe my problem as good as possible, I'll sta...
Hello,
I have a ContentPlaceHolder with a GridView that is bound to a SqlDataSource. The ID for the SqlDataSource is as follows:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" etc...
The GridView sets the DataSourceID to SqlDataSource1 as follows:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowP...
Hello,
I have a GridView that get's its datasource from a complex object.
So I'm doing the Sorting & Paging in the code behind.
<asp:GridView ID="SystemsDetailList" runat="server" AllowSorting="true" AllowPaging="true"
AutoGenerateColumns="False" ShowFooter="True" OnPageIndexChanging="gridView_PageIndexChanging" OnSorting="gridView_Sort...
i click double dataGridView's any row. Not get Data clicked row data:
private void gwStudies_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
GoruntuyuAc();
}
private void GoruntuyuAc()
{
olduid = "";
DataRowView ro = (gwStudies.SelectedRows[0].DataBoundItem a...
Hi All,
Is it possible to retrieve the DataRowIndex of the binding datarow from its parent DataTable. I would use it to point again back to the datatable when i perform a delete operation. I can't use the DataItemIndex of GridView since the rows with RowState=Deleted still exists., so it won't point to the correct row of datatable.
...
I have a asp:GridView with a HyperLinkField.
It's DataNavigateUrlFormatString property is set to View.aspx?id={0}&isTechnical={1} and DataNavigateUrlFields to ID,isTechnical
Where ID is primary column INT and isTechnical - BIT, i.e. SQL Server representation of bool.
So urls are being displayed like View.aspx?id=1&isTechnical=1 but I ...
I am trying to develop a very simple templated custom server control that resembles GridView. Basically, I want the control to be added in the .aspx page like this:
<cc:SimpleGrid ID="SimpleGrid1" runat="server">
<TemplatedColumn>ID: <%# Eval("ID") %></ TemplatedColumn>
<TemplatedColumn>Name: <%# Eval("Name") %></ ...
Hi there,
I'm working on a shopping cart in ASP.NET 3.5 in Visual Studio 2008, and I've defined the cart object using a typed datatable in my dataset file. This is great as I can setup and edit the table schema visually which is nice.
On the cart page I want to drop a gridview to show the contents of the cart datatable which is held in...
Hy guys.
As you know the gridview control is super heavy and reduces performance of the page, as the viewstate length is higher.
I'm trying to get a alternative way to not use default asp.net gridview webforms.
In asp.net mvc we can pass a model for example with Examples[] and in the view iterate over this array and build a
grid and ...
Hey all,
First off, im using a checkbox to highlight a true or false value from a dataset which I want to be able to change it. Unfortunately databinding the DataTable to the GridView checkboxes doesnt work (as you probably know) as it requires it to be in "edit" mode.
The way I've gotten round this is having the checkbox reading the d...
I have to store on one DataColum of one DataTable an Enum containing some values. The enum is defined as follow:
Imports System.ComponentModel
Imports System.Globalization
Public Enum FirmwareUpdateStatus
<Description("updateNotExecuted")> UpdateNotExecuted = 0
<Description("updateSuccess")> UpdateSuccess = 1
<Description("...