GRIDVIEW
-
I stored FirstName and LastName in two column in table... I want to show them in a single column in gridview along with their email and other details. Any suggestion ......
-
I stored FirstName and LastName in two column in table... I want to show them in a single column in gridview along with their email and other details. Any suggestion ......
Use template column
Parwej Ahamad ahamad.parwej@gmail.com
-
I stored FirstName and LastName in two column in table... I want to show them in a single column in gridview along with their email and other details. Any suggestion ......
In you Select statement just do this..
Select FirstName + ' ' + LastName as [Name] from table
Be an Eagle, Sky is Yours.
-
I stored FirstName and LastName in two column in table... I want to show them in a single column in gridview along with their email and other details. Any suggestion ......
DO this from the SQL Side and let the grid display what is comming from SQL. Dont do your manipulation in the Grid.
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
DO this from the SQL Side and let the grid display what is comming from SQL. Dont do your manipulation in the Grid.
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
You are Welcome :)
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
I stored FirstName and LastName in two column in table... I want to show them in a single column in gridview along with their email and other details. Any suggestion ......
you can write your sql like this: select FullName=FisrtName+LastName from your_tableName if your are using Access Database ,then it should be change: select FisrtName+LastName from your_tableName
-
I stored FirstName and LastName in two column in table... I want to show them in a single column in gridview along with their email and other details. Any suggestion ......
There are 2 sollutions : - You can use ItemTemplate with TemplateColumn. It will be useful if you want to format the contents, and you need specific control for specific content. - Going on SQL side, you can adjust the query itself to produce the firstname+lastname's combination, if you just want to display the information.