1
Answer

Gridview Help

owen shiri

owen shiri

14y
2.5k
1

can you kindly help me load my gridview with data from appsetings.xml . the gridview must have the following three columns(key,value and description)
<?xml version="1.0"?>
<configuration>
  <Global>
    <FromEmail value="[email protected]"
               description="From Email Address Name" />
    <AdminEmail value="[email protected]"
                description="Admin Email Used for Admin Test and Unsubscribe Comments" />
  </Global>
  <Data>
    <!--<Connection value="server=localhost;database='Policy';uid='sa34';pwd='sa123345!'"
                description="Default Database Connection String" />-->
       
    <AllowManualStoredProcedureExecution value="false"
                                         description="allow execution of stored procedures from outside data classes (bad practice!)" />
    <SqlPath value="Data/sql"
             description="Path to the XML Query Files"/>
  </Data>
  <Users>
    <EncryptionData value="(rS06BeTdkbD9TB9RUWQWESvsJUs+kw82wcTlN2e+8NBAB87CPkT/gl3sDQnh4NbjhzQJB36h6KTNX80HeQHnNw==)"
                    description="Encryption data" />
  </Users>
  <Communication>
    <Mail>
      <SmtpServer value="127.0.0.1" description="SMTP Server Used By Newsletter Application" />
    </Mail>
    <Sms>
      <LogicSms>
        <Username value="onelle@get" description="Username for" />
            </Sms>
  </Communication>
  <CMS>
    <Handlers>
      <DelayedResponseHandler.Timeout value="50000"
                                      description="Timeout for DelayedResponseHandler" />
    </Handlers>
  </CMS>
  <CRM>
    <CampaignTools>
      <Newsletter>
        <FromEmail value="[email protected]"
                   description="Address used as from field for newsletters" />
        <UnsubscribeLinkFormat value="http://localhost:100/index.aspx?PageKey=Unsubscribe&amp;Id=[:ContactId:]"
                               description="Url used to unsubrscribe a contact" />
      </Newsletter>
    </CampaignTools>
  </CRM>
  <PayinDueDay value="24"
               description="Day by which Pay-ins should be entered." />
</configuration
Answers (1)