Home All Groups Group Topic Archive Search About

.NET DataGrid Control

microsoft.public.dotnet.framework.aspnet.datagridcontrol
Score Newbie: Datagrid Comes Up Blank?!?
Altemir - 30 Apr 2005 7:27 PM - 4 messages
Just trying to connect an ASP.NET page to an SQL database.  When I run the page, I get no errors but no recordset results are returned via the datagrid control -- it is completely blank. The only thing displayed is the "Job Dispatch List" page title which ...
Score trying to display header only
David Cho - 29 Apr 2005 11:53 PM - 4 messages
I have a form with a datagrid control.  And I have a button that will retrieve data and upon postback, the datagrid gets populated. What I would like to have is, upon the loading of the form (before postback), have the datagrid display the header with all the column ...
Score binding ArrayLists to DataGrids-- how to name the columns?
Jim Bancroft - 29 Apr 2005 11:35 PM - 4 messages
Hi everyone, I'm binding an ArrayList to a DataGrid for the first time (I'm used to binding DataSets and DataTables) and I was wondering if I could somehow "name" the ArrayList, so that I can refer to it as a DataField in an ...
Score Wrong window gets the content
Geoff - 29 Apr 2005 8:07 PM - 3 messages
I have a datagrid with a button column. When the user clicks a button in the datagrid, a PDF should open in a child window. To make this happen, I use the grid's ItemDataBound event to add client side code to call a JavaScript ...
Score ItemStyle question
leodippolito - 28 Apr 2005 8:01 PM - 2 messages
Hello sirs, In my aspx file I have a datagrid with some BoundColumn's. When a format has been defined for a column (for colors, horizontal alignment, etc), it adds an ItemStyle element inside the bound column element, as in this example: ...
Score I've lost my drop down list box!
postings - 26 Apr 2005 5:28 PM - 7 messages
Hi I've got a nasty problem with my datagrid. Sorry for the long post, but I am trying to be clear and compact here. FYI - About my datagrid: ------------------------------------------------------------------- I have in the datagrid and an EditCommandButton like so: <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" ...
Score Columns are displayed twice
Phani - 26 Apr 2005 11:32 AM - 5 messages
I have two datagrids .... after handling the click event in one datagrid ..... using its data i query the database and get the data for the second datagrid in both the grids i am generating the columns dynamically the problem is in the second datagrid the columns are appearing twice ...
Score Datagrid Moving up and down
John Smith - 25 Apr 2005 9:59 PM - 2 messages
Hi, How we could do  moving up and down the datas in a datagrid. Is there any way could do this without hitting the server . thanks in adavance John S ...
Score DataRowView - deleting rows: A little quiz -or- Why doesn't this work...
Chris Mayers - 25 Apr 2005 5:07 PM - 3 messages
Can anyone please tell me what is wrong with the following code: I have a datagrid showing data from in a DataView. The following code snippet is supposed to delete any rows where the 'LineType' column contains WD. The strange thing is it works sometimes (10%?) but usually I get an error: ...
Score Show Date only from DateTime in DataGrid
Xarky - 25 Apr 2005 3:14 PM - 4 messages
Hi, I am using the following code to display a datagrid on my page.  Now one of the columns is of type DateTime(DataField="myDate").  Now when the datagrid is being shown, the date is given in the following ...
Score MXDatagrid paging problem
saravanakumar velusamy via DotNetMonster.com - 25 Apr 2005 11:20 AM - 2 messages
I am using MXDatagrid with paging. I set allowpaging=True in property. But paging is working for only 10 pages. if i clik 12 or 13th pages it return back to 2 or 3 page recpectively. Pls help to me. Very Urgent!!! ...
Score Export to excel problem
Kelvin - 25 Apr 2005 8:23 AM - 3 messages
Hi All, I don't know why my program exports to excel which can't convert cell format ? for example, I am using the following code: Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "attachment; filename=OutstandingOrderDetailReport.xls"); ...
Score Need to create Hieararical DataGrid using ASP.Net Datagrid !!!
Phani - 25 Apr 2005 6:49 AM - 3 messages
I have two tables one company table and the other products table ... the main datagrid should show the details of the companies and it should contain a button which on clicked will display another datagrid embedded in the first datagrid which spans all the columns of the first datagrid .... ...
Score TextBox Value
Simon Abolnar - 24 Apr 2005 2:12 PM - 4 messages
I have TextBox column in datagrid. I would like to update database with values when user click on button (outside datagrid). Dim cell As TableCell=datagrid.Items(row).Cells(col) textbox=CType(cell.FindControl("TextBox1"), TextBox) If user change text of TextBox in one column, command: ...
Next » 2 3 4 5 6 7 8 9 10