Click here to Skip to main content
15,891,423 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Sub menu - How to write click event? Pin
Abhijit Jana28-Feb-10 20:42
professionalAbhijit Jana28-Feb-10 20:42 
GeneralRe: Sub menu - How to write click event? Pin
Paulraj G28-Feb-10 21:42
Paulraj G28-Feb-10 21:42 
GeneralRe: Sub menu - How to write click event? Pin
Abhijit Jana28-Feb-10 21:45
professionalAbhijit Jana28-Feb-10 21:45 
QuestionPackaging a web application Pin
Priyanka15 g28-Feb-10 16:26
Priyanka15 g28-Feb-10 16:26 
AnswerRe: Packaging a web application Pin
sashidhar28-Feb-10 20:13
sashidhar28-Feb-10 20:13 
AnswerRe: Packaging a web application Pin
Abhijit Jana28-Feb-10 20:21
professionalAbhijit Jana28-Feb-10 20:21 
QuestionRefreshing a datalist in the behind code gives conflict. Pin
macupryk28-Feb-10 16:03
macupryk28-Feb-10 16:03 
AnswerRe: Refreshing a datalist in the behind code gives conflict. Pin
Abhijit Jana28-Feb-10 20:27
professionalAbhijit Jana28-Feb-10 20:27 
You are getting this error because of DLThumbnails having two different dataSource. And the error message is saying the same thing.

If you check in codebehind,

macupryk wrote:
void BindThumbnails()
{
DataSet ds = new DataSet();
ds = GetBinaryImagesByProfileID.FetchAllImagesInfo(intGetProfileID, "omegaloveConnectionString");
DLThumbnails.DataSource = ds;
DLThumbnails.DataBind();
}


You are giving data source of DLThumbnails as ds.

On the other hand, in aspx page, you have created one more SQLDataSource,
macupryk wrote:
<asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="<%$ ConnectionStrings:omegaloveConnectionString %>"
selectcommand="sprGetBinaryImages" selectcommandtype="StoredProcedure">
<selectparameters>
<asp:parameter name="ProfileID" type="Int32" defaultvalue="0">


and you have also assigned the same SQLDataSource as the DataSource of DLThumbnails. Which causes the confiliction error. You can remove any one them. Just Remove DataSourceID="SqlDataSource1" From Datalist aspx code. It will work Smile | :)

Hope this will help you. Let me know if you need any more help.

Thanks !
QuestionWeb control which uses generics - how to use it from aspx page? Pin
Member 103390728-Feb-10 9:45
Member 103390728-Feb-10 9:45 
AnswerRe: Web control which uses generics - how to use it from aspx page? Pin
Abhijit Jana28-Feb-10 20:30
professionalAbhijit Jana28-Feb-10 20:30 
QuestionCan a DotNet2.0 webservice be called by ASP.net1.1 project??? Pin
K.Safvi28-Feb-10 7:50
K.Safvi28-Feb-10 7:50 
AnswerRe: Can a DotNet2.0 webservice be called by ASP.net1.1 project??? Pin
sashidhar28-Feb-10 20:06
sashidhar28-Feb-10 20:06 
GeneralRe: Can a DotNet2.0 webservice be called by ASP.net1.1 project??? Pin
K.Safvi28-Feb-10 22:04
K.Safvi28-Feb-10 22:04 
GeneralRe: Can a DotNet2.0 webservice be called by ASP.net1.1 project??? Pin
sashidhar28-Feb-10 22:16
sashidhar28-Feb-10 22:16 
QuestionHow to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson28-Feb-10 6:36
ONeil Tomlinson28-Feb-10 6:36 
AnswerRe: How to de-batch very large XMLDocument into bit size chunks Pin
Not Active28-Feb-10 7:33
mentorNot Active28-Feb-10 7:33 
AnswerRe: How to de-batch very large XMLDocument into bit size chunks [modified] Pin
Rutvik Dave28-Feb-10 8:33
professionalRutvik Dave28-Feb-10 8:33 
GeneralRe: How to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson2-Mar-10 4:48
ONeil Tomlinson2-Mar-10 4:48 
QuestionWeb Service Created by C#.net how to move from IIS to Apache? Pin
Fired.Fish.Gmail28-Feb-10 4:58
Fired.Fish.Gmail28-Feb-10 4:58 
AnswerRe: Web Service Created by C#.net how to move from IIS to Apache? Pin
Abhishek Sur28-Feb-10 5:47
professionalAbhishek Sur28-Feb-10 5:47 
GeneralRe: Web Service Created by C#.net how to move from IIS to Apache? Pin
Fired.Fish.Gmail28-Feb-10 21:56
Fired.Fish.Gmail28-Feb-10 21:56 
QuestionEnabling AJAX ComboBox ? Pin
paper6728-Feb-10 3:46
paper6728-Feb-10 3:46 
AnswerRe: Enabling AJAX ComboBox ? Pin
Not Active28-Feb-10 7:30
mentorNot Active28-Feb-10 7:30 
AnswerRe: Enabling AJAX ComboBox ? Pin
Rutvik Dave28-Feb-10 8:27
professionalRutvik Dave28-Feb-10 8:27 
QuestionWeb 2.0 Web form generator? Pin
KumarC32128-Feb-10 3:31
KumarC32128-Feb-10 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.