Trying to save gauge data to a sql database using a memory stream. My code is producing the following error.
'igGauge' is an undeclared namespace. Line 3, position 2.
Do you have any idea what is causing this?
// Save the gauge to the memory stream.
MemoryStream ms = new MemoryStream();
ms.seek(0, SeekOrigin.Begin)ms.SetLength(0);
this.ultraGauge1.SavePreset(ms, sReportName, sDescription, Infragistics.Win.UltraWinGauge.PresetType.All);
Hello,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
You won't get the error until you actually try to load it into a database. I've only ever been able to insert into a sql database using a filestream from an XML file into a binary field. If I try to load insert or update I always get the same error message: iggauge is an undeclared namespace. Could you please send me something that will show me how to load into a sql database? I've never had any problems like this with charts.