.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Hi can any one please advise me how to acheive this structure?

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :ASP.Net

ow to acheive this tabular structure using datacontrols of asp.net

I want to present data in tabular format using datacontrols and columns layouted from top to bottom( not from left to right).  Thanks in advance for u r suggestions.

View Complete Post

More Related Resource Links

Solution/project structure


Hello, I am working in a aspx web application that must be built in several separate "modules" with different functionality which will be partly developed by different teams.

However, I need the completed app to reside in ONE virtual directory. There will be a single startup page. I need session state to be preserved across pages in different modules.

I structured it as one solution with different Web Projects and one class library project with common functionalities.


1) is this the right approach to do this? Or which one would be better?

2) each time I add a new web project to the solution, a new web.config gets created. What do I do and where do I put them?

VS 2010 + framework 4.0 + TFS

Regarding TFS and source control, I have a single Team project, the solution and web projects are inside it.



Content and Structure Report not showing all items

I have an environment where the Site Owner is not seeing all items pending approval when they access that view from the root node in the Content And Structure section.

We can see pending items in this view if they access some of the lower level nodes in the tree structure, just not from the top node.

I've noticed that the second level nodes are not inheriting permissions from the root node, but I'm not sure if that is relevant. I've also checked the CAML for the Pending Approval view and it has not been altered in any way.

Any ideas?

BDC Editor NULL Structure




I am new to WSS and MOSS. I am attempting to use the BDC Editor to create a LOB system to use with Sharepoint. I have no trouble connecting to the webservice which is running on localhost and was generated using Codesmith and Nettiers. I can see all my entity methods and can add them to the definition editor. The issue is that when I attempt to execute a method instance, seemingly regardless of type, I am presented with either of the following 2 messages:


"NULL was returned to FindSpecific" (FindSpecific MethodInstance"

"Back-end returned a NULL structure which is incompatible with the associated metadata" (Finder Method Instance)


Any ideas what I might be doing wrong?





navagation menu from folder structure?


Hello there,

If I have a folder structure that a user can place documents into, how do I create a navmenu that populates its  subfolder based on the contents of its corresponding subfolder in the folder structure? For instance if I have a menu item named "Forms" and I want it to get all the documents out of a folder named "Forms" (In which these documents are populated by a user placing them in there)


Hopefully I explained with enough detail, thanks for any help guys.




Video: Visual Studio: SharePoint 2010 Tools Project Structure

Visual Studio 2010 includes support out of the box for the most common types of projects that you may want to build with SharePoint 2010 as well as new features for more easily defining features, solutions, and wizards to walk through the most common settings for each project type. (Length: 24:23)

Directory structure problem



         I m sure this question has been asked before. I have a web application hosted under http://localhost/abc. which is mapped to c:\inetput\wwwroot\abc folder. I have APP_Code, App_LocalResources, BIN and other folders under abc folder. Everything is great. Now I want to create another application or sub application http://localhost/def. Both abc and def apps need to use some common classes and resources. Whats the best way to do it. I dont need to create a separate application for def. All i want is the url http://localhost/def.





Site File Structure, Folders, Learning project, subweb, web.config

I am just learning asp.net.  I purchased an "ASP.Net 3.5 web programming in C#" book, which I like allot.  I am on chapter 3 and want to complete a shopping cart exercise from the book.  I have to create several folders and files.  The exercise has the files and under the root directory and a few folders below that.  I already have a site that I've been learning on.  Can I create a subfolder on my site and put all the files in there?  Like the subfolder is the root of the project.   Here is list of Folders and files... Code/CartItem.cs Code/Product.cs Data/Cars.mdb Images/car.jpg Cart.aspx Order.aspx Web.config ................................ On my website I want to create a subfolder to keep alll the files in, as so... ShoppingCart/Code/CartItem.cs ShoppingCart/Code/Product.cs ShoppingCart/Data/Cars.mdb ShoppingCart/Images/car.jpg ShoppingCart/Cart.aspx ShoppingCart/Order.aspx ShoppingCart/Web.config ................................ Can I have two web.cong files?, one in the subfolder?  Or do I have to use the single, web.config file in the root directory of the site?  Are there any other pitfalls or trouble I might get into setting up my file structure like this?  Anything I should be aware of? Any thoughts or advice would be appreciated. Thanks, Mike   

problem with banner s structure

 Hello everyone,   Last night I was watching the banner of the first page of this website I mean this address http://www.asp.net/ and when I save background of that (I mean the blue part)I could not understood how it was made could you please help me to understand how I can do that?

Interop Marshalling of C++ with pointers in the structure

I have a vendor supplied dll that is written in C++. I need to use it in a C# application and am trying to use Interop. I have .h files and example .cpp code from the SDK, but I'm clearly in over my head. There are dozens of functions defined in this API, but if I can just get started on how to do this, I'd appreciate some guidance. My biggest headeache is pointers. Here's examples of the C++ and how far I got with C# (which i'm sure I totally botched) MY.h: part of the included headers typedef struct my_handle *MY_Handle; MY_API_PUBLIC int _cdecl MY_HandleCreate(MY_Handle *my_handle, const char *serial_number, const char *client_id, const char *product_type, const char *product_version); MY_API_PUBLIC int _cdecl MY_HandleDestroy(MY_Handle *my_handle); MY_API_PUBLIC int _cdecl MY_Init(void); MY_API_PUBLIC int _cdecl MY_Shutdown(void); MY.cpp: some example functions. int MY_Init(void); int MY_HandleCreate(MY_Handle *my_handle, const char *serial_number, const char *client_id, const char *product_type, const char *product_version); int MY_HandleDestroy(MY_Handle *my_handle); int MY_Shutdown(void); MY.cs: The class created to house the interop stuff. class MYClass { //MY_Init() [DllImport("ts.dll", SetLastError = true)] public static extern int MY_Init(); //MY_Shutdown() [DllImport("ts.dll", SetLastError

Content and Structure reports

Hello, I have 4 production sites that I work on.  1 of these sites uses content deployment to the other 3 sites to keep the top page and navigation in sync between the 4 sites. We a sort of different from the norm, where content deployment is used for test -> production. At the global site I have created a content and structure report that shows only a users incomplete tasks.  I wrote the caml on a different system and got it running on a dev system, then copied the query to production.  Thing is that the query works everywhere except the one global site that content deploys to all other sites.  If the query were broken then it wouldn't work at the other sites, but it does so I don't think it is the caml query.  Just in case I have included it below. <Where><Or><And><Eq><FieldRef Name="AssignedTo" LookupId="TRUE"/><Value Type="int"><UserID /></Value></Eq><Neq><FieldRef Name="Status"></FieldRef><Value Type="Text">Completed</Value></Neq></And><And><Membership Type="CurrentUserGroups"><FieldRef Name="AssignedTo"/></Membership><Neq><FieldRef Name="Status"></FieldRef><Value Type="Text">Completed</Value></Neq>

Building a Mining Structure from a Cube

Hi, I have a problem with creating a time series mining structure from an existing cube. I get the error: The data type specified for the  'Date' column of the 'Purchase Date' OLAP mining structure is not compatible with its source attribute   My date column in this dimension is in fact a Datetime, so it should be the right type for this exercise.  I wonder, am I getting this error because the cube dimension has a Name column of type Varchar specified even though the Key column is dateime?   Thanks, Steve

how to generate an Xml pass Simple query structure like

1. My sql query is        SELECT a.HD, a.HEAD, a.SH, a.SUBHEAD, a.TRK, a.TRACK, a.TGT, a.TARGET, a.PDC, a.DT_RELEASE, a.STATUS, a.COFROM V_HIERARCHY1 a2, My Data is HR    HR    Rec    Records    Leave    Leave Records    HRL.0001    Policy and Process for leave record.    27.06.2010    30.06.2010    WIP    EdlinkHR    HR    Rec    Records    Leave    Leave Records    HRL.0002    Quarterly Review    01.07.2010    04.07.2010    Planned    EdlinkHR    HR    DB    Database    SAL    Salary    DDS.0001    Calculation of Monthly salary    08.08.2010    09.08.2010    WIP    EdlinkHR    HR    Rec    Records    Ind    Induction Records    HRI.0001    Completion of dossiers.    08.07.2010    10.07.2010    WIP   &nbs

Cleaning up SharePoint structure

My organization's current SharePoint structure is basically a big mess.  Between upgrades, lack of prior administrator and user knowledge, and rampant granting of permissions, I have decided that it is probably time to do something about it.  Even though I have recognized the need to do so I, unfortunately, also lack the experience with SharePoint to dive right in and take care of it.  I have spent a lot of time looking through books and websites, but have not found anything that specifically helps me in my current situation. I know the scope of where I'm going with this is too enormous to be solved in a forum post, but I think I have narrowed down a few specific questions that, if answered, would help me decide how I want to proceed.  The way I see it is that I have two options.  1) Try to fix the mess where it is and 2) start over.  I would REALLY like to start over, but given that there is a lot of user created content stored within the sites and subsites etc I'm not sure that starting over would be the best path to choose. So, to the questions: 1) Are there any web/published resources that are tailored towards this type of scenario? 2) If I try to fix the mess where it is, I will undoubtedly remove permissions, move sites, and generally do a lot of other temporary stuff that will make users angry.  Does SharePoint offer some sort of way that I can work in parallel to t

Building a Mining Structure from a Cube

Hi, I have a problem with creating a time series mining structure from an existing cube. I get the error: The data type specified for the  'Date' column of the 'Purchase Date' OLAP mining structure is not compatible with its source attribute   My date column in this dimension is in fact a Datetime, so it should be the right type for this exercise.  I wonder, am I getting this error because the cube dimension has a Name column of type Varchar specified even though the Key column is dateime?   Thanks, Steve

Advise on calculation of measure of Balance sheet account

I am building a cube on top of Navision. The transaction table contains all transactions since the start with Navision (1 July 2003) on General Ledger Account level. For the Balance Sheet accounts, we have imported/inserted opening balance amounts. For the calculation of a trial balance of the Profit and Loss accounts I can just SUM the transactions for the period and it gives me the result for the period. For the balance sheet however, I can only calculate the net change for the period but not the ending balance for that period. Does SSAS have some kind of function to calculation the amount since the first date entry? (in my case 1 July 2003) For the P&L for example I created a calculated measure by using the YTD function that gives me the SUM for January untill August, even if I have selected only the month of August. It would be nice if SSAS had some kind of STD (start to date) function. Or do you advise that I have SSIS insert an opening balance on 1 January for each General balance sheet account (if I would find out how to do that ;-)

How to export SharePoint site structure into another site on MOSS 2007 SP2

Hi All, Is it possible to export and import the site structure only without the content-just the tables/forms etc ? using only the builtin feature of MOSS 2007 ? if yes, can anyone share it here please ? Thanks, AWT/* Infrastructure Support Engineer */
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend