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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment