Posted on: 5/26/2015 3:26:35 AM | Views : 628

I want check loop Duplicate Value is null multi column. But i run data by query sql. it's not run data from code behind. i bind data from sql to datagridview.
Help me please.
C# Code:
private string CurrentCtyCode; protected void Gridview1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { if (e.Row.RowIndex > 0) { int count = e.Row.RowIndex; for (int i = 0; i < count; i++) { DataRowView rowView = (DataRowView)e.Row.DataItem; String RowCountryCode = rowView[0].ToString(); if (RowCountryCode == null) { CurrentCtyCode = RowCountryCode; } else if (RowCountryCode == "Total") { CurrentCtyCode = RowCountryCode; ...

Go to the complete details ...