Hi, you can easily do it. use template column of grid. once u added that just righ click on grid and go to Edit Temlete option. when u click on it the whole column with diff. template appear(header template,item template....). just put the control in header template and write text in added control's text property or even u can add text beside the conrol inside templete. Happy Programming Manoj Tillu
Manoj Tillu
Posts
-
control in datagrid header -
ListBox Default Value Help RequiredIf u r populating listbox from database then u cant not do it from aspx, but if ur listitems are fixed and its there in ur aspx page u can specify it in that listitems. Happy Programming Manoj Tillu
-
ListBox Default Value Help Requiredyes Happy Programming Manoj Tillu
-
ListBox Default Value Help RequiredThere is one property in listbox "selected" set this property to true "selected=true" for the value which u want as default Happy Programming Manoj Tillu
-
how to run an exe in asp.net. Very Urgent!!!It quite possible to call exe from asp.net application. Use following code, using System.Diagnostics; Process p=null; try { p= new Process(); //p.StartInfo.FileName = "Exe path on server"; p.StartInfo.FileName = "c:\\HellowWorld.exe"; p.Start(); p.WaitForExit(); } catch (Exception ex) { Response.Write(ex); } There are other options with Process class which can be used to pass argument to exe etc. Happy Programming Manoj Tillu
-
dropdownlist postbackR u returning boolean value from ur function of javascript? If not do one thing return false from ur javascript function when user choose to cancel. Second thing when u call a javascript function on onindexchange client side event of dropdown call it with return statment. e.g. dropdownlist.attributes.add("OnIndexchange","return fnc();"); all the best Happy Programming Manoj Tillu