Your best source of information and news about windows vista, Vista hardware and drivers on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

.Net

You are currently browsing the articles from MS Windows Vista Compatible Software matching the category .Net.

Generate Typed Dataset from an XSD file


Visual Studio 2005’s Typed DataSet is pretty cool. It gives you good control of what the relations should be and it pretty much mimics a table in the database. I love it. But one thing I hate about that is when you serialize your Typed DataSet your XML looks not up to the mark of what you want.

It does serves the purpose but it has all sorts of primary key/foreign key references that are serialized into the XML that at times we don’t want. Rather what we want is a nested XML structure that meaningfully makes sense if you wear that XML glass.

Adding an XSD file to your project won’t help right away as VSNET 2005 doesn’t directly generate dataset (.Designer.cs file) out of it. But, to our rescue, there is a work around to get VSNET 2005 generate typed-dataset from an XSD file. Here is what you should do,

  • Select the XSD file you want VSNET 2005 to generate typed-dataset from
  • Go into the XSD file’s properties
  • Set the "Build Action" to "Content"
  • Set the "Custom Tool" to point to "MSDataSetGenerator"

And that’s it. The next time you save the XSD file you

...
Click to continue reading "Generate Typed Dataset from an XSD file"

Written by askars on October 24th, 2008 with no comments.
Read more articles on .NET Framework and otherSoftware and .NET Framework 2.0 and howto and Visual Studio and .Net and Tips and Tricks.

VideoBlog.NET - Blog about all things .NET and win a Trip for 2 to Bali!

The following is targetting towards Malaysia residents:

So you’ve been talking and hearing about the super duper cool Start.NET program that Microsoft Malaysia is currently running….  but have you been getting the anticipated attention from your friends and colleagues? 

How? 

Read on for more details. 

 Who are we looking for? Anyone who share the passion and excitement on .NET, and do it in the most creative and interesting ways.  Someone who can create a sparkle of getting to know more about .NET!  What do you need to do? 

·         Create a VideoBlog about .NET (between 30 – 60 seconds). You may obtain the facts and information from: http://www.microsoft.com/malaysia/press/archive2007/linkpage4361.mspx·         The ending frame of your VideoBlog must include the URL: www.startdotnet.info

·         Upload the video on your blog or online

·         Email your Name, Company, Telephone number and Email Address, together with your VideoBlog URL to blogdotnet@crystaledge.net  

But… what do I VideoBlog about?

VideoBlog the coolest, slickest, cutest, or most elegant styles you have to drive the excitement of getting to know .NET.  VideoBlog about what you LIKE, who

...
Click to continue reading "VideoBlog.NET - Blog about all things .NET and win a Trip for 2 to Bali!"

Written by Jabez Gan [MVP] on March 28th, 2008 with no comments.
Read more articles on video blog and start.net and otherSoftware and .Net and MS News.

Peek into the .NET Framework Source Code

A

Written by askars on January 18th, 2008 with no comments.
Read more articles on .NET Framework and otherSoftware and Code Samples and Breaking News and .Net and News.

SharePoint 2007 Video Training from Sahil Malik and Carl Franklin

A

Written by askars on December 6th, 2007 with no comments.
Read more articles on Breaking News and otherSoftware and Misc and .Net and News and Uncategorized.

.NET Framework 3.5 Commonly Used Types and Namespaces Poster

A

Written by askars on November 18th, 2007 with no comments.
Read more articles on .NET Framework 3.0 and .NET Framework and Misc and .Net.

EXECUTE permission denied on object ’sp_sdidebug’, database ‘master’, owner ‘dbo’.

I got this error from one of my ASP.NET web services when I tried to fetch some data from a remote database. I tried searching online for a possible fix to this issue but found none to be convincing and so thought of publishing the solution that resolved the issue.

Please note that this solution may only be effective if you are debugging your ASP.NET page/web service and are manually attaching the worker process.

1. Attach to the worker process.

image

image

2. With the aspnet_wp.exe highlighted hit the “Select…” button at the top right hand side.

image

You will get the “Select Code Type” dialog with the “Automatically determine the type of code to debug” selected. Now for ASP.NET to use the “Managed” code type by checking the “Managed” checkbox.

Try it again and it should work without the “EXECUTE permission denied on object ’sp_sdidebug’, database ‘master’, owner ‘dbo’.” error.

Hope it helps. Let me know of any issues or alternate solutions in comments.

Written by askars on October 25th, 2007 with 1 comment.
Read more articles on howto and Misc and ASP.NET and .Net and Visual Studio and Tips and Tricks.

« Older articles

No newer articles