473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

C#.net WebForm ADO DataGrid & DataSet Help

6
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 SelectedRowIndex 5 To SelectedRowIndex 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 2116
weaknessforcats
9,208 Expert Mod 8TB
I am moving this to the .NET forum
Jun 26 '07 #2
nateraaaa
663 Expert 512MB
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 SelectedRowIndex 5 To SelectedRowIndex 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
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
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. ...
1
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...
6
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...
2
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....
4
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...
2
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...
1
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...
2
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,...
2
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.