Saturday, March 15, 2008 |
|
|
Working with Microsoft MVP, Jeff Schoolcraft, we have organized a wonderful developer learning event on Saturday, March 29th at Strayer University in Woodbridge, Va.
CodeCamp SOUTH
Speakers include:
- Brian Noyes, Microsoft MVP
- Jonathan Cogley, Microsoft MVP
- Sahil Malik, Microsoft MVP
- Frank LaVigne, Microsoft MVP
- Antonio Chagoury, DotNetNuke Team Lead
and many more.
Topics to be covered include a host of new technologies along with some introductory courses. Here is a sample (you can see the rest at the NovaCodeCamp site).
- Visual Studio 2008
- SQL Server 2008
- SharePoint 2007
- DotNetNuke Module Development
- Office 2007 Development
- Service Oriented Architecture (SOA) Development
- Ajax
- Silverlight
For you developers, this is a golden opportunity to see presentations that would typically be presented at high priced conferences like Microsoft TechEd and VSLive. And it is FREE. However, registration is limited to the first 100 that sing up - so make your reservation today!
 |
|
|
|
|
Thursday, October 18, 2007 |
|
Friday, October 05, 2007 |
|
|
Well, I have really done it now. I'm giving two presentations tomorrow at the Richmond CodeCamp. Andy Leonard is putting on another show, and if this one is as good as the last, everyone coming should be in for a real treat.

See you all Saturday! |
|
|
|
|
Wednesday, April 25, 2007 |
|
|

When working on code developing a SQLCLR stored procedure for my upcoming presentation at the Richmond Code Camp, I ran into this problem with the SqlPipe output.
Here is my code:
<Microsoft.SqlServer.Server.SqlProcedure()> _ Public Shared Sub procExtractSubjectDetail () 'Return a string of Subject IDs/XML seperated by a ";" Try 'Connect to database, notice the context connection Dim Command As SqlCommand = New SqlCommand Command.Connection = New SqlConnection("Context connection=true") Command.Connection.Open()
'Generate the SQL query Dim strSQL As String = "SELECT ID, Study FROM StudyDetail"
'Attach query to command object Command.CommandText = strSQL
'Execute command object and get results back in a SQL reader object Dim reader As SqlDataReader = Command.ExecuteReader()
'Create an efficient stringbuilder to hold the results Dim Subjects As StringBuilder = New StringBuilder
'Add an emtpy string Subjects.Append("")
'Collect the results While reader.Read 'String output size limit is 4kb 'so let us restrict our output for this demo Subjects.Append(reader.Item(0).ToString() + "/") Dim sXml As SqlXml = reader.GetSqlXml(1)
Subjects.Append(sXml.Value.ToString) End While
'Close and release the reader reader.Close() reader = Nothing
Dim strResult As String = Subjects.ToString()
'Is it too big? Dim iSize As Integer = strResult.Length
'Send the results SqlContext.Pipe.Send(strResult)
Command.Connection.Close()
Catch ex As Exception 'Catch the error and resend it. You could add more error code handling here. Throw New ApplicationException("An error occurred. " + ex.ToString()) End Try
End Sub
--
This was failing when I ran the code. The issue? SqlContext.Pipe.Send(STRING) only allows a string size of 4k bytes. My output was over 7k. |
|
|
|
|
|
|
|
| Archive |
| October, 2008 (1) |
| September, 2008 (3) |
| August, 2008 (1) |
| July, 2008 (1) |
| June, 2008 (4) |
| May, 2008 (1) |
| April, 2008 (5) |
| March, 2008 (7) |
| February, 2008 (1) |
| December, 2007 (6) |
| November, 2007 (4) |
| October, 2007 (3) |
| September, 2007 (1) |
| August, 2007 (4) |
| July, 2007 (1) |
| June, 2007 (1) |
| April, 2007 (5) |
| March, 2007 (7) |
| February, 2007 (4) |
| January, 2007 (2) |
| September, 2006 (2) |
| August, 2006 (1) |
| March, 2006 (3) |
| October, 2005 (3) |
| September, 2005 (10) |
| August, 2005 (3) |
| July, 2005 (2) |
| June, 2005 (4) |
| May, 2005 (12) |
|
|
|
|
| Themes |
| Pick a theme:
|
|
|
|