2012 Microsoft® MVP Award

Last night I have got this mail from Microsoft MVP award program manager.

“Dear Ahsan Murshed,

Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in ASP.NET/IIS technical communities during the past year.”

Alhamdulillah,I am pleased to say that Microsoft has re-awarded me Microsoft MVP status again for 2012! This is my second consecutive MVP award, this year for Microsoft ASP.NET/IIS. I am really proud about this. This reward obviously motivated me to give more effort for community.

Posted in .Net | Tagged | 286 Comments

bobj is not defined bobj.event.publish(‘saveViewState’);

DearAll.
if u get such type of error sap crystal report (bobj is not defined bobj.event.publish(‘saveViewState’);) or crystal report not working in Asp.net then install sap crystal report run time and make sure “aspnet_client” folder has some subfolders like installed folder at C:\inetpub\wwwroot\aspnet_client, or copy it to your web folder in iis

Posted in .Net, Crystal report, Reporting servies, Web Development | 778 Comments

Leading zero number format in sap crystal report

Example:
From field explorer, Make a new formula field and use the formula where u need
totext(numberfield,’000′)

::::: if numberfield=4, then it shows 004

BY:
Kamrul
Ref: http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=12329

Posted in Crystal report, Reporting servies | Tagged , | 750 Comments

Microsoft says it will have a ‘single ecosystem’ for PCs, tablets, phones, and TVs…

Today I want to share a interesting news…

“So here’s an interesting coincidence: Tuesday at Microsoft’s Worldwide Partner Conference, Andy Lees said that Redmond would eventually have just a “single ecosystem” for PCs, phones, tablets, and even the TV. “You can have full PC compute power available in whatever form factor you like,” said Lees, noting that the Windows on ARM demo motherboards were smaller than mobile phones.

“We won’t have an ecosystem for PCs, and one for phones, and one for tablets — they’ll all come together.” Lees went on to say that Microsoft wants to provide “coherence and consistency” across different devices, “particularly with Xbox,” and that the goal isn’t just to share UI, but also core technologies like Internet Explorer.

Turns out that almost exactly describes something we heard from a source the other day, and we’ve got some more details that point to a far more radical plan within Microsoft. What we’ve been told is that Microsoft is planning to somehow harmonize not only Windows for PCs and Windows Phone, but also the Xbox operating system sometime within the next four years — a timeframe that perfectly lines up with both the end of the Xbox 360′s 10-year lifecycle and the end of Windows 8′s expected three-year run. For more info…please visits

Posted in Application Development, Computer, Microsoft, Operating System | Tagged , | 736 Comments

Crystal report for Asp.net application with C#

Dear all,
I have tried and now tiered to know about crystal report uses with asp.net and also about deployment process on IIS7.
At last i have decided to show you a simple way step by step.
For asp.net application with crystal report
> install SAP Crystal Reports, Version for Visual Studio .NET
follow the following any link
SAP Crystal Reports, version for Visual Studio 2010 – Standard
You will see all related link at http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
> http://www.sdn.sap.com/irj/sdn/crystalreports-dotnet
>>
Some useful learning resources: Continue reading

Posted in .Net, Crystal report, Reporting servies | 539 Comments

get readonly textbox data value in code behind

textbox as readonly in design mode and assign a value using a javascript function then from code file you did not get the value in server side.
Solution:
1. Dont assign readonly property=true in design mode.
2. Bind the readonly property from serverside page load event like:

1 if (!IsPostBack)
2 txt_ReadOnly.Attributes.Add(“readonly”, “readonly”);
Hope now your problem has been resolved.
Ref: http://shawpnendu.blogspot.com/2010/02/how-to-get-readonly-textbox-value-in.html

Posted in .Net, ASP.NET, aspx, Client Side(Scripting), Web Development | Tagged , , | 570 Comments

SQL Server decimal Scale and Precision

Example:
102.786
Here,
Precision =6=number of digits in a number
Scale =786=the number of digits to the right of the decimal point
Sql Server Decimal Data Type
decimal(5, 3)
Precision:5
Scale : 3
Ref: http://www.dotnetdawgs.com/post/SQL-Server-decimal-Scale-and-Precision.aspx

Posted in data types | 474 Comments

gridview objectdatasource select parameters set using entity class object

Agter creating a Gridview you can add a new source as ObjectDataSource using wizard in design view,if you set a select method in your business object layer which parameter is an object then you set its values in ObjectDataSource ‘s event named ObjectDataSource1_Selecting which is looks:

gridview objectdatasource select parameters set

gridview objectdatasource select parameters set


protected void ObjectDataSource1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
{
depotZone.IdDepotZone = null;
depotZone.ZoneName = null;
depotZone.OCommon.IsActive = null;
depotZone.OCommon.IsDeleted = false;
e.InputParameters["depotZone"] = depotZone;
}

### hoping you success

Posted in .Net, ASP.NET, Gridview | 887 Comments

Get check box value of gridview in asp.net binded in runtime

If u want to get a control under selected index changed event then
bool chkValue = ((CheckBox)grdListDepotZone.Rows[e.NewSelectedIndex].Cells[6].Controls[0]).Checked;

if control in cell 6 then Controls[0] (if 1 control then index is zero)

or
CheckBox _checkBoxInGridRow = ((CheckBox)selectedRow.Cells[6].Controls[0]).Checked
Now you can use it in your own. Hopefully helpful to get any control value in gridview

Ref:

https://msmvps.com/blogs/simpleman/archive/2005/08/07/61849.aspx

Posted in .Net, ASP.NET, Gridview, Server Side, Web Development | 767 Comments

Windows Phone 7 Connector App Syncs Windows Phone With Mac

Ref: If you’ve adopted a Windows Phone 7 device but still hang on to your Mac or your large iTunes collection, then you should be glad to know that Microsoft just released a new app to help you sync up everything. This app is called the Windows Phone 7 Connector and is available now for free download from the App Store.

With the Windows Phone 7 Connector app, you can sync photos, music, and movies from your existing iTunes library. You can also sync photos and videos from your existing iPhoto library. The app also allows you to sync music and movies to a Zune HD.

System updates for your Windows Phone device can also be downloaded and installed from this app. However, the app doesn’t seem to support syncing of iCal and Mail contact data.

Posted in Mobile Development, Windows Mobile, windows phone 7 | Tagged | 471 Comments