but i need to show a pic as tooltip (easy)
so i added some code at:
private void DataGrid1_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
(the item created event)
my problem begins when i want to use a database that not all the colums r shown in the datagrid (the database has buy sell (the datagrid show only buy)
i want to know which colum i am in, in the datasource (Access) so i can get the pic from the database
but e.Item.Cells[0].Text is empty unliss we r in the header and then it shows the header text
how can i know the text in this colum (the colum am in , in this iteamcreated event)
pleazzzzz help me
i can't find anything
i can add the source but it has some herbrew (there is nothing wrong with the code (but the e.Item.Cells[0].Text ) caz it works on a database withc i use all of it to the datagrid (then i use : int i =e.Item.DataSetIndex and add 1 and i got the colum)
thanks
Attached File(s)
-
megbuy.aspx.cs (21.24K)
Number of downloads: 7

New Topic/Question
Reply



MultiQuote


|