70 Topics

Member Avatar for
Member Avatar for NH1

Here is my code first and then ill explain what im doing. [code=c] ds.Dispose(); ds = new DataSet(); db = new DBconnect(); Co = new Cards('S', Global.GlobalCompanyID).SetSql(); ds = db.GetDataSet(Co); dt = ds.Tables[0]; dr = dt.Rows[0]; Out = dr[1].ToString(); if (Out != "") { Time tm = new Time(""); // …

Member Avatar for Mitja Bonca
0
116
Member Avatar for midjam

Hi this is driving me a little crazy, have been looking everywhere for a solution for the last few days. I'm new to php and i'm trying to create a simple food shopping cart, i have a repeat region for food extras attached to the food item. [CODE=php]<table width="100%" border="0" …

Member Avatar for midjam
0
201
Member Avatar for NH1

i get an error when i try and do this. [code=c] private void button2_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); DBconnect db = new DBconnect(); Global.GlobalVar = textBox1.Text; string Co = new Password('J', textBox1.Text).SetSql(); ds = db.GetDataSet(Co); DataTable dt = ds.Tables[0]; if (dt.Rows.Count == 0) { if …

Member Avatar for Lusiphur
0
143
Member Avatar for JBLDW

I have the following code section that is used for displaying a list of items and would like to modify it so it displays as a multi column display. I have been told that I need to use a counter, but I cannot find any information on how to do …

Member Avatar for JBLDW
0
171
Member Avatar for NH1

Im trying to change the color of a row when the value of one of my columns is changed to [icode]Terminated[/icode]. for example when an employee is termiated i want the color of his record to be red. this is the code i have so far. [code=c] foreach (DataRow dr …

Member Avatar for Geekitygeek
0
289
Member Avatar for jkaye

Hi All, The basis of this project is that I have an album of pictures, where you can add and delete pictures. What I wanted to do, was when you delete a picture, have the rest of the pictures move down to fill in the gap. The database is set …

Member Avatar for vibhaJ
0
101
Member Avatar for bajanpoet

I've created an SSIS package where I have an FTP Task inside a ForEach Loop container. I am trying to loop through each file in the particular folder and send it to the FTP site. I am sure that I got the For Each Loop working, as the error message …

0
146
Member Avatar for Jerreke

I'm trying to populate the items of a foreach-element in a JSP page. [code]<c:forEach var="request" items="${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}">[/code] Gives me: org.apache.jasper.el.JspPropertyNotFoundException: /secure/manageSchedules.jsp(40,36) '${manageSchedulesBean.userController.getRequestsBySchedule[schedule.scheduleId]}' Property 'getRequestsBySchedule' not found on type $Proxy8 the called function exists, and when i cann manageSchedulesBean or userController, there is no error. Someone got a clue?

Member Avatar for Jerreke
0
100
Member Avatar for jcanaway

Hello Every on i have wrote some scripts for my website and i am getting Undefined variable Notices on a couple Variables like exampled below [CODE] $i = 0; foreach($value as $row) { $content .= "<option value=\"".$i."\" ".$selected.">".$row."</option>\n"; $i++; } [/CODE] now every time i view the page with the …

Member Avatar for ko ko
0
223
Member Avatar for CyberPirate1

Okey, so what I'm trying to do is to set about 5 labels to visible using a for loop. [CODE] int nr_bokstaver = slutt_losning.Length; for (int index = 0; index <= nr_bokstaver; index++) { label+index.Visible = true; }[/CODE] I want the name of the label to change according to the …

Member Avatar for Geekitygeek
0
146

The End.