how to split the content of one column in the objectdatasource into two parts and let them display in two columns in the GridView?
i combine the title and the body of one article and store it in one column in the database,but i want to show the title and body seperately in the GridView,how should i achieve this goal?thank you so much for your advice!!!
you can write the logic of splitting the column into two (title and body) in the query itself by which you are filling the datasource..Thanx, [KaushaL] || BloG || Profile || Microsoft MVP"I would love to change the world, but they won’t give me the source code"Don't forget to click "Mark as Answer" on the post that helped you.This credits that me...How to manipulate images and combe multiple database columns into one column in a GridView control
Hi Folks,I'm hoping someone can help me out with something.I am trying to put together a photo album as a learning exercise and have a GridView control with two columns linked to an Access Data Source. In the left hand column (called Image) I want to display the photo and in the right hand column (called Details) I want to provide details such as Date, Location, People and Comments, Camera Type etc. Each of these is columns is taken from the database I have set up.However, I have am having some problems:1: At the moment I have been able to get the image to display (using an image column ...Comparing one column group value to another column group
I'm trying to get the difference between two values that are in seperate column groups:
Class Session 1
Class Session 2
Diff from class 1
In other words, I want to subract the math score of class session 1(column group1) from the math score of class session 2(column group 2) and place that value in a new column that resides within column group two. I have a bootleg way of getting the column to show up for column groups that are not first, but I have no idea h...Combine Two Different Columns into one column
I have twotables(Employee and Borrower). In Employee table have EMPID and Borrower table have BorrowerID. I want to comebine these two columns into one column as EMPID in Employee table. Can any one help?
what is realtion between to tables ?
Thanks for reply.
Acutally Employee table EMPID, NAME Columns. in this Employee table had 12000 rows. Borrower table has BorrowerID,BType etc.. .Here Employee ID and BorrowerID both are same. This table has 16000 rows. Now my what i want to do is Come EMPID and BorrowerID and ...Disable button server control under GridView when one of the Column in Gridview Total is Zero
web page(aspx) consist of a GridView with two columns displayed from Database.
GridView has two columns 1)Employees_Department and 2)Total_Employees. In Employees_Department column employee department name is retrieved and displayed as a Hyperlink when Total_Employees column value is not Zero(This is achieved using row_databound event code shown below). Clicking or selecting particular Employees_Department row will open data for that Employees_Department in a new window. In Total_Employees column of the GridView, total number of employees in that(row) department displayed.
GridView is ...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
...appending data from one column to another column in gridview
Hi,I have 2 columns in table..like this,Area Areaunit100 sq.feet200 sq.yard400 meters While showing area in gridview, i want to append its unit . Example 400 meters should be seen and not just 400<asp:BoundField DataField="area" HeaderText="AREA" SortExpression="area" /> Please Mark the post as "ANSWER" if it helps you
One way is using template field, check this code.. <asp:TemplateField HeaderText="AREA">
<It...two db table column, one datagrid column
I have a db table which have two column, first name and last name.
Can I show them in one datagrid column?
Yes you may. Through the usage of the TemplateColumn, yes. An example of this:
<asp:DataGrid runat="server" ID="dgSomeGrid">
"LastName") %&g...Merge two text columns into one text column
I would like to know what is the best way to merge two text column into one
test column in the table.
ANY HELP PLS..
Are you using any front end application or unix or just the isql to merge
two text datatype columns?
If you are using any front end application then it should not be a problem
to merge the two text datatype columns.
...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%">
...SQL query to one column od database into two columns
Hi,I have a empskill Table which has 3 Columns (1) EmpID (2) SkillTypeID and (3) CourseID.Now SkillTypeID column has data 1 or 2 .......in here 1 means Primary Skill and 2 means Secondary Skill. CourseID will reflect the ID's of subjects like c#,SQL,etc I need a Query which will count the number of primary skilled and number of secondary skilled persons based on subject and will display as followsCOURSE ID SKILL TYPE 21 222 &n...Display multiple columns in Gridview from One Column of SQL table
Hi I have a table in sql with 2 columns and I want to display that in multiple columns in Gridview.
3 &...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...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...