all groups > asp.net datagrid control > june 2006 > threads for june 1 - 7, 2006
Filter by week: 1 2 3 4 5
GridView and NextButtonClick
Posted by Bruno Alexandre at 6/7/2006 6:34:14 PM
Hi guys,
I need your expertise on this, cause I can't figure it out why this is
happening.
I have a GridView with a lot of steps, but in step 3 I want to stay there
until I have all the information I need
(the user is adding the previuos houses for the latest 5 years, and until I
have all... more >>
How to Delete Items in a DataGrid Web Server Control
Posted by tom c at 6/7/2006 12:02:47 PM
In this walkthrough on "Allowing Users to Delete Items in a DataGrid
Web Server Control" at:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbtskallowinguserstodeleteitemsindatagridwebcontrol.htm
it leaves out some very important code. Here is what it gives you:
' Visual Basi... more >>
gridview formatting
Posted by John at 6/7/2006 11:27:02 AM
On my gridview I need to group the sales by year.
2000 - 2001 - 2002, etc is there a way to do this with using the gridview?
example:
sales for: 2000
data
blank row
sales for: 2001
data
blank row
now the data that is being pulled back to populate the gri... more >>
New to ASP.Net, Cascading DropDown List in Detail View...Please help
Posted by Sam at 6/7/2006 6:48:29 AM
A) Destination Table with 4 Fields.
1) Last Name
2) First Name
3) State
4) Zip Code.
B) Look up table State/Zip Code with 2 Fields
1) State
2) Zip Code.
I created a DetailView Form in Asp.net to Insert/Update Destination
Table. Destination Table's State and Zip Code Fields are... more >>
Datagrid invisible TemplateColumn dose not generate HTML object?
Posted by rockdale at 6/6/2006 1:20:47 PM
Hi, All:
I have a datagrid with TemplateColumn as following:
<asp:TemplateColumn Visible="False" >
<ItemStyle Width="0px"></ItemStyle>
<ItemTemplate>
<asp:Label id="lblMin_Value" Visible=False runat="server" Text='<%#
DataBinder.Eval(Container, "DataItem.min_value") %>'>
</asp:Label>
... more >>
Using a DateTime as a DataKeyField
Posted by Keith Patrick at 6/6/2006 10:02:47 AM
I have a DataGrid that uses a DateTime coming back from the DB as its
DataKeyField, since that timestamp is the only unique ID I have for the
records I am displaying. The problem is that the DateTime is being stored
down to the second rather than to the millisecond, which ruins the ID. Is
... more >>
How to change data in grid after you change the SQL select for the data adapter
Posted by tom c at 6/5/2006 7:15:20 PM
I have an ASP.net webform with a datagrid on it.
I can change the SQL select statement for the grid in code by putting
a statement like this in the first line of Page_Load
OleDbDataAdapter1.SelectCommand.CommandText = "SELECT * from table
where ... "
The rest of the code in Sub Page_Load is... more >>
When do you call DataGrid.DataBind()
Posted by Water Cooler v2 at 6/5/2006 1:44:11 PM
Sometimes, you call DataGrid.DataBind() after doing a
DataGrid.DataSource = DataSet (or reader)
and sometimes you don't. When is it that you have to call DataBind on
the datagrid and when is it not necessary? Why is there the difference?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Validate User Input before calling java script function
Posted by Santosh at 6/3/2006 4:53:43 AM
Hii i am writting a code for adding a user records but i want to
activate required filed validator before displaying conform addition
messagebox
i am writtng following code but it is never work please tell me that
what is solution behind them.
public void SetUpClientValidation(object send... more >>
GridView: max # of columns?
Posted by Mark Peacock at 6/2/2006 12:59:01 PM
Is there a recommended or enforced maximum # of columns in the 2.0 GridView?
I have a view with 32,000+ rows and 39 columns that I am displaying using
the GridView control. With paging enabled, the time it took to move between
pages was in the range of 2 to 5 minutes. The bottleneck was proba... more >>
How to set bach-color of textbox in datagrid same as AlternatingItemStyle
Posted by rockdale.green NO[at]SPAM gmail.com at 6/2/2006 12:33:37 PM
Hi, All
I have an datagrid with alternating color, I also want the back-color
of my textbox in ItemTemplate also appears alternating, how could I do
that?
<asp:datagrid id="dgridEmpHours" width="100%" runat="server"
DataKeyField="employee_key" AutoGenerateColumns="False"
BorderWidth="... more >>
DropDownList Datagrid issues
Posted by msingh.russelmetals NO[at]SPAM gmail.com at 6/2/2006 10:28:30 AM
Hello everybody.
I have a DropDownList in my Datagrid.
The DropDownList is prepopulated with data.
I'm capturing the event OnItemDataBound, and as the rows are populated
I'm selecting the correct index in my DropDownList based on a value for
that row.
My issue is that it seems that inste... more >>
Raising GridView's SelectedIndexChanged event in ASP .net 2.0
Posted by Jay at 6/1/2006 2:38:02 PM
Hello,
I am populating the data from the DataView in my GridView. I want to
raise the SelectedIndexChanged Event or the RowCommand event when I click any
where on any of the rows in the GridView. All my columns are "BoundField"s
and the "DataField" property is set to a column in the... more >>
|