Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:620758
More Search Options
RSS Available
Matching Posts
Re: Programmatically Filling a Drop Down List using Linq to SQL
Hi Darrell, Thank you for your reply. I am familiar with the LinqDataSource but am in need of a solution that can be implamented completely in the code-behind. This happens in the "Int" event.
Posted to
Getting Started
(Forum)
by
madkidd
on 4/30/2008
Programmatically Filling a Drop Down List using Linq to SQL
Is there an easier and\or better way to do this... 1 private void FillTheList() { 2 DataClassesDataContext db = new DataClassesDataContext(); 3 var items = from i in db.ListDatas 4 select i; 5 6 foreach (ListData data in items) { 7 ListItem i = new ListItem(data.Name, data.ListID.ToString()); 8 TheList.Items.Add(i); 9 } 10 }
Posted to
Getting Started
(Forum)
by
madkidd
on 4/30/2008
Filed under: linq to sql
MP3 to WAV converter
I've searched and searched but have not found anything. Is there any way that I can convert an MP3 file into a .WAV file using .NET 2.0?
Posted to
Free For All
(Forum)
by
madkidd
on 2/22/2008
HTTP Post Questions
I am using this ( http://geekswithblogs.net/rakker/archive/2006/04/21/76044.aspx ) class to perform a HTTP "POST" to an external webpage. There are two things that I am running into and I don't know if they are general .NET\C# or if there is a better way I should be handling the HTTP "POST". 1. When the webpage returns a code other than 200, it seems to throw an exception in the code. It seems that .NET is trying to be smart but I just want to capture the status code whether
Posted to
Web Forms
(Forum)
by
madkidd
on 1/24/2008
Filed under: Status Codes, C#, http post
Re: Cannot insert the value NULL into column 'OrderID' -- BUT IT IS NOT NULL!
Same thing. And here is my updated code: Protected Sub btnCheckout_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles btnCheckout.Click Dim CartID As Integer = Session( "CartID" ) Dim OrderID As Guid = System.Guid.NewGuid() Dim cOrder As OnlineOrder = New OnlineOrder cOrder.OrderID = New Guid(OrderID.ToByteArray) cOrder.CartID = CartID cOrder.Status = "PEND" cOrder.PromoCode = "NONE" cOrder.Timestamp = Date .Now cOrder.CardTypeID = ddCardType.SelectedValue cOrder.CardNumber = Outman
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
madkidd
on 4/4/2007
Re: Cannot insert the value NULL into column 'OrderID' -- BUT IT IS NOT NULL!
Hopefully this has what you are looking for: 1 using System; 2 using System.Data; 3 using SubSonic.Utilities; 4 using System.Text; 5 namespace SubSonic 6 { 7 8 public abstract class ActiveRecord : AbstractRecord where T : AbstractRecord, new () 9 { 10 public ActiveRecord() 11 { 12 MarkNew(); 13 } 14 15 #region CommandMethods 16 17 /// <summary> 18 /// Made Public for use with transactions 19 /// </summary> 20 /// <param name="userName"></param> 21 /// <returns></returns>
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
madkidd
on 4/3/2007
Re: Cannot insert the value NULL into column 'OrderID' -- BUT IT IS NOT NULL!
I am using SubSonic, so I am not sure how I would do this. Here is the entire Contact class: 1 Imports System 2 Imports System.Text 3 Imports System.Data 4 Imports System.Data.SqlClient 5 Imports System.Data.Common 6 Imports System.Collections 7 Imports System.Collections.Generic 8 Imports System.Configuration 9 Imports System.Xml 10 Imports System.Xml.Serialization 11 Imports SubSonic 12 13 14 15 ''' <summary> 16 ''' Strongly-typed collection for the Contact class. 17 ''' </summary>
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
madkidd
on 4/2/2007
Cannot insert the value NULL into column 'OrderID' -- BUT IT IS NOT NULL!
I am getting this error: " Cannot insert the value NULL into column 'OrderID', table 'outman.outman.Contact'; column does not allow nulls. INSERT fails." -- But my value is not null. I did a response.write on it and it show the value. Of course, it would be nice if I could do a breakpoint but that doesn't seem to be working. I'll attach a couple of images below of my code, the error, and the breakpoint error. Server Error in '/' Application. Cannot insert the value NULL into column 'OrderID', table
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
madkidd
on 4/2/2007
Charlotte, NC User Groups
I'm not sure how much attention gets paid to this forum, but I was wondering if anyone has any information about any ASP.NET, or IIS User Groups in the Charlotte, NC area? I have not be able to find any information or located any users groups, but that really surprises me for this area.
Posted to
Free For All
(Forum)
by
madkidd
on 3/22/2007
Re: Gridview: Click edit button causes my Gridview to disappear.
The code behind page was in the first post. My ASPX page just has this: < asp : GridView ID ="MainCats" runat ="server"></ asp : GridView >< br />< br />
Posted to
Data Presentation Controls
(Forum)
by
madkidd
on 3/19/2007
Page 1 of 4 (40 items) 1
2
3
4
Next >
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online