Hello Guys, I am looking for some help: I have a dynamic table that shows a checkbox, id, title,etc., and date of insertion of an article that I've added before. And then I have a button that I would like to control if the user have clicked the checkbox and which ones to foward delete those articles that he choosed. I have some ideas how to do is but I need some help. Here's a printscreen of the table: [URL="http://img163.imageshack.us/img163/6977/tabletr.png"]http://img163.imageshack.us/img163/6977/tabletr.png[/URL] Here's the code of the table: [CODE] <?php do { ?> <tr> <td><input type="checkbox" /></td> <td><?php echo $row_RsNoticias['sn_id']; ?></td> <td …

Member Avatar
Member Avatar
+0 forum 1

"del" allows you to delete elements from a list for example... [CODE] # Makes list, note in python when addressing an element, the first element is 0, the second is 1. a = [1,2,3,4] # [0,1,2,3] shows how python "reads" the location. # Prints elements in list a print a # deletes the "first" element which is element 0 del a[0] # prints the elements in list a, minus the original 1 value in the 0 place. print a [/CODE] Lots more specifics at [url]http://learnpythonthehardway.org/book/ex34.html[/url]

Member Avatar
Member Avatar
+0 forum 1

hi guys just want to ask a simple question about listview im making a POS program.. when i click Enter button the items on textbox and comboboxes should be placed inside my listview here is my screenshot [URL="http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg[/URL] my problem is i dont know how to put the correct codes for listview any help please? thanks

Member Avatar
Member Avatar
+0 forum 6

hi! i have a listbox binded to a list. the list contains checkboxes binded to a field/member of the list. what i want to achieve is that i want to delete the data from list when it's corresponding checkbox is checked... here's my xaml code: [CODE]<ListBox Name="ListBox1" ItemsSource="{Binding histList, Mode=OneWay}" Margin="10,10,10,10" Height="197" VerticalAlignment="Center" > <ListBox.ItemTemplate> <DataTemplate> <CheckBox Content="{Binding FilterName, Mode=TwoWay}" /> </DataTemplate> </ListBox.ItemTemplate> </ListBox>[/CODE] here's the code in the .cs file [CODE]namespace ReportsUIScreens { public partial class EditStyle : ChildWindow { private List<filterHistory> histList; public EditStyle(List<filterHistory> histListLink) { InitializeComponent(); histList = histListLink; this.ListBox1.ItemsSource=histList; } private void OKButton_Click(object sender, RoutedEventArgs e) …

Member Avatar
Member Avatar
+0 forum 1

Hi all, I'm new and I currently am developing a website on fishing fred's fishing. The site is an experiment for a portfolio ect. There is a feature, the guestbook. The Guestbook is managed by a MySQL database and the PHP is responsible for creating and echoing the data. I would like it if i could remove a comment by having a cookie and clicking an image to remove a comment much like a delete button. The code below shows what I have written: [code=php] //Connecting to the database $connect = mysql_connect("localhost","***","***")or die("Error Connecting."); mysql_select_db("150742")or die("Error Selecting.");//selecting the data //query …

Member Avatar
Member Avatar
+0 forum 4

The End.