473,804 Members | 3,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C#.net WebForm ADO DataGrid & DataSet Help

6 New Member
Hi All My name is Motaz;
I am still learning C#.net and getting good at it day be day.

I was just wondering if any one can help me with my new Web Application.

I am having some small problems as i am populating a DataGrid using a DataSet on a Web Form i need my user to select a range from the Grid Just say from SelectedRowInde x 5 To SelectedRowInde x 10. any ideas?

Also I need to take a Column and insert it into an Array.

This is my first time on this Site I have read a lot of stuff here and I am hopping someone will help me.

Thanks
Jun 26 '07 #1
3 2135
weaknessforcats
9,208 Recognized Expert Moderator Expert
I am moving this to the .NET forum
Jun 26 '07 #2
nateraaaa
663 Recognized Expert Contributor
Hi All My name is Motaz;
I am still learning C#.net and getting good at it day be day.

I was just wondering if any one can help me with my new Web Application.

I am having some small problems as i am populating a DataGrid using a DataSet on a Web Form i need my user to select a range from the Grid Just say from SelectedRowInde x 5 To SelectedRowInde x 10. any ideas?

Also I need to take a Column and insert it into an Array.

This is my first time on this Site I have read a lot of stuff here and I am hopping someone will help me.

Thanks
How are you allowing the user to select rows in the datagrid? Are you giving them checkboxes or using another way to select rows?
Do you want to insert all row values for a column into an array?

Please describe what you want in a bit more detail and we will try to help you solve your problem.

Nathan
Jun 26 '07 #3
Motaz
6 New Member
How are you allowing the user to select rows in the datagrid? Are you giving them checkboxes or using another way to select rows?
Do you want to insert all row values for a column into an array?

Please describe what you want in a bit more detail and we will try to help you solve your problem.

Nathan
Thanks
i have added a check box for the user to highlight the Rows he is intersted in then i would like to move the selected items to another Table (but not all columms) and insert them into an Array to do some calculation.

i am having this problem with both Win Form and Web Form.

Thanks
Jul 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2977
by: Jason Huang | last post by:
Hi, Would someone show me how to do the data extraction to Excel in ASP.Net using C# web form? I am not familiar with VB, so I am asking someone to help me out! Any help will be appreciated. Jason
1
2001
by: Steve | last post by:
Hi I have a db with 2 tables that I want to bind to a grid depending on a selection in a Dropdownlist Also I want to be able to select a row from the gris to fill some textboxes. The databases are static in that they will not be updated they are just for viewing I have everything working but not to perfection
6
3192
by: Erik H. | last post by:
Trying to connect to MySQL db on localhost, and populate datagrid from a dataset using code inline method. Getting the following compile error: Error Message: "CS0246: The type or namespace name 'CoreLab' could not be found (are you missing a using directive or an assembly reference?)" I downloaded the add on for connecting to MySQL using ADO.NET and installed it, but am still getting this error. Anybody ever run into this before?
2
1616
by: ddaniel | last post by:
I have read many posts and seen many papers on the different techniques for sort and filtering datagrids. Many do re-queries against the dB ala Fritz Onion. I am trying to leverage the Dataview. The following control simply responds to a sort request and/or a pageing reqeust with an empty table (header only). Any ideas ? Code behind : namespace OakTree.data {
4
2132
by: Rod | last post by:
I posted a message to this group yesterday asking how to pass parameters to a web form that is the source of an IFrame on a parent web form. I've gotten my answer, and it works. Thanks! Now I have a different problem. The web form that is in the IFrame has a DataGrid in it. I have a button column in it which I use to trigger the deletion of the row in the database, and I want it to also reflect that deletion in the data grid. The...
2
2221
by: Mark Rae | last post by:
I've inherited an ASP.NET app and have been asked to fix the following problem with a page which is used to display and/or delete records from a database. When the page loads, it displays a list of the 26 letters of the alphabet as hyperlinks which the users then click to return records beginning with that letter, displayed in a DataGrid. The first column of the DataGrid contains a LinkButton which, when clicked, calls the Delete method of...
1
4240
by: sianan | last post by:
I tried to use the following example, to add a checkbox column to a DataGrid in an ASP.NET application: http://www.codeproject.com/aspnet/datagridcheckbox.asp For some reason, I simply CAN'T get the example to work. I created the following two classes, provided with the example: *-*-**-*-*-*-*-*-*-*-*-*-**-*-*-*-*-CheckBoxColumn Class:-*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-**-*-*-*
2
1266
by: VictorReinhart | last post by:
Hi, I need to add a row in a WebForm, using VS 2005 and C sharp, using a SQLDataSource. If the table or SQLDataSource is empty, and you use a DetailsView Control to let the user add a new row, the "New" hyperlink is invisible. Therefore, the user can't add a row. So, what can I do? Thank you
2
1836
by: Motaz | last post by:
Hello I am new to all this, i am trying to have a range selecter for A DataGrid on a WebForm, for example the user needs to select a start Row and an end one, Like Date in a single Row in a Columne etc. i tryed adding two Labels and Data Binding them to the Selected_Item_Index and then take the String out of them and use an SQL Command "Select Columnename From Tablename Where Columne 1 is Between String1 and String2" then put the Data into...
0
9706
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
9579
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
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10320
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9150
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...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4299
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
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
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.