You need to change it to this:
protected void Login_Click(object sender, EventArgs e)
{
MyServices.CIUtilityWs gs = new MyServices.CIUtilityWs();
var result = gs.GetServerTime();
}
Set you a break point on the bottom bracket and hover over "result" to see what is...
I am building a windows application and need to bind the data in a dataset to a DataGridView. I keep getting a grey screen. Can someone please help me with this???
Dim ds As New DataSet
Dim BS2 As New BindingSource()
BS2.DataSource = ds
dg1.DataSource = BS2...
Here is my problem: I have populated my dataset from an XML document. I have verified that the data is in the dataset. I have set the datasource for the databindingSOurce to be " BS1.datasource = ds.Tables(0)"
I then set the Datasource for the DataGridView to BS1
And All I still get is a...
I want to use vb.net to write some services for our Windows server 2003.
Does any body know if Windows Server 2003 supports DotNet applications?
Without any major changes to the server that is.
Thanks in advance!
Webwzrd
Anyone know how to progmaticly get the information from the wireless network that a computer is connected to ie(SSID, Signal Strength, etc.)? I know that it's possible, but I just can't figure out how to do it. Any help would be greatly appreciated.
I haven't needed to do this in DOT.NET until now. Anyone know how to change the page background color using the code behinde???? I had the folowing code sample, but it dosent seem to work:
bodyElement.Attributes("bgColor") = "Gainsboro"
I also set the page Body tag to run at server.
Any...
Anyone know how to trap the browser print command in .NET using VB?????? THought I had it figured out, but I guess not. Any help would be appreciated! :-)
Thanks!
You know....there is such a thing as over kill! :-)
Her is how I did it:
First I added the following JavaScript to my page:
<script language="javascript">
<!--
function PrintMe()
{
document.Form1.btnSave.style.visibility = "hidden";
window.print();
}
//-->
</script>
Then I...
I hope someone can help me with this.
I need to get a list of current session variables and their values for each page. I need it for bug tracking. Every thing I have tried has failed. Any ideas would be greatly appreciated!
Thanks!
Bob
I have writen an custom Error Logging HttpModule and successifully added it to the web.config file. the trouble is that I can not seem to pass variables (Keys) to the module. In this case it is a database connection string.
This is the code I' using in the web.config file:
<configSections>...
Did you set up the folder for Web Sharing ? I have seen this cause issues like your describing. Also, even though you have given the .NET user account accesss to the file, you probably haven’t given the WebUser account access.
Hope this helps !
Webwzrd
Can someone please give me an example of a connection string for a fox pro database located on another server?
I have tried "\\MyOtherServer\D:\ My.DBC"
I keep getting an invalid Path or file name error.
I have verified the path several times. Any help
would be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.