2
Answers

Replace String in ASP.Net?

Jitendra Patel

Jitendra Patel

14y
2.3k
1
hi,

how to remove character in string

my string is Input
1,2,3,4,5,6,7,8,9,10,11,12

out put is (Remove character 1)

2,3,4,5,6,7,8,9,10,11,12

when I use replace funtion than
my output is like this

2,3,4,5,6,7,8,9,0,,2


Thanks,
Jitendra Patel

Answers (2)
0
Crish
NA 3.7k 76.4k 14y
hi

use datagridview's Rowdatabound event for calculating amount. then store it in textbox which u have taken outside of the grid.

you can find each label control values in Rowdatabound event . Sum of there and finally store value in textbox.

Don't forget to Mark Do you like this Answer
 that solved your problem!