Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:655650
More Search Options
RSS Available
Matching Posts
Re: Problem with ObjectDataSource and Strongly Typed Datasets
One method would be to use the DataObjectMethodAttribute attributes and Partial Classes Namespace DataSetNameTableAdapters 'Change DataSetName to the name of your dataset Partial Class TableNameTableAdapter ' Change TableName to the name of your table <System.ComponentModel.DataObjectMethodAttribute _ (System.ComponentModel.DataObjectMethodType.Select, True )> _ Public Function MyFunctionName(MyVariables) As DataSet.TableNameDataTable 'Change TableName with the name of your table
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 7/10/2007
Re: Adding a file upload control into a datagrid footer
Yes it is, however, there is no datagrid in 2.0 it is called a dataview
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: How to use asp:BoundField to display when the object contains another object
A quick workaround would be to expose the properties in the address class to the properties in the contactinfo class public Address sAddressLine1 { get { return _streetAddress.AddressLine1; } set { _streetAddress.AddressLine1 = value ; } } public Address cAddressLine1 { get { return _contactAddress.AddressLine1; } set { _contactAddress.AddressLine1 = value ; } }
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: Get "delete" answer before delete "File" in GridView
Deleting would give you access to the path of the file you want to delete without making another database call, you could pull the path from the picture in the row, to do this you will need to drill down to the control in the cell and find the image control and get the path from the imageURL
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: I need Help with DropDownLists. Can't get Selection to post data
Ok, tracing the posted code you have the following, a dropdownlist that is populated with the values in the vcDepartment list In your SQLDataSource1 then you have the select statement SELECT EmployeesOnCall.iEmployeeID, EmployeesOnCall.vcDepartment, EmployeesOnCall.vcEmployeeName, OnCallActivity.dtOnCallStart, dtOnCallEnd, EmployeesOnCall.vcPhNumberWk, vcPhNumberHome FROM EmployeesOnCall INNER JOIN OnCallActivity ON EmployeesOnCall.iEmployeeID = OnCallActivity.iEmployeeID WHERE
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: I need Help with DropDownLists. Can't get Selection to post data
The bit value may be comming from the field < asp:Parameter Name="contract" Type="Boolean" /> in the example at the link you posted. This could happen if you have a field name the same as the one above with a different datatype in your database, and you copied and pasted and forgot to change the value.
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: change a textbox to DropDownList in formview
you can delete the textbox for the CategoryID also
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: change a textbox to DropDownList in formview
I am not sure how familiar you are with databases. A better solution, if you do not have it this way already, would be to create your two tables in this manner. Category: CategoryID as integer ; set this to be a primary key with identity set to true for sql server, or auto increment for MS Access. CategoryLabel as String for MS Access or nvarChar(50) for sql server. Code Table: CodeID as integer, set up just like the CategoryID, Info as String Code as String CategoryID as integer; do not set up as
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: How to use asp:BoundField to display when the object contains another object
the address type is not displayed that i could see, but you should be able to us dot notation to access the properties/fields of the address type. StreetAddress.FieldName
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Re: How to use asp:BoundField to display when the object contains another object
< Fields > < asp : BoundField DataField ="StreetAddress" HeaderText ="St r eetAddress"/> < asp : BoundField DataField ="EmailAddress" HeaderText ="EmailAddress"/> < asp : BoundField DataField ="FaxNumber" HeaderText ="FaxNumber"/> </ Fields > added the StreetAddress Field name, and an "r" was left out of the headertext, the headertext has nothing todo with the binding that i know of , was just a typo
Posted to
Data Presentation Controls
(Forum)
by
Scotty_C
on 5/25/2006
Page 1 of 2 (14 items) 1
2
Next >
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online