|
Thanks for reply. The content of the link is talking about the using Client Certification. But over my side, I am using service account (NT Login Account) for the credential. My NT login is known by the opposite server. So when I run the web service, remote server knows my present to the service. But bad news is I am not sure how to make my code carry along with the credential.
really need more help...
thanks,
Lee Chuang.
|
|
|
|
|
hi everybody
I wanna to know how to generate a pdf report by code using c#.net
thank's 
|
|
|
|
|
|
Error: 80045901 Initializing SQL Server Reconciler failed. Minor error: 29045.
This is what I recieve when trying to sync with the SQL
server from my Pocket PC emulator. I register sscerp20.dll by using regsvr32 "C:\Program Files\Microsoft SQL Server CE 2.0\Server\sscerp20.dll. That hasn't
helped. Has anyone else seen this issue
or perhaps,found a solution for it?
Please help me
Thx,
fakhirov
|
|
|
|
|
Ols check with your SQL Server login name and password and try again.
this is caused because of that problem only.
Regards,
Satips.
|
|
|
|
|
hi,
I want to convert a word to pdf with tx text control but I have an error:
The following control could not be licensed: TXTextControl.ServerTextControl
The code I use is:
TXTextControl.ServerTextControl tx = new TXTextControl.ServerTextControl();<br />
tx.Create();
please help.
thanks
|
|
|
|
|
It seems that you don't have valid license. Perhaps you need to purchase it
|
|
|
|
|
Hi,
I am a self taught programmer who just knows there must be a simpler way of doing this:
<br />
DataRow[] drx = this.myWebLoggerDataSet.Tables["MonitorList"].Select("DBMonitorNumber = '" +gbi.ToString() +"'");<br />
gbMonitoredItem[gbi].Text = drx[0]["Name"].ToString();
Surely I don't need to use a DataRow to achieve this?
I can't figure out anything simpler though.
TIA.
Glen Harvy
|
|
|
|
|
If I'm not missing something, then there is really no simpler way as long as you stick to untyped DataSets.
With a typed DataSet it would be a bit simpler:
gbMonitoredItem[gbi].Text = this.myWebLoggerDataSet.MonitorList.FindByMonitorNumber(gbi).Name
In typed DataSets you have also the possibility to add your custom code (partial classes).
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
He'll still have to deal with DataRow objects (or rather objects derived from DataRow) at some point - it will just be hidden away.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
Ok - that fills in the gaps in my broken knowledge
I could use that but I would need to index that column etc so at the end of the day it's probably just as easy to do it "the long way".
Linq does look to be the eventual simplification.
Thanks for the pointer - much appreciated.
Glen Harvy
|
|
|
|
|
Glen Harvy wrote: Surely I don't need to use a DataRow to achieve this?
It seems sensible for me that the Select method returns an array of DataRow objects.
Glen Harvy wrote: I can't figure out anything simpler though.
Because it isn't available yet. LINQ is probably what you are looking for. It will be available in Visual Studio 2008 ("Orcas")
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
I just thought it was overkill as I know only one row will be rerurned (I could have used find I guess).
Linq is probably the answer of course.
Thanks for your input - much appreciated.
Glen Harvy
|
|
|
|
|
How to create controls dynamically?
|
|
|
|
|
Control c = new Control();
All the best,
Martin
|
|
|
|
|
Thanks....
I have developed a datagrid control dynamically with pre defined number of columns and rows and docked it to a new form form2. But the form2 comes in usual form size i.e small and all the cells of the datagrid are not visible as it has scrollbars. I want to see all the cells within the form so I need to increase the size of the form2. Please help me...
Sangram
|
|
|
|
|
Hello,
I would suggest, to handle the SizeChanged event of the Control and modify the Forms Size.
this.Size = new System.Drawing.Size(x,y);
Or modify seperate:
this.Width
this.Height
All the best,
Martin
|
|
|
|
|
I think i answered this question in asp.NET forum
Please google it Google is your best friend
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 all
I am working in an image processing project and need a help in converting formats to .gif
When I convert any file to gif by the following way:
Bitmap bm =new Bitmap(FileName);
bm.Save(targetfilename, ImageFormat.Gif);
the resulting image from the previous code will be bad and has background.
Can anyone help me in this problem?
Mostafa Sayed
Software Developer
|
|
|
|
|
|
I am reading a page abc.txt
by following code::
StreamReader re= File.OpenText("abc.txt"
string input = null;
string str = null;
while ((input = re.ReadLine()) != null)
{
str = str + input;
}
But the formatting of page is breaking.
How can I read the page in the same format as it is???
please give me ans. it is very urgent..
hiiiiii
|
|
|
|
|
The result if this function will be one long string. You need to insert newline character after every line you read. Also, use StringBuilder they are faster
|
|
|
|
|
If you are using .NET 2.0 you can just use
string contents = System.IO.File.ReadAllText("abc.txt");
|
|
|
|
|
NO, I am using 1.1
hiiiiii
|
|
|
|
|
Eew, you do know we are already at .NET 3.0 and 3.5 is comming in a few months.
Oh well you should so something like:
StringBuilder sb = new StringBuilder();
using (StreamReader re = File.OpenText("abc.txt"))
{
string input = null;
while ((input = re.ReadLine()) != null)
{
sb.AppendLine(input);
}
}
string result = sb.ToString();
Oh StreamReader has a ReadToEnd() which does what I did here :P
string result = null;
using (StreamReader re = File.OpenText("abc.txt"))
{
result = re.ReadToEnd();
}
|
|
|
|