deciphering vb code
Fri, 19 Feb 2010 09:43:40 -0500
I'm trying to decipher some code like the following:
<MaxLength(50)> _
<SQLParameter()> _
<PropertyDBType(SqlDbType.VarChar)> _
Public Property Coolness() As String
Get
Return ModifiedDataValues("Coolness").Value
End Get
Set(ByVal value As String)
ModifiedDataValues("Coolness").Valu ...
|
automatic properties in vs2005???
Fri, 19 Feb 2010 01:03:57 +0530
is it possible in .net framework 2.0 to create a class that can server the
purpose of List<> ?
eg.
A class Job that has empno, ename etc. I want to get data from database in
form of List<Job> and bind it to gridView. The problem is that I'm using
VS2005 and I'll not be able to upgrade.
So, what mod ...
|
window based authentication with members defined in a distribution list.
Fri, 19 Feb 2010 00:50:54 +0530
I want windows based authentication for a particular folder of my web pages.
This page should be accessible to only some of the managers and some other
roles.
I don't want to allow or deny role and persons in web.config.
Rather, is it possible that a distribution list created in active directory
of the d ...
|
using ajax to show data in multiple labels one by one...
Fri, 19 Feb 2010 00:45:23 +0530
Hello,
I've 20 labels in a 2x10 table on a page. for each label, data comes by
individual queries. (total 20 queries for the page.)
it takes about 30-40 seconds for the page to load, and it's not comfortable
for the user to see blank page.
I want that each cell will show loading.gif images. As and when ...
|
LINQ to XML
Thu, 18 Feb 2010 15:22:41 -0200
XDocument xDocument = XDocument.Load(MapPath("Breadcrumb.xml"));
var linq =
from breads in xDocument.Root.Elements("bread")
where breads.Attribute("script").Value == "/SomeScript.aspx"
select new
{
description =
(string)breads.Element("link").Attribute("description"),
...
|
IE8 WebService Behaviour Issue
Thu, 18 Feb 2010 11:06:24 -0600
We're using the WebService behaviour in one of our intranet applications,
it's been working fine under IE5 -> IE7. Looking at upgrading browser to IE
8 and found that the web service behaviour is no longer working using that
browser. The useService method is throwing an exception "Object doesn't
support this p ...
|
wpf attributes vs attached properties
Thu, 18 Feb 2010 08:23:27 -0800
This seems to be a normal problem with Microsoft.
Not very consistant.
I am not sure what the difference is between attributes vs attached
properties, but in the case of orientation and panels - why not use the same
style???
For example, for a stackpanel you use "Orientation" (Horizontal or
Vertical). ...
|
|
|
Arraylist IndexOf Structure
Thu, 18 Feb 2010 07:15:01 -0800
How can I do a IndexOf or Contains with ArrayList when the ArrayList items
are Structure data?
for example:
Private Structure mystruct
Public displayid As Integer
Public displayType As String
Public displayValue As String
End Structure
Dim InstanceofMyClass As mystruct
While dbread.Read()
Wit ...
|
How to download a file (ASP.NET beginner)
Thu, 18 Feb 2010 08:19:51 -0500
Hi there,
I'm uploading a file to a dedicated ".aspx" page from a "C#" console app (no
browser involved). This file needs to be converted to another format and the
resulting file then sent back (to be saved on the client's machine). I
figured out how to upload the file but can't figure out how to send the
...
|
Simple data retrieval question
Wed, 17 Feb 2010 11:41:01 -0800
Hi there,
Can anyone post a very trivial example (or direct me to a link) that
demonstrates how to retrieve the data sent by "WebClient.UploadData()" in my
"Page_Load()" handler (in my case I'm sending two values, one a "bool" and
the other a "byte[]" array of arbitrary size). Thanks very much. ...
|