When is a column not a column?
I have several extremely similar datawindows that I have to maintain that go
against the same table. Recently, I had to add a column to that table, and
also add the column to ALL of these datawindows that go against this table.
I added the column to the first datawindow, set up the edit control style,
etc. I then did a copy/paste of the columns edit control to the remaining
dw's (of course remembering to first add the column in SQL). Everything
(update props, column specs, column props) seems to indicate that the pasted
column is linked to the column I selected, HOWEVER, when I...How to provide validation controls and events to the controls inside edititemtemplate column?
Hi,I have a template column which having the edititem template contains a dropdown list.I have attached the list values to the dropdown now i need to fire an event for this dropdown to itemslectedindexchanged event whenever the new item selected by the user..how will i achieve this polease? one more question in edititemtemplate we will get the textboxes for the columns which are readonly = false , what i want is in edit mode user will be modify the existing data right , ineed to validate that data.how can provide the validation controls withinn the edititem templatecolumn?CheersRam...Dividing one column to 4 columns in the Repeater control
The following is my Repeater-Control code that providing a list of 20 companies names. I'm getting all of the data in one long column and I would like to divide this one column to 4 columns.
Is it possible? how can I do it in my code: <asp:Repeater ID="catlist" runat="server">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
...validation message using column label, not column name
win2k / pb8.01
When I forget to enter a required value on a dw, I get a MessageBox like
Required value missing for COLUMN NAME on row N
Please enter a value
For legacy reasons my column name is called lineval and can't be changed
I have set a column label in the datawindow painter to "Line Value" which
would look a lot nicer in an error message.
Is there anyway to specify in the dw to use the column label instead of the
column name in the error message ?
Well that's not a PB-generated error, so it must be in your code somewhere...Writing a column after column
I need to consolidate columns of data available across different
directories into a single excel csv file. Usually we write to a file
row after row but for the current task I have, it would be convenient
to write the file column after column. Is there a file writing mode
If not, I guess, I will have to write the matrix row by row and then
take a transpose. Let me know what you guys think and if you could
share some skeleton of code for something like this would be great.
> I need to consolidate columns of data available acro...Only one table column in n-columns presentation style
Hi all, I think it�s better to explain our problem with an example.
Any idea to do this data (2 records):
ID: 1 DATE: 19/01/2000 OBS: 11111111111 22222222222 333333 aaaaaaaa
line444ae q qwe qweqee
ID: 2 DATE: 19/01/2000 OBS: ad asdasda as fffffffffff hhhhhhh
on one DataObject (something) like:
ID: 1 DATE: 19/01/2000
OBS: 111111111111 aaaaaaaa 444ae
22222222222 q qwe qweqee
ID: 2 DATE: 19/01/2000
OBS: ad asdasda as PPPPPPPPPP
...How to place in DataGrids’s first column table’s column name, in second Datagrid’s column table’s column value?
Hello I use
C#. I’m interesting are there samples solved my problem.
You will need to loop through the datasource of the datagrid or through the datagrid items and fetch the values for the second datagrid.Sonu Kapoor [MVP] Feel free to ask me any .NET question | Ajax Data Controls Forum
Thank you! I solved my problem at the server cite.
...How we can change control from one column to specific column in datawindow
How we can change control from one column to specific column in datawindow
Let's suppoose there are three column in datawindow
when we open the window, Tab or Cursor is on column 1 (Name) now i have one
button ...i want to write code in that
button...when i click that button control or tab or cursor goto the phone
column. Please somebody tell me how i can do this...
Bruce Armstrong [TeamSybase]
Two new books on developing with PowerBuilder
http://www.pb9...to Calculated Columns, then to update another column in same table in ADO.NET
to get several Columns, then pass those Columns into one function which will return a result,then using the result to update another column in same table in ADO.NET, How can I do this? thanks.
what ever information you given is not clear. so please give me detail info.Ganesan
Clarity is required. Plz explain clearly wts u r requirement.Thank uBaba Thank uBabaPlease remember to click "Mark as Answer" on this post if it helped you. ...DataGrid Column's Validator fires when Column is not visible
I have a template column that includes a dropdownlist and requiredfieldvalidator: <asp:DataGrid id="dgEdit" runat="server" CssClass="CostTable" GridLines="none"
<asp:TemplateColumn ItemStyle-Width="335px" >
<asp:DropDownList ID="cboCostItem" runat="server" Autopostback="true" />
<asp:RequiredFieldValidator ID="vreqCostItem" runat="server" ControlToValidate="cboCostItem"
Text="*" Display="None" Enabl...VB.NET 1.1 Searching through DataList Column by Column
Hi,I am trying to search through a DataList column by column. I am doing this so that if each cell within that sector is empty then I will hide that column. I have implemented a quick function in order to do this, however, it is searching through the datalist row by row. Below is my code, with explanations of what the code is trying to do. I think the problem is to do with the String sector. Is there anyway that I can change the sector string so that it will iterate through the table (dataset) column by column.Code:Dim myData As Data.DataSet = dbAccess.getChildr...remove a gridview column dynamically, removes controls in template columns
I have a interface with a treeview and a gridview. The gridview has two templatefields that handles insert/update/deletes. The gridview is handling editing of different tables so I create the other columns in the gridview dynamically as boundfields. The user selects the table to edit in the treeview.
The problem I am having happens when the user selects a table to edit the second time. The code that executes removes all bound fields, (dynamically added when user selected the first table in the treeview), but not the two template fields, and then adds boundfields specifi...[*-)]how to delete all columns except one column for the corresponding column name......?
hi friends, i've a table with (columns) username, content,data,........... i need to delete all column names(i.e.,content,data,........) except username for the specified username. eg: consider username=mahendran. i've to delete the values in the content,data,...............for the username=mahendran. but username should exist.how to do that?pls help me...... ---------------------------------------------------Don't forget to "Mark as Answer" if you are satisfied.
Use the following
DataTable.Columns.Rem...in a grid how to find a particular column is bound column or template column
Any one know how to find a particular column is bound column or template column or button column,etc in a grid
hi...use this dim label1 as Label=ctype(GridView1.FindControl("name"),Label) Hope This HelpsBhaaratRemember to click "Mark as Answer" on the post that helps UMy Blog
find a particular column is bound column or template column no to find that particular column
Hi,please excuse me if iam wrong.i found that bount columns values are directly renders to a <td> where template columns create some cont...