473,503 Members | 6,385 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting info from a Datasource

Ok easy one for someone i'm sure.

I have an SqlDataSource called dsMain and I have a Interger called CatID

I am trying to get the "fkCatID" value from my dsMain but I keep getting hit
with New exception. The information is NOT being stored in a datagrid, but
an HTML table.

CatID = dsMain.SelectParameters.Item("fkCatID").ToString

Regards
May 7 '07 #1
0 826

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

Similar topics

1
2299
by: Fraggle | last post by:
I have a repeater with controls added at run time. the <template> also contains a <asp:textbox that is made visible on some repeater elements. when I come to read the text info out it has...
1
2680
by: Gunjan Garg | last post by:
Hello All, I am working to create a generic datagrid which accepts a datasource(ListData - This is our own datatype) and depending on the calling program customizes itself for sorting,...
0
970
by: Fred Dag | last post by:
Hi, I have a Repeater that is filled with a PagedDataSource and upon receiving a OnTextChanged event from an <ItemTemplate> Textbox I attempt need to get details from the row in the DataSet such...
0
1582
by: chilli | last post by:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'load Dim objconn As New...
0
1718
by: =?Utf-8?B?cGI2NDgxNzQ=?= | last post by:
We have been having this problem for months and always assumed it was because of our somewhat complicated setup. I have just spent almost all of today making this into a simple example that can be...
14
1646
by: grabit | last post by:
Hi Peoples I must first, again thank Mary for her help over the last couple of days. I have the following sql that get me all the info i want so far, but have hit a wall when it comes to adding...
0
673
by: Mark Cooney | last post by:
Ok easy one for someone i'm sure. I have an SqlDataSource called dsMain and I have a Interger called CatID I am trying to get the "fkCatID" value from my dsMain but I keep getting hit with New...
0
1112
by: =?ISO-8859-1?Q?Arint=E9?= | last post by:
I have an xml that looks like this: <miniblog xmlns:s="miniblog.xsd"> <Blog> <Date>2007-10-10T12:00:00</Date> <Diary>This is a journey into sound 10/10</Diary> </Blog> <Blog>...
0
3549
by: rehanmomin | last post by:
Just to start off, I am writing a web application using C#. I have a Menu which is binded to an XML datasource. There are three menu items each with submenus and a textbox where I want to display...
0
629
by: Lloyd Sheen | last post by:
Ok what I am doing is simple (I thought). I have a linq to sql set of classes in my project. I am attempting to use one of the classes as datasource. No big problem except that I need a...
0
7070
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...
0
7316
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...
1
6976
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...
0
5566
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,...
1
4993
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...
0
3160
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...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
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 ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.