hi, thank you.i got it.
sivamyneni
hi, thank you.i got it.
sivamyneni
didnt get anything from that
sivamyneni
Hi Is there any column like datagridDateTimePicker in vs-2003 version?
sivamyneni
Hi I tried that one i am not getting proper result because none of my field contaains null value.so i am not getting the desired.
sivamyneni
Hi All, I have a question for you? I have to pass 7 parameters to the procedure. for some parameters i am not passing a value. how to do this?
sivamyneni
Hi, I think u didnt get my point.In property builder u have 5 fields they are general,columns,paging,format,borders. in the columns option u will add the columns of ur choice. hope u got me
sivamyneni
Hi, right click the grid you will get property builder as one of the options. in that property builder u will add the columns that is present in the available list. hope its helpful for you. -- modified at 3:25 Tuesday 29th August, 2006
sivamyneni
Hi all, I have added linkbutton to the datagrid in the template column.i have to display particular field of datasource to the lnkbutton text.My code is like this this is a class file public class DataGridTempla :System.Web.UI.Page,ITemplate { ListItemType templateType; string columnName; public DataGridTempla( ListItemType type,string colname) { templateType = type; columnName = colname; } public void InstantiateIn(System.Web.UI.Control container) { Literal lc = new Literal(); LinkButton lb = new LinkButton(); lb.Click+=new EventHandler(lb_Click); case ListItemType.Item: lc.Text=columnName; lc.Text = "Select " + columnName; lb.CommandName = "EditButton"; lb.Text= "" + columnName + ""; //container.Controls.Add(chkb); container.Controls.Add(lb); container.Controls.Add(lc); } this is my webform coding TemplateColumn tc=new TemplateColumn(); tc.ItemTemplate=new DataGridTempla(ListItemType.Item,"BrandId" ); BoundColumn bc=new BoundColumn(); bc.DataField="Brand_Name"; DataGrid1.Columns.AddAt(0,tc); DataGrid1.Columns.AddAt(1,bc); DataGrid1.DataBind(); please try this.
sivamyneni
Hi Aslam Bari, I just want to find out how to append the items into the list this is the code i used in my project // foreach(DataGridItem di in DataGrid1.Items) { CheckBox check=(CheckBox)(di.Cells[0].FindControl("checkbox")); if(check.Checked==true) { // here retrieving the items from database to the dataset after that just wrote this code Dataset dsItem=new DataSet(); ListBox1.DataSource=dsItem; ListBox1.DataBind(); ListBox1.DataTextField=dsItem.Tables[0].Columns["ThumbNail"].ToString(); Thanks in advance sivamyneni
i have two tables one is class table,student table if i select a class from class table all the students presnt in that class should be added to list box if i select two classes all the students present in the two classes will have to come into the list box but i am getting only the last one of the class can anybody help me please? :) sivamyneni
Hi, anyone pls help me regarding this.i have one checkbox column in my datagrid by selecting that check box i need to get that entire row in the next page of that application.multiple selection is true. pls its urgent for me. Regards, sivamyneni sivamyneni