Click here to Skip to main content
15,892,927 members

Comments by S.Rajendran from Coimbatore (Top 200 by date)

S.Rajendran from Coimbatore 1-Aug-16 3:56am View    
I tried with the following. Not working. Even it not reaches the breakpoint at code.

<script type="text/javascript">
function progressiveTd() { Panel5.Visible = true;.....}
</script>
<td id="progressiveTd" onclick="progressiveTd_Click"..

in code:
protected void progressiveTd_Click(object sender, EventArgs e)
{
ScriptManager.RegisterClientScriptBlock(this, GetType(), "", "progressiveTd();", true);

}



S.Rajendran from Coimbatore 16-May-15 3:34am View    
As said by you earlier I tried with a NUMERIC type column and when I wanted to get it to variable I got error when the number in the column exceeds 6,2 (with decimal).
String[] columns = { helper.TX_UID, helper.TX_NAME, helper.TX_PARTICULARS, helper.TX_AMOUNT, helper.TX_DATE,helper.TX_CONTRA}; // from tx_table..tested ok
Cursor c = db.query(VivzHelper.TX_TABLE, columns, (helper.TX_ID + "='" + name + "' AND " + helper.TX_DATE + "= '" + td + "'"), null, null, null,null);
gt = 0;
gt_selectedItem_number = 0; // numbers refers to int variable for int column
if (c != null) {
c.moveToFirst();
while (c.isAfterLast() == false) {
String txTotal=null;
String v_uid=(c.getString(0));//tx_id is passed here..not used ofcourse
txTotal = (c.getString(3)); //not ok
Float fl=(c.getFloat(3)); //not ok

How to get , the NUMERIC coulumn TX_AMOUNT to pass to a suitable variable for calculation purposes?
S.Rajendran from Coimbatore 29-Mar-15 10:35am View    
Well what you said is correct. It should have been textView6.
S.Rajendran from Coimbatore 15-Mar-15 6:12am View    
No it is not going in the loop.
S.Rajendran from Coimbatore 15-Mar-15 5:13am View    
I did as you said. Not working. Same problem.