all groups > asp.net datagrid control > january 2007
How can I access a calendar control inside a detailsview control?
Posted by Tamer Ibrahim at 1/29/2007 2:59:19 AM
I want a sample code for such task.
any help will be most appeciated.
Tamer
... more >>
Changing color of a column in a datagrid.
Posted by UJ at 1/26/2007 7:46:55 AM
How can you change the background color for a single column in a datagrid. I
can figure out how to do it for the entire row (e.item.backcolor = ....) but
how do I do it for a single column?
TIA - Jeff.
... more >>
Group By Rows and Total Rows
Posted by yonialhadeff at 1/23/2007 8:16:31 AM
Hello,
I have a datagrid wich is fill in by a query that has a group by.
I want to have a row for each element of the field that is in the group
by
lets have an example
SELECT TOWN FROM AllTownInTheWorlds GROUP BY Country
Town NbofHabitant Superficies
BEL... more >>
Field not updating in gridview unless visible?
Posted by et at 1/22/2007 8:30:15 AM
In my gridview are the primary keys of the record that is being modified,
and obviously I have them hidden. However, when I try to use the update,
the id parameter -- or any field that is not visible -- does not come across
and the update fails since it's based on that id. Not sure that quit... more >>
Why can't I get the FormView control's Paging controls to show?
Posted by Nathan Sokalski at 1/21/2007 4:45:49 PM
I have tried everything I can think of, I have even tried copying examples
from books and websites I have found, but every Formview control that I have
tried to create does not show the Paging controls. The first record from the
DataSource is displayed, but not the Paging controls. I have trie... more >>
Load a DataGrid from code
Posted by Bruce A. Julseth at 1/19/2007 5:10:20 PM
I need to load a table with 3 to 9 columns and 1 to 10 rows. I assume the
DataGrid is the best solutions. If not can someone suggest something else.
Assuming it is the right solution, does someone have an example on how to do
it. My "idea" is that I'll have to build a recordset (which I don't... more >>
Format Date in Databound column
Posted by Vaughn Haybittle at 1/18/2007 6:03:02 PM
Hi,
I have a Gridview which is populated via a stored procedure. One of the
coumns returned is a date. The date is currently displayed as 18/01/2007
00:00:00. I just want to show the date without the time i.e. 18/01/2007. I
have tried adding a dataformatstring of {0:d} but it is not mak... more >>
filtering from multiple dropdownlists
Posted by DevCon7 NO[at]SPAM gmail.com at 1/18/2007 1:06:33 PM
I created a datagrid which populates data from sql server. There about
8 columns on the grid I need to be able to filter on. I did setup
several dropdownlists and was sucessfully able to filter based on and
"AND" crietia.
ex. CITY = "SSDF" AND STATE ="OK" AND PHONE = "325-695-9656" AND
...... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
grid32.ocx and max Rows
Posted by cg at 1/16/2007 2:15:24 PM
Hello,
Under VB 6.0, I use the grid control from grid32.ocx (control that i need
because of multi-line selection) and I've got a problem : I can't fill more
than 16351 rows (my grid counts 15 cols).
Do you know the way to bypass this limitation for at least 32000 rows.
I've tried MSHFlexG... more >>
Gridview column formatting
Posted by et at 1/15/2007 1:11:59 PM
I have tried everything to display a bound column in a gridview to 2
decimals only. The column is a price, and when I run the query in sql, he
value displays as 10.00. Yet in the grid view it displays as 10.0000. I
have tried various settings in the dataformatstring, and it seems to ignore ... more >>
GridView Totals Row as First Row
Posted by Walt Zydhek at 1/15/2007 10:37:15 AM
I have seen a number of articles about adding a totals row to the GridView
control. But I have only seen methods for displaying the totals row in the
Footer.
Is there a way to display the totals in the FIRST row of the GridView, along
with a custom style for that row?
Or how can a Header... more >>
GridView with Multiple value post
Posted by Ganesh at 1/14/2007 12:20:23 AM
Hi,
I have a added a Gridview to a ASPX data bounded to a table. And I have
a another text box have value, now I ant to post a a value from the
Gridview and the txt box value. The gridview property windo allows only
data bounded fileds to post.
How can I do this.
Ganesh... more >>
Programmatically modifying the controls in FormView's PagerTemplate
Posted by Nathan Sokalski at 1/13/2007 4:02:06 AM
I am trying to create a FormView controls in which I access and modify the
the controls in the PagerTemplate programmatically. However, I continue to
recieve the following error:
Object reference not set to an instance of an object.
I am attempting to access the controls in my PagerTemplat... more >>
Really simple question - making a dataset editable through a datagrid.
Posted by UJ at 1/12/2007 9:19:58 AM
Can somebody please point me towards an example of how to display a datagrid
and make some of the items editable. It doesn't need to be complicated or
even fancy; Just need to be able to insert/update/delete records from the
dataset.
TIA - Jeff.
... more >>
ASP 2.0 Gridview
Posted by RG at 1/11/2007 7:28:01 PM
I am using dataview as a datasource to a gridview. The column definitions of
gridview are different that of db table. When binding, how do you specify
column cross reference?
Thanks in advance... more >>
Command Button to Open Window
Posted by Softworks at 1/11/2007 3:46:57 PM
I have a GridView that contains an command button in one of the columns.
The code-behind does some processing of code and then needs to open a
window.
It looks like the postback fires before the PopUpWindow. Is there anyway
around this?
Private Sub dgJobs_CancelCommand(ByVal source A... more >>
updating a row in datagrid..
Posted by rcoco at 1/10/2007 11:18:52 PM
Hi everyone,
I'm having with selecting a row in a datagrid. I have a datagrid that
is ment to update and it runs very well, But I don't want the user to
keep scrolling when ever they want to update so I created a
textbox(txtname) and a button where a user is supposed to write a name
and by the ... more >>
Datagrid Data loaded twice
Posted by brunogomes80 NO[at]SPAM gmail.com at 1/10/2007 10:36:20 AM
Hi,
i am having a problem for severel days. I have i datagrid control
inside an .ascx file. When i first load the page it works fine but
when i change de page the data is loaded twice. I can not understand
why.
I will be gratefull if someone can help me.
Bruno
... more >>
Invalid postback or callback argument error
Posted by Nathan Sokalski at 1/9/2007 3:51:29 AM
I have a DataList in which the ItemTemplate contains two Button controls
that use EventBubbling. When I click either of them I receive the following
error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Invalid postback or... more >>
Datagrid TemplateColumn
Posted by Jake K at 1/8/2007 4:32:18 PM
I have an ItemTemplate in a datagrid that must use a conditional statement.
The templatecolumns is as follows:
<asp:TemplateColumn HeaderText="Listen To File">
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="sound.gif"
NavigateUrl='<%# DataBinder.Eval(Container, ... more >>
Datagrid Javascript Postback issue
Posted by John Doe at 1/8/2007 11:42:23 AM
I have multiple pages containing data. When I click on a different
page, nothing happens, just sits there. It worked fine on my laptop and
now when I move it to a server it does not work. Is there a setting
that is preventing this to work?
*** Sent via Developersdex http://www.develop... more >>
using template columns
Posted by Brett Wesoloski at 1/8/2007 9:45:38 AM
I am new to using template columns. I am just trying to create a data grid
with a bound column and another column with a imagebutton in it.
What I have always done in the past was to then create a datatable and bind
that to the datagrid.
Where is my code to bind the grid to the datatabl... more >>
I need some help
Posted by rcoco at 1/8/2007 1:45:58 AM
Hi,
I have this Datagrid and it's very long It's actually ment to update.
so I want to simplify the work for the users instead of scrolling
manually, I made a button and textBox so that the user can insert the
name and on the pressing a button it selects the row that is supposed
to be edited.... more >>
GridView And SqlDataSouce
Posted by rony at 1/3/2007 12:34:27 PM
Hi,
I am trying to build GridView that will use the option of sorting and
paging by allowing CallBack property in the GridView.
The problem that i found that if i want to add columns in code
behind, the callback option is disabled.
the callback does work if i add the columns in the GridView ... more >>
Refreshing a DataList
Posted by Nathan Sokalski at 1/2/2007 11:21:29 PM
I have a DataList control that I want users to be able to sort the data in
by clicking 1 of 3 buttons. The function I have created to do this is as
follows:
Private Sub SortPoems(ByVal sortby As String)
Dim ratedpoems As New DataTable
Dim sqltext As String = "SELECT * FROM poemrat... more >>
|