|
Exelioindia wrote: When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros with the reversing of List<> ASSEMBLY REFERENCE MISSING, some of the namespace missing errors. How to handel this suitaion and solve the issue with in less time
Obviously, if you get those errors, the server will, too. The best thing is in future to establish your target framework before you start. For now, you need to fix those errors.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
HI
i am working on cms. i want to generate the menu and menuitem dynamically.
i mean that the sequence and page heirarchy is pass by administrator.
as per sequence and page heirarchy menu would be generate.
for example.
you first pass the about us page in menu. so the first menuitem is about us.
second and third onwards.
now suppose thier is page namely product which contain other page product description
then when i pass the heirarchy page should be generated as per the sequence and
heirarchy pass.
hope full favorable replay soon,
keyur
|
|
|
|
|
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
N!dh!
|
|
|
|
|
Hi,
Try setting the "EnableViewStateMac" property of the <%@Page...%> attribute to False.
Kind Regards
Pratik Shah
|
|
|
|
|
I have try this in web.config
<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" EnableViewStateMac="false"/>
it didn't work.
i have tried this on perticular page also but it didn't.
N!dh!
|
|
|
|
|
Hi Every body...,
i have problem with CSV.How to Coverting data in a table to CSV file.
(i am using Sql2005 and Vs2005 asp.net ajax,C#)
Please Help Me.........,
|
|
|
|
|
The fact that you mention AJAX makes me worry that you don't understand any of hte things you are using.
you get your data from SQL Server, and you write it to a file, with a comma between each value and a new line between each line. It's really that simple. Which bit are you stuck on ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
1) Using a datareader to directly read the data and write the file yourself
2) Using a DataTable/DataAdapter combination to load the data and write the file yourself
3) Using Sql's built-in export feature to write the file
4) Using Sql's ability to output Xml and using an XSL Transformation to write the file
There, that should give you some google fodder.
Ive probably missed a few.
|
|
|
|
|
Hi,
I m trying to retrieve address book of hotmail using the api.
I m getting error 404.
Can any one help me out with this?
here is my class file
public class LiveExtract : IMailContactExtract
{
#region IMailContactExtract Members
public bool Extract( NetworkCredential credential, out MailContactList list )
{
list = new MailContactList();
bool result = false;
try
{
TicketAcquirer ticketAcquirer = new TicketAcquirer();
string ticket = ticketAcquirer.GetTicket( credential );
if ( string.IsNullOrEmpty( ticket ) )
{
return false;
}
UriBuilder urib = new UriBuilder();
urib.Scheme = "HTTPS";
urib.Path = string.Format( "/{0}/LiveContacts", credential.UserName );
urib.Host = "cumulus.services.live.com";
//urib.Host = "hotmail.com";
//urib.Host = "login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1235053953&rver=5.5.4177.0&wp=MBI&wreply=http://mail.live.com/default.aspx&lc=1033&id=64855&mkt=en-US";
urib.Port = 443;
HttpWebRequest request = ( HttpWebRequest ) WebRequest.Create( urib.Uri );
string authHeader = string.Format( "WLID1.0 t=\"{0}\"", ticket );
request.Headers.Add( "Authorization", authHeader );
WebResponse response = request.GetResponse();
if ( response.ContentLength != 0 )
{
XmlDocument xmlDocument = new XmlDocument();
xmlDocument.Load( response.GetResponseStream() );
XmlNodeList contacts = xmlDocument.SelectNodes( "/LiveContacts/Contacts/Contact" );
foreach ( XmlNode node in contacts )
{
//XmlNode firstName = node.SelectSingleNode( "Profiles/Personal/FirstName" );
//XmlNode lastName = node.SelectSingleNode( "Profiles/Personal/LastName" );
//XmlNode firstMail = node.SelectSingleNode( "Emails/Email/Address" );
//MailContact mailContact = new MailContact();
//mailContact.Name = string.Format( "{0} {1}", firstName.InnerText, lastName.InnerText );
//mailContact.Email = firstMail.InnerText;
//list.Add( mailContact );
string firstName = node.SelectSingleNode("Profiles/Personal/FirstName") != null ? node.SelectSingleNode("Profiles/Personal/FirstName").InnerText : null;
string lastName = node.SelectSingleNode("Profiles/Personal/LastName") != null ? node.SelectSingleNode("Profiles/Personal/LastName").InnerText : null;
string email = node.SelectSingleNode("Emails/Email/Address") != null ? node.SelectSingleNode("Emails/Email/Address").InnerText : null;
if (!string.IsNullOrEmpty(email))
{
MailContact mailContact = new MailContact();
mailContact.Name = string.Format("{0} {1}", firstName, lastName);
mailContact.Email = email;
list.Add(mailContact);
}
}
}
result = true;
}
catch
{
}
return result;
}
#endregion
}
Vijay V.
Yash Softech
|
|
|
|
|
hi i am using following function to get date..
gmdtrdate.Text = DateTime.Today.Date.ToShortDateString();
it is returning me 2/2/2008
can i get it like 02/02/2008 or i will have to attach 0 manually???
umerumerumer
|
|
|
|
|
use
Response.Write(String.Format("{0:MM/dd/yyyy}", DateTime.Now()));
The miracle is this--the more we share, the more we have.
|
|
|
|
|
i dont want to hard code these values i just want to pick according to the regional date settings... if american then MM/dd/yyyy if british then dd/MM/yyyy
....
umerumerumer
|
|
|
|
|
I checked on mine, its returning 21-02-2009. And It depends on client regional settings.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
am working in online application asp.net with c#..
i have to create dynamic pages...
that means i have to update day to day events...
how can i do this...
send me suggestions...
thanks in advance...
|
|
|
|
|
Follow these instruction. It may help you.
(1) Use database to save contents.
(2) Create admin panel to add/update contents.
(3) Create dynamic link from database for menu/user prospects.
Go ahead... It is very easy...
The miracle is this--the more we share, the more we have.
|
|
|
|
|
thx for ur rply it is usefull to me...
i follow that...
can u provide sample links..
|
|
|
|
|
|
i am searching...
but i could not find any use full link to my work yet...
|
|
|
|
|
Hello frnds,
I have a problem...
In my project we have to enter the user's credentials.eg.
Name
Father's name
Mother's name
After taking the credentials we have button "print".Whenever the user presses the button , A preview will be shown first.
And the preview will be on the word document.The word document is in the fixed format.eg.
Name
_____________
Father;s Name
______________
Mother's Name
_________________
So my problem is I am able to have....
Name
Father's Name
Mother's Name
and the desired o/p is
Name
_____________
Father;s Name
______________
Mother's Name
_________________
I am unable to read the line separation in the word document..
Please give me some guidance to do this....
cheers,
sneha
|
|
|
|
|
Hi i have public void method in my back end code part...,
In that i am getting some datas and binding into a table...,
Now my question is, i called the method on my aspx page itself, like this...,
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td id="E" align="center">
<%loadWatchlist(this, null);%>
</td>
</tr>
</table>
i know,can i call the method on my page load also,like this?,
If(!isPostBack)
{
loadWatchlist();
}
whats the difference between the two ways of call...,
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
Good Question...
In my view, there is no difference between them except 1st one is conventional ASP Style and next one is new .NET style.
The miracle is this--the more we share, the more we have.
|
|
|
|
|
Hi sir,
I want to embed flash player in asp.net web page and what tag are used.
sourabh
|
|
|
|
|
i think it's nothing diffirent to do it in normal html.
|
|
|
|
|
hello how can retrieve data in database
i want fill all the check box selected from database
use JavaScript asp.net
|
|
|
|
|