/// <summary> /// To get the window material /// </summary> private void GetWindowMaterial() { WindowTypeBLL BLLobj = new WindowTypeBLL(); ddlWindowsMaterial.DataSource = BLLobj.GetWindowType(); ddlWindowsMaterial.DataTextField = "WindowTypeName"; ddlWindowsMaterial.DataValueField = "WindowTypeID"; ddlWindowsMaterial.DataBind(); }