473,802 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pleas Urgent help in DataGrid problem

This is my sql query

"SELECT UC_Course_Unit. Unit_ID, Unit.Unit_Name,
UC_Course_Unit. Semester_Offere d, UC_Course_Unit. Year_Offered FROM Unit
INNER JOIN UC_Course_Unit ON Unit.Unit_ID = UC_Course_Unit. Unit_ID
WHERE (((UC_Course_Un it.Unit_ID) Not In (SELECT OS_Course_Unit. Unit_ID
FROM OS_Course_Unit WHERE (((OS_Course_Un it.OS_course_ID )="+
OscourseID +")))) AND ((UC_Course_Uni t.Course_ID)='" + UCCouseID
+"'))ORDER BY UC_Course_Unit. Year_Offered",c ts);

I want to format the data grid something looks like this

Semester 1 Semester2
Year 1

Subject 1 Subject 1
Subject 2 Subject 2
Subject 3 Subject 3
Subject 4 Subject 4

Year 2
Subject 1 Subject 1
Subject 2 Subject 2
Subject 3 Subject 3
Subject 4 Subject 4

Please help me to solve this problem Thanks in advanced.show me some
codding

gop
Nov 18 '05 #1
0 874

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1115
by: Deepa | last post by:
I am working on a web page which has a datagrid to be populated. The problem is I need to get the data from 2 different tables to bind the 2 columns of the datagrid. I am not sure of how to do this;specifying 2 different datasources for one datagrid. Also the 2nd column in the datagrid needs to be dropdown boxes. How do i insert the dropdowns in the 2nd column Can anyone help me with these? Thanks
6
1999
by: Anonymous | last post by:
Hello, I am loading a usercontrol with the LoadControl method and need to pass some data to the property of that control. How can I do that? THanks
3
5058
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from the network share. It loads in VS2005 fine, and I can edit and save code changes etc, but when I try and Build the solution, I get the following error... An error occured loading a configuration file: Failed to start monitoring
4
2100
by: m - team1 via DotNetMonster.com | last post by:
hi everyone ive written a huge unwieldy program for my company's annual maintenance contract tracking! :) ok, my dataset has two relations : one table is called AMC and is linked to AMC1. AMC1 in turn, is the parent table of AMC2. my datagrid shows information only from AMC 1 and 2. this is my problem: when the user collapses a row in the datagrid, i need to know the exact row
2
1452
by: settyv | last post by:
Hi, I have webform which has 4 Datagrid controls with (built-in Pagination) and 4 search buttons to perform the search operation.When i click on search operation it is displaying the results in grid .when i click next it is telling error...Please let me know how to solve this problem. Below method can be used for all the datagrids.
0
835
by: settyv | last post by:
Hi, I am using DataGrid control and am binding to the Dataset that is returned from Business layer. Now the problem is that am using hyperlink column for CaseID which is displaying twice in the grid. But it should not be like that.What could be the problem? Any idea. Here is the code below:
6
1868
by: muddasirmunir | last post by:
i make a form whic has one data grid and one text box and one button when i write a name on tex box and click add the name stored in database successfully. now in the grid i want to show all the names but after i add no name is seen on datagrid but if i add second time the first name appear on the datagrid and when i entery third entry the second name apperar i use the following code adodc1.recordset.requery why it show one field...
4
1111
by: ramorac | last post by:
hi my requirement is something like this.. say.. there are two columns A and B. In B there are values b1 b2 b3 b4..... the output should be.. --------------------- Column_Name ----------------------
2
1327
by: Brock | last post by:
Thanks in advance...I have what seems like it should be a simple thing for a DataGrid. What I'll be using this for is for a user to choose an employee record on the datagrid then hit the detail button or link and launch a new window showing the details for that specific employee. So my query string needs to pickup the employee's ID and take it to a details window.Unfortunately I'm using 1.1 and the number of fields I may need to display is...
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10536
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.