microsoft.public.dotnet.academic Archive - August 2002
Post a message to this list
Messages
Page: 1
repeater..building tables (2 replies)
microsoft.public.dotnet.academic
I'm trying to build a table using the repeater control, four columns across to diplay an n number of records. I tried using a for/next loop inside the repeater control and it properly formats the table but displays 4 copies of the record. Any suggestions for dynamically building this type of table with the repeater control? Thanks, Eric Baker eric@sunrisemarketing.com
Encrypt using RijndaelManaged (4 replies)
microsoft.public.dotnet.academic
I have the following Encrypt function below. The problem is the Decrypt function does not work and it throws an error. Thanks for your help. LL Dim m Key As Byte() {214, 46, 220, 83, 160, 73, 40, 39, 201, 155, 19,202, 3, 11, 191, 17} Dim m IV As Byte() {56, 74, 90, 36, 248, 103, 18, 144, 170, 163, 145, 87, 54, 61, 34, 220} Private Function EncryptString(ByVal StrToEncrypt As String) As String Dim ...
Not Sure why I am getting the error CS0118: 'xyz.def' denotes a 'namespace' where a 'class' was expected (3 replies)
microsoft.public.dotnet.academic
Hi I have 2 c# projects defined in Visual studio , 1. VMS.Image and 2. VMS.Windows Here is the snapshot of the solution. Project VMS.Image has a dummy class, Class2, defined in the namespace VMS.Image using System; namespace VMS.Image { public class Class2 { public Class2() { } } } Project VMS.Windows has a class, Class1, defined in the namespace VMS.Windows. It has reference to, amongst other thi...
Converting a string to an int or float (2 replies)
microsoft.public.dotnet.academic
Okay, I have been fighting with casting and a bunch of other things. I am hoping someone here can tell me how to go about either reading an int of float value directly from the keyboard or textbox, ot how I can convert that string into an int or float. This was simple in C , but doesn't seem so in C#, either that or I have a bad book :) Thanks ahead of time for any info you guys could give me.
Byte-Ordering (2 replies)
microsoft.public.dotnet.academic
Hi! I'm working on a library which must use big endian byte order for encoding/decoding. Since the CLR is little endian, how do I most efficiently convert byte[] arrays from little endian to big endian? (do I just "reverse" them?) And what about Int32, Int64, etc.? I would greatly appreciate if someone could illuminate me! Thanks! Gregor Hochmuth
IIS not running vb.net or C# code in ASP pages (3 replies)
microsoft.public.dotnet.academic
Hi I have a strange problem: I've installed the .NET framework along with vs.net and I was doing a little test page with this code: %@ Page Language "VB" % html body h1 Hello World /h1 h1 ASP.NET Style /h1 h2 Using VB .NET /h2 br/ h2 The date and time is % DateTime.Now() % . /h2 /body /html and when I run this .aspx page the script in % % brackets aren't being executed and when I look at the sourc...
Microsoft Sample code never works ..Error Sending SmtpMail (2 replies)
microsoft.public.dotnet.academic
I am using the following code to send smtp mail and I am getting the error: "Could not access 'CDO.Message' object." Can anyone Help? Private Function EmailSender() As Boolean Dim obj As New MailMessage() Try obj.To "Jamin.Mace@dolaninfo.com" obj.Subject "DG Test" obj.Body "DataGen Test" SmtpMail.Send(obj) Return True Catch e As Exception MsgBox(e.Message.ToString) Return False End Try End Functio...
permission denied on new msde northwinds table (4 replies, VIP)
microsoft.public.dotnet.academic
I've been writing an application based on the northwind database in MSDE and using webforms and the datagrid control. There is no problem with pulling data from any of the existing tables, customers, etc. However, when I create a new table using MS Access in the same MSDE Northwinds database instance and try to pull the data, an Select permission denied error occurs (see below). I can add data to ...
.NET Encryption/Decryption Problem - Pls help (2 replies)
microsoft.public.dotnet.academic
Hello geeks, I am working on some server side infrastructure where I need to encrypt some data and send it to the client so that the client could send that data back to me for identification purposes. I am trying to use .NET cryptography classes but I am running into some problem. Probably problem is with DESCryptoServiceProvider or I am not able to accurately convert from string to byte array and...
Byte ==>> string (6 replies)
microsoft.public.dotnet.academic
Hi all, Could you please tell me how to convert a byte array to a string? For example, if I have a byte array like the following: Byte[] arr {0x98, 0x99, 0x9a} ; I want to convert such a byte array to a string. Is there any way? Thanks, FOB
SEARCH on every page - how would you do it in ASP.NET? concept... (16 replies)
microsoft.public.dotnet.academic
Hello, Could you help me with the concept of implementation of the search textbox on every page...? I am trying to have pages with a header that is identical on every page (header is implemented as web user control header.ascx). Part of this header is also a Search text box. After entering text and clicking Search button I would like to display results on separate page. It would be very easy to im...
Getting Appropriate Context? (2 replies)
microsoft.public.dotnet.academic
Hi all, I m working on a DLL that can be used by both the web based clients (like ASP.NET pages, web services, etc) or could be consumed by WinForms based clients. Now I need to know whether there is any way knowing in which context I m running in? I mean if I my DLL is consumed by some aspx or asmx page then I want to have access to some object that should give me access to all the intrinsic obje...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification