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

Comments by Member 12245539 (Top 125 by date)

Member 12245539 22-Jul-21 14:08pm View    
Asp.net with C#
Member 12245539 22-Jul-21 3:29am View    
karthik Sir,
You have helped me a lot. Sir can you solve my one more question
the code is here..

private void button1_Click(object sender, EventArgs e)
{
int amount = Convert.ToInt32(textBox1.Text.Trim());
for (int i = 1; i < dgv.Columns.Count; i++)
{
foreach (DataGridViewRow row in dgv.Rows)
{
int value = Convert.ToInt32(row.Cells[i].Value);
if (amount >= value)
amount = amount - value;
else if (amount == 0)
row.Cells[i].Value = amount;
else
{
row.Cells[i].Value = amount;
amount = 0;
}
}
}
}

I want to covert this window to web and the same should work through javascrip
Member 12245539 19-Nov-19 12:32pm View    
5 star
Member 12245539 20-Apr-19 12:13pm View    
for this I am rating 5..
Member 12245539 20-Apr-19 10:20am View    
Only want to change in UI..