Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get current SP user login name by SPContext.Current.Web.CurrentUser.LoginName
- login_name
- -> tblCanbo.Where(strusername or adUserName).Select(intid)
- -> tblCanboDonvi.Where(intidcanbo).Select(intiddonvi)
- -> tbldonvitructhuoc.Where(intid).Select(strtreeid or strparentid or bitkieu)
- \80\web.config
- </appSettings>
- <connectionStrings>
- <add name="TestDBConnectionString" connectionString="Data Source=longthhust-pc;Initial Catalog=TestDB;Persist Security Info=True;User ID=longth;Password=123" providerName="System.Data.SqlClient" />
- <add name="NetOffice2013_VPCPConnectionString" connectionString="Data Source=portaldb.mpi.gov.vn;Initial Catalog=NetOffice2013_VPCP;Persist Security Info=True;User ID=longth;Password=l0nTH@2016" providerName="System.Data.SqlClient" />
- </connectionStrings>
- </configuration>
- ----
- Why use hidden field?
- Find out distinction between
- + Hidden field
- + Viewstate
- + Postback data
- + Nothing??
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement