MVC Code snippets
Translate
Sunday, 10 January 2016
Access Resource values for db values
ddlState.Items(index).Value = ds.Tables(0).Rows(index)("Region_Code")
ddlState.Items(index).Text = GetLocalResourceObject(ds.Tables(0).Rows(index)("Resource_key").ToString() + ".Text").ToString
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)