all groups > asp.net datagrid control > december 2004 > threads for december 22 - 28, 2004
Filter by week: 1 2 3 4 5
Submitting forms second time just resets page
Posted by Steven_Reid NO[at]SPAM iName.com at 12/28/2004 10:12:14 PM
Hi All,
I am trying to create a little form where I can enter a SQL query and
return the data in a datagrid. A lot of the times the first time I
open the page and enter a query the datagrid returns data and is fine.
But when I try to resubmit the query or enter another query, the form
just ... more >>
DataGrid not binding in correct order from DataTable
Posted by chotch NO[at]SPAM gmail.com at 12/28/2004 12:22:19 PM
Hello,
I am having a spot of trouble with binding a DataTable to a DataGrid.
My problem originates after I have created the DataTable and DataGrid.
I present the grid to the user with the options to move rows up or
down. When a user selects one of these, I get the DataTable from the
session, r... more >>
Add Hyperlink column at runtime
Posted by Scott Friedrich at 12/28/2004 10:19:01 AM
I found this link in a previous thread:
http://datawebcontrols.com/faqs/
Thanks Scott Mitchell!!
That code works fine if I add the ASP code to the HTML page. What I have is
the need to set a column as a hyperlink in code at run time. I have a page
where a user can create ad hoc querie... more >>
Datagrid, SQLReader and Paging? Shouldn't this work?
Posted by Roger at 12/28/2004 8:49:47 AM
I have some code that uses a SQL Stored procedure to return some rows. I
would then like to have these rows show up in a datagrid.
sqlCmd = New SqlClient.SqlCommand("R_GetSiphonDetail", sCon)
sqlCmd.CommandType = CommandType.StoredProcedure
rdr = sqlCmd.ExecuteReader(CommandBehavior.Default)
... more >>
assign value to a new column
Posted by cnSoftware at 12/27/2004 9:10:31 PM
Hi,
In a datagrid,If I type "2" in "quantity" Column and then "20" in "price"
Column,I hope I can get 40 in "Total" Column,how can I deal with this
problem?
Thank u.
... more >>
table relationships
Posted by et at 12/27/2004 7:50:51 PM
How do I programmtically get the relationships of a table??
I can get the list of columns:
dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid., New Object() {Nothing,
Nothing, strTableName, Nothing"})
, but when I change it to Foreign_Keys, no data is returned.
dtFields = conn.GetOleDbS... more >>
Selecting colors in dynamic datagrid
Posted by et at 12/27/2004 6:40:00 PM
Dim dg as datagrid
dg.BackColor = "#346655" does not work, how else can I set the color to the
html code #?
... more >>
Get the datafield of a column in datagrid
Posted by et at 12/27/2004 5:19:20 PM
How can I programmatically retrieve the name of the datafield of a datagrid
column, while in the Datagrid1_UpdateCommand event.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How can i have multiple header
Posted by Vishnu via DotNetMonster.com at 12/27/2004 8:26:46 AM
Hi all,
I need a datagrid with fixed number of header columns, say 4. Based on the results returned, i need to append the values in the next row. Something like this:
=========================================
Col 1 | Col 2 | Col 3 | Col 4 | - The datagrid header.
---... more >>
NEW User: How do I display table on DataGrid without clicking on '+'.
Posted by Junaid Hussain at 12/24/2004 6:35:14 PM
Hi,
I have been trying display data from an Access database in my C# form. I
have got to the point where I have stored data from the database into a
dataset and then added this dataset to the datagrid control, however when i
run my program, I have to click on the '+' button before I can displ... more >>
Popup menu in datagrid
Posted by Grey at 12/23/2004 10:40:02 PM
is it possible to have popup menu designed within datagrid??
... more >>
ItemCommand event not firing on ButtonColumn
Posted by Simon Rigby via .NET 247 at 12/22/2004 4:06:27 PM
Hi,
I have a page with a user control on it to allow users to search=
a database=2E When they click the search button, another user=
control appears containing the search results=2E This control=
contains a datagrid with the results in (amongst other things)=2E=
I have added a buttoncolum... more >>
Problem with DataGrid
Posted by Pham Duc Toan via .NET 247 at 12/22/2004 4:04:50 PM
(Type your message here)
I 've got a datagrid, set alternating item style and not set boder style. When I bound data into this, with some cell contain value = " " , its boder become lost and that view is bad. I want all cells have its boder with any conditions od value data.
I 've tried to set... more >>
Retreive values from invisible cell
Posted by Patrice COTE via .NET 247 at 12/22/2004 3:53:03 PM
Hi !
I'm trying to update a table with an editable DataGrid (Edit,=
Update, Cancel button)=2E In the Update event of the item, I can=
retreive every value by using the TableCell object=
(DataGridCommandEventArgs=2EItem)=2E The only value I can' retreive=
is the one that I stored in an inv... more >>
Data Grid Disappears after postback
Posted by Hagai Amiel via .NET 247 at 12/22/2004 3:51:46 PM
Hello There
I have created a fully programmatically datagrid
each time I press any button, the datagrid disappears when it posts back
how do I keep the grid on the screen without re-constructing it from scratch each time?
I have tryed saving it on session variables without any success
Followi... more >>
Updating database records in a datagrid
Posted by EmJayEm at 12/22/2004 10:14:26 AM
In a datagrid, I read that you cannot add validation controls to the
textboxes, you want to update, because they are using BoundColumns. I want
to add validation controls to the text boxes. What is the way around this?
Thanks,
EmJ.
... more >>
|