|
How can i access the url of a reporting service?
I have a button, and when you click it, it should get the one report from SSRS.
A help/reply will be much appreciated.
|
|
|
|
|
can some one tell me how to compare textbox value if the same with database value..
textbox1.text == dr1["password"].tostring();
dr1 is datarow..
everytime i run the program even if the value of the are the same it still exits...
for example if textbox1.text = "password" and dr1["password"] value is also "password" the program says there not the same
thanks
ginji
|
|
|
|
|
1. Make Sure There is no space in the text , means infront and in the end. some times its makes a big issue.
2. try it
if(textbox1.text.equals(dr1["password"])<br />
{<br />
}
|
|
|
|
|
thanks... but it still the same output..
|
|
|
|
|
could you please put the code block over here, which will be helpful for us to give some solluation.
|
|
|
|
|
if(string.Compare(textbox1.text.Trim(),dr1["password"].tostring().Trim()) == 0)
|
|
|
|
|
Hi navaneeth,
is there any thuig wrong with this
if(textbox1.text.equals(dr1["password"])<br />
{<br />
}
|
|
|
|
|
|
|
anyone who have an idea what is the concept of using the web service as a datasource of a reporting service? How can i implement that?
Or maybe the question is, how can i use the web service as a datasource of a reporting service.
Thanks guys!
|
|
|
|
|
ewin wrote: Subject: A little help
First of all , never put this type of subject , always try to give proper subject that can easily understandable of your question by all Forum member.
ewin wrote: how can i use the web service as a datasource of a reporting service.
Try This[^]
|
|
|
|
|
ooops... I'm really sorry
|
|
|
|
|
im a first year student,taking up Information Tech. here in philippines..our instructor gave us two weeks to get a code from the problem he had given to us..
from Binary system to Decimal system..
the code i made is:
Get the code : 5
scanf("%d",&counter);
for (counter=1;counter < 4;counter++);
{
printf("input element [%d]",counter);
scanf("%d",binary[counter]);
please help to solve my problem..
"Doing your Best is better than being the BEST."
|
|
|
|
|
This is the C# forum. You may want to ask this question in the C++/MFC forum, although I don't think you'll find anyone willing to do your homework. If you ask a specific question, you're likely to get a helpful reply.
/ravi
|
|
|
|
|
Hello,
1st, sorry for such a simple question...well maybe simple
I'm new to c# and especially xml.
I'm using an XmlTextReader to loop through an xml document,
using if statements to "stop" at certain nodes.
once I stop at certain nodes, I need to update one of the attributes.
How can I update a single attribute
while (CashReader.Read())
{
// Move to first element
CashReader.MoveToElement();
if (CashReader.Name == "Shopper")
{
CashReader.MoveToAttribute(i);
if (CTFReader.Value == frmLogin.vID)
{
i=2
CashReader.MoveToAttribute(i);
//I NEED TO UPDATE SHOPPER HERE
if (CashReader.Value == "")
{
//THIS IS WHERE I WANT TO INSERT THE CODE TO UPDATE THE ATTRIBUTE
CTFReader.Close();
thank you in advance for the help
JC
|
|
|
|
|
I suggest using an XmlDocument and its .Load method instead.
|
|
|
|
|
ok, but if I load the document then I
need to go to a certain location depending on the information a user enters in a textbox
I tried the below code, but I get an error
"The process cannot access the file 'file.xml' because it is being used by another process."
XmlDocument upd = new XmlDocument();
upd.Load("file.xml");
XmlAttribute AttrUpd = upd.CreateAttribute("value");
AttrUpd.Value = "35.00";
upd.Save(file.xml);
thanks
|
|
|
|
|
nyjcr wrote: XmlDocument upd = new XmlDocument();
upd.Load("file.xml");
XmlAttribute AttrUpd = upd.CreateAttribute("value");
AttrUpd.Value = "35.00";
upd.Save(file.xml); //THIS IS WHERE I GET THE ERROR
It works fine at my end. But your code won't add attribute. You are not appending the attribute to any of the node. So you don't find this attribute in the file. Use XPath or upd.GetElementsByTagName() to get node, and use node.Attributes.Apped() . Call Save() then.
|
|
|
|
|
Hello everyone, I'm new here, so I'll be making very dumb questions...but in a couple of months I will definitely be answering questions xD.
I have an issue with some code, but i don't know how to:
a) verify that the Request object is not null
b) then make sure that the length of the ServerVariables collection is greater than zero
I got the following error:
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
Request information:
Request URL: http:
Request path: /Default.aspx
User host address: x.x.x.x
User:
Is authenticated: False
Authentication Type:
Thread account name: x\aspsqlhost
Thread information:
Thread ID: 4
Thread account name: x\aspsqlhost
Is impersonating: False
Stack trace: at _Default.Page_Load(Object sender, EventArgs e) in x:\x\x\x\Default.aspx.cs:line 40
And they recommend me this:
You could verify that the Request object is not null, then make sure that the length of the ServerVariables collection is greater than zero before trying to access a specific element of the collection.
here's the code:
if (!User.Identity.IsAuthenticated)<br />
{<br />
if (Request.ServerVariables["HTTPS"] == "on"
|| (Request.ServerVariables["HTTP_HOST"].Contains("localhost")))<br />
{<br />
bla bla bla;<br />
}<br />
}
|
|
|
|
|
Member 1850006 wrote: if (!User.Identity.IsAuthenticated)
{
if (Request.ServerVariables["HTTPS"] == "on" //LINE 40
|| (Request.ServerVariables["HTTP_HOST"].Contains("localhost")))
{
bla bla bla;
}
}
ServerVariables is null, check for it (I doubt this is the problem)
if(Request.ServerVariables != null &&
(Request.ServerVariables["HTTPS"] == "on"
|| (Request.ServerVariables["HTTP_HOST"].Contains("localhost"))))
What are you trying todo? We might need to see more of your code than just the few lines near the error
-Spacix
All your skynet questions[ ^] belong to solved
I dislike the black-and-white voting system on questions/answers.
|
|
|
|
|
Basically that is the login page.
if the user has the certificate installed the page displays the login screen over https, if not, he is over http and asked to go to https.
|
|
|
|
|
|
I am trying to implement some UDP based network communication protocol.
It's error prone a a network sniffer will greatly help me understand wha't going on (sometimes I don't get any messages...)
I found this one which (unfortunately) works only on XP:
http://www.codeproject.com/KB/IP/CSNetworkSniffer.aspx
Thanks to it I was able to make my project go as far as receiving meaningfull server answer on XP.
However on Vista the server doesn't seems to answer me
(UDP being disconnected it's hard to know what's going on...)
Anyway, any tips on how to do packet sniffing on Vista???
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
|
Indeed:
http://www.wireshark.org[^]
Awesome product, thanks!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|