|
hi Pathan,
Thanks for taking interest on my query.
but i am getting the same error
i think problem with DataSet is not reading the data.
Server Error in '/Slideshow' Application.
--------------------------------------------------------------------------------
A column named 'link' already belongs to this DataTable: cannot set a nested table name to the same name.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.DuplicateNameException: A column named 'link' already belongs to this DataTable: cannot set a nested table name to the same name.
Source Error:
Line 42: XmlDataDocument xdoc = new XmlDataDocument();
Line 43: XmlTextReader Reader = new XmlTextReader("http://feeds.autoblog.com/weblogsinc/autoblog");
Line 44: xdoc.DataSet.ReadXml(Reader, XmlReadMode.InferSchema);
Line 45:
Line 46:
Ramesh
|
|
|
|
|
Hi,
I have created a website which will automatically refresh every 15 minutes. The website will have like 5 users logged in to the site all the day. It will work fine for 8-10 hours and sometimes the whole day. But when I return in the morning I will have the error message dispalyed on the screen that says Validation of viewstate MAC failed. I turned off the validation in the web.config but still it is giving the same error. Please let me know the solution.
THanks,
sridhar.
|
|
|
|
|
|
I have tried the suggestions that they have mentioned in the forums. I disabled the event validation in the web.config but still it is giving the error.
|
|
|
|
|
Hello Guys,
Can any one of you help me in passing stored procedure values to FormView --> ItemTemplate -->
I am unable to understand how to pass the values to PhotoID. Plz Help its an urgent task.
Regards,
dhulipudi
|
|
|
|
|
Don't use Urgent in the title.
only two letters away from being an asset
|
|
|
|
|
Hi Mark,
Its my anxiety made me write that. I got Stucked up there. Plz Help...
Regards,
dhulipudi
|
|
|
|
|
<img class="grayshade" src="getIt.ashx?PhotoID=<%#DataBinder.Eval(Container.DataItem,"PhotoIDcolumname") %>&Size=S" />
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Hello,
To be more specific I am giving the full details here.
Imran Thank you for your suggestion I made good progress. But I have a small doubt here... How to call a method GetPhoto() which is present in getIT.ashx through the below code.
I am able to pass PhotoID here using DataBinder.
<%#DataBinder.Eval(Container.DataItem,"SP_Ph_ID") %>
Please let know your suggestions in calling the GetPhoto() method.
Thanks!!
Dhulipudi
|
|
|
|
|
Hi,
Please be specific in your doubt. I have understood partially.
Bind the PhotoID value (Databinding). Use Eval() or Bind()
Regards,
Jay
|
|
|
|
|
Hi
In my application I got a desperate situation to use a query string value in to HTML(Source Page) not in .CS page.
Is it possible to do?
If possible,How? Suggest me an example.
Thank u
Chandu
|
|
|
|
|
I think you want to say in the javasipt CALL THIS FUNCTION where yo want to query string
function getParams() {
var index = document.URL.indexOf('?');
var params = new Array();
if ( index != -1 ) {
var nameValuePairs
=document.URL.substring(index+1,document.URL.lengt h).split('&');
for ( var i=0; i<namevaluepairs.length; i++="" )="" {
nameval="nameValuePairs[i].split('=');
params[nameVal[0]]" =="" nameval[1];
}
}="" return="" params;
}
=""
<div="" class="ForumSig">Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
|
Hi,
I am having problems with exporting datagrid data to excel. I am getting the popup with error "Internet explorer cannot download default.aspx . IE was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later." When I searched for the error in google, some have said that it happens if the site is SSL configured and have no-cache meta tag. The solution they offered is to remove no-cache tag. I did remove the meta tag but still it is giving the same error. The site is running on ASP.NET 2.0. Please let me know how I could solve this.
Thanks,
sridhar.
|
|
|
|
|
Once try this
datatable dt=new datatable();
dt=objndf.getdata();
Response.AddHeader("content-disposition", "attachment;filename=" + ListName + ".xls");
Response.ContentType = "application/vnd.xls";
StringWriter sw = new StringWriter();
HtmlTextWriter htw = new HtmlTextWriter(sw);
GridView gv = new GridView();
gv.DataSource = dt;
gv.DataBind();
gv.RenderControl(htw);
Response.Write(sw.ToString());
Response.End();
gv.Dispose();
|
|
|
|
|
hi,
I want to create a copy of same page when i click a button it has to add to the solution explorer page
|
|
|
|
|
Have you tried the solution explorer context menu item named "Copy" or it that too obvious?
only two letters away from being an asset
|
|
|
|
|
When the user click a button it has to create a page and it must add to the solution explorer ok
|
|
|
|
|
When the user of your web application clicks on a button you want a copy of the page to be added to the solution explorer? Is this correct?
Not possible.
only two letters away from being an asset
|
|
|
|
|
OK, then you need to ask how to fix it. The most sensible thing to do is probably to just kill a session when someone logs in again, otherwise they can be locked out while waiting for a timeout.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
The Ajax Toolkit has some very intuitive examples for you.
Ajax Toolkit[^]
Cheers
An American football fan -
Go Seahawks!
Lil Turtle
|
|
|
|
|
Hi,
I have a requirement where i have the xml file in the clientside.I need to update the xml file into the database where i make use of dataset ..Is there any method for accessing the clientside xml file into the dataset.
Any help is appreciated..It's an urgent requirement for me...
|
|
|
|
|
I think one way is to Uploading the Xml file to server side store it there then read the file in the dataset pass dataset to Database if it stores successfully delete xml file from server
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|