Hi everyone
public void FillGridCombo(ref Telerik.Web.UI.RadGrid grd, int iCol, DataTable lDTSrc, string sID, string sDisplay)
{
try
{
System.Collections.Specialized.ListDictionary hList = new System.Collections.Specialized.ListDictionary();
int iRow = 0;
for (iRow = 0; iRow <= lDTSrc.Rows.Count - 1; iRow++)
{
hList.Add(lDTSrc.Rows[iRow][sID], lDTSrc.Rows[iRow][sDisplay]);
}
grd.Columns[iCol].Initialize();
grd.Columns[iCol].GetCustomPropertyDataFields(hList);
}
catch (Exception ex)
{
throw ex;
}
}
I used this function for getting data in combobox column in ASP.NET Rad GridView which works f9.
I need to know the alternate for the bold rows or if someone has better solution please let me know.
Thanks
public void FillGridCombo(ref Telerik.Web.UI.RadGrid grd, int iCol, DataTable lDTSrc, string sID, string sDisplay)
{
try
{
System.Collections.Specialized.ListDictionary hList = new System.Collections.Specialized.ListDictionary();
int iRow = 0;
for (iRow = 0; iRow <= lDTSrc.Rows.Count - 1; iRow++)
{
hList.Add(lDTSrc.Rows[iRow][sID], lDTSrc.Rows[iRow][sDisplay]);
}
grd.Columns[iCol].Initialize();
grd.Columns[iCol].GetCustomPropertyDataFields(hList);
}
catch (Exception ex)
{
throw ex;
}
}
I used this function for getting data in combobox column in ASP.NET Rad GridView which works f9.
I need to know the alternate for the bold rows or if someone has better solution please let me know.
Thanks