all groups > asp.net datagrid control > october 2004 > threads for october 8 - 14, 2004
Filter by week: 1 2 3 4 5
DataGrid Binding Question - Multiple Rows as One.
Posted by mike_olivieri NO[at]SPAM comcast.net at 10/13/2004 12:52:23 PM
Hi!
Been stuck on this one for a bit. Would really appreciate any help on
this one.
In Regards to ASP.NET
To start. I have a sql database table with the following data and
design (ex)
------------------------------------
provider_id | plan_id | plan cost
-------------------------------... more >>
How to do this with datagrid
Posted by Lasse Edsvik at 10/13/2004 10:22:41 AM
Hello
I'm trying to build a page in asp.net that lists employees from a db. And I
was wondering if you could help me translate this asp to asp.net and with a
datagrid. can't figure it out with all if's and so
..... open db and stuff
<table>
<%
while not rs.eof then
%>
<tr>
<%
if t... more >>
Binding Data
Posted by David P. Donahue at 10/13/2004 9:10:30 AM
Currently, when I bind data to a DataGrid, I use a function as such:
Dim conGrid As SqlClient.SqlConnection
Dim daGrid As SqlClient.SqlDataAdapter
Dim dsGrid As DataSet
Dim stringSQL As String
stringSQL = "SELECT * FROM UserProfiles"
conGrid = New SqlClient.SqlConnection(Global.strDBConnect)... more >>
Datagrid with SQL sentences in its columns. ONLY FOR EXPERTS.
Posted by Luis Esteban Valencia at 10/12/2004 10:45:39 AM
I have a little application of a Knowledgebase for my company.
The systems engineers cam Log in to the application, write some problemas
and the solution can be SQL commands. I put ValidateRequest=false for the
page to accept those inputs.
Anyway in the Page where users can search for soluti... more >>
client side sorting of datagrid items
Posted by Andrea Williams at 10/11/2004 3:11:07 PM
Does anyone know if there's code out there to manage client-side sorting of
datagrid items? I'd like to be able to fill a datagrid with records from
the database, then allow the user to put the records in their preferred
order. So I envision two buttons for each row that are for up and down and... more >>
Column Header with Variable
Posted by Hai at 10/11/2004 2:56:06 PM
Dear gurus,
Is it possible to specify the column header with variable?
If I want to make headerText as Sales and Credit how do I do so?
Thanks in Advance.
Hai
'Here the codes
Dim s1,s2 as string
s1 = "Sales"
s2 = "Credit"
<asp:DataGrid
ID="mygrid1"
AutoGenerateCo... more >>
Help needed
Posted by Rajeev at 10/11/2004 2:20:48 PM
Hi All,
I am using a datagrid control. first column of the datagrid is having a
checkbox (which used to select/deselect all the items in the grid).There is
an asp:button in the page. I want to enable/disable this delete button, if
the user selects none of the checkboxes then the button shou... more >>
how to set visible table out of dataset?
Posted by GoodMorningSky at 10/11/2004 1:57:44 PM
Hi, all.
A Form has
a DataGrid bound to a DataSet including two DataTable, A and B.
When Form is loaded the two table is populated to DataSet and DataTable A is
shown on DataGrid initially.
When a Button is clicked the DataTable B will be shown.
How can I do this?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Datagrid Columns
Posted by J. Shane Kunkle at 10/11/2004 11:59:02 AM
I have a datagrid that contains a bunch of boundcolumns:
<asp:datagrid id="DataGrid1" runat="server" autogeneratecolumns="False">
<columns>
<asp:boundcolumn datafield="Column1" sortexpression=" Column1" />
<asp:boundcolumn datafield="Column2" sortexpression=" Column2" />
... more >>
Changing Width of Datagrid (AutoGenerateColumn=true)
Posted by ghosthunter NO[at]SPAM gmx.at at 10/11/2004 4:42:27 AM
Hi, hope some1 can help me trying this about a week.
I read the data for my Datagrid into a dataset, convert a little bit
and store the finalresult in another ds from an Access-DB and bind the
data
ds.Tables.Add("Vendor")
With ds.Tables("Vendor").Columns
..Add("Verkäufer")
..Add("Name")
... more >>
DataGrid font size???
Posted by BCM at 10/9/2004 12:26:46 PM
I cant' believe I have to ask this, but...
How do you adjust the font size in a DataGrid? I know about the FONT
property of the DataGrid proper, and the FONT property of the ITEMSTYLE, and
I can see how to adjust the size. But nothing has any effect on the display:
no matter what I do, I get t... more >>
Programmatically Change Text Property of Label in ItemTemplate in Datagrid
Posted by Craig at 10/8/2004 6:33:38 PM
How do I programmatically change the text property of a label in an
ItemTemplate in a datagrid?
Specifically the Text property. I want to change the databinding to another
column at runtime.
<asp:TemplateColumn HeaderText="Rate1">
<ItemTemplate>
<asp:Label runat="server" Text='<%# fRate(D... more >>
Manipulating Dataset
Posted by Hai at 10/8/2004 3:37:23 PM
Dear gurus,
I have a stored procedure which returns a set of rows.
How do I suppress a number of columns (not display) from dataset?
Is is DataSet is the right tool in this case?
Thank you.
Hai
... more >>
DataGrid Hyperlink
Posted by Wayne Taylor at 10/8/2004 12:17:32 PM
I have a datagrid which is populated with a list of software which is
available to install (from our intranet) with the path in the second column.
I want to make the second column clickable (hide the data path). So when the
user clicks on the link or icon it installs the selected software.
... more >>
|