This is example C# code how to insert value into IBM WebSphere Queue, and Get The Queue value back.
You can use Queue to store some information to processed later without involve database. You can read more about IBM WebSphere queue in here
Put Message C# Code
MQQueueManager queueManager;
MQQueue queue;
MQMessage queueMessage;
MQPutMessageOptions queuePutMessageOptions;
...
Wednesday, 30 July 2014
How to get user name of logon windows user.
This Code shows how to get user name of log on windows user.
Here is the code :
C# Code
string a;
a = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
MessageBox.Show(a.ToString());
By Mohd Zulkamal
NOTE : – If You have Found this post Helpful, I will appreciate if you can Share it on Facebook, Twitter and Other Social Media Sites. Thanks ...
Friday, 4 July 2014
How to specify WhereCondition in Transformation - Nested Control - kentico 8, 7, 6
Before this i wonder how to pass some where condition in transformation repeater. So i ask the kentico guys and he give me a solution which i think i can share to the others.
So in your transformation you can specify the <script runat="server"></script> element. This is where you can pass the where condition.
Let see the example :
Transformation Code
<cms:queryrepeater id="repItems" ... DelayedLoading="true" ... />
<script...
Update Panel - Handle async partial-page state with client script
This is a sample script you can put at the master page. So that you dont need to have updatepanel progress every time you add the update panel in you aspx page.
Script
<div id="pageUpdating"></div>
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler);
function BeginRequestHandler(sender, args) {
//page is begin request, you can...
|
Mohd Zulkamal Founder of developersnote.com, love programming and help others people. Work as Software Developer. Graduated from UiTM and continue study in Software Engineering at UTMSpace. Follow him on Twitter , or Facebook or Google+ . |
Powered by Blogger.