|
I want to display data in the gridview. After 2 records displayed i want to display the blank row, which will separate another set of rows. So please let me know the solution.
|
|
|
|
|
That wont be a good idea in a gridview, use another control not gridview it was not meant for that.
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.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
srikantha_nagaraj wrote: How to Customize my Gridview? As per my requirement i want to show blank line in gridview, which will differ the two sets of data.
I will suggest you either use Repeater Control For that or Use XSLT for customize display
|
|
|
|
|
How to use XSLT. Can u give me the example with sample code please.
|
|
|
|
|
Do you want to have blank line between the rows?
Cheers!!
Brij
|
|
|
|
|
Yes. Which will separate the set of records.
|
|
|
|
|
Hi All,
I am displaying images on my web-page. when I try to re-size the image, program stretches it. So the display on the page becomes awful. Is there a way to keep the original ratio between height and width while resizing it even if it means losing some part of the image.
|
|
|
|
|
|
Stretching an image in the client side isnt be possible. you need to create a new image from the old one. Also resizing keeping original ratio fixed will be more pain..
You can use this article to get some concept on this ...
http://www.codeproject.com/KB/GDI-plus/imageresize.aspx
|
|
|
|
|
Thank you both, also one more question, is it possible to make the edges of image rounded?
|
|
|
|
|
Hello every one,i am working in web application.
I am making a tree view control having context menu on right click evevnt.This context menu should have add new,edit and delete option.
I am not getting how to design a context menu.Is it in our tool box.please tell me some thing about it.
|
|
|
|
|
In a web application - which is simply an HTML page from the end users' point of view - you would be looking to use javascript code to popup a context menu. You can Google for examples - there are a lot out there.
Here's one:
http://www.webtoolkit.info/javascript-context-menu.html[^]
|
|
|
|
|
|
I'm trying to do a search on a field of a database.What I need is the method for directly accessing to a specific row and column (Without using Gridview)for comparing my data and database's datas.
|
|
|
|
|
You want searching data on DB by TSQL?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
I cant find any meaning.. you can loop through the DataTable fetched from the database..
or you can loop using DataReader..
What else do you need.? ?
|
|
|
|
|
Do you like to compare Your Column of values with the database's column of values ?
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Let my explain what I want with an example:
I want copmare TextBox's value with column ID in Database then if they were equal, modify Qyt column.
int intPosition_ID;<br />
objDataView.Sort = "ID";<br />
intPosition_ID = objDataView.Find(TextBox.Text);<br />
if (intPosition_ID != -1 )<br />
{<br />
}
|
|
|
|
|
You can try this, if you use SQL server 2005
select name from sys.columns
where object_id = (select object_id from sys.tables where name = 'tablename')
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Yeah, Im using SQL server 2005.
Im beginner in ASP.NET and plz explain it more clearly.
I didnt understand your code and I dont know what am I suppose to do !
|
|
|
|
|
if I understood your requirement correctly, you want to compare the textbox value with a table's all columns. For that you can use that query. Sys.Columns is system table which contains all the table's columns. By referring the object_id you can fetch the required column.
select name from sys.columns
where object_id = (select object_id from sys.tables where name = 'customer')
and name = 'LastName'
If you have AdventureWorksLT database you can try this. Let us know whether it solves your problem.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
What you want explain in brief.
Life Is Beautiful
|
|
|
|
|
Hello I need help on Ajax. I have never used it, what I would like to do is to prevent full page loads on basic commands. (such as dropd filling accorfing to the selected value of another dd)
How could I find Toolkits and a basic demonstration of how it works.
Thanks in advance
|
|
|
|
|
Check this link...
http://www.asp.net/ajax/[^]
CodingRocks
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
in your Toolbox there is a Section for Ajax. There is an updatecontrol panel. take your controls and drop them inside this control. Now onselectedindex change of your dropdown, your page will not do a whole page postback again. Contain only controls that you want to do partial postback on them.
Hope it helps
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.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|