|
No, they were written and read unchanged.
_________________________________
Please inform me about my English mistakes, as I'm still trying to learn your language!
|
|
|
|
|
Hi, Sir and Madam
How many rows a table in SqlServer can contain?
Sorry for bad English
Thank You.
|
|
|
|
|
The limitation would probably be the size of the disk where the database is stored.
There is no problem storing several million rows, though.
---
b { font-weight: normal; }
|
|
|
|
|
I have a little question regarding WebRequests i hope you can help me with.
I'm using a WebRequest to download some files from a remote server. Since these files can be quite big, i wondered if there's a way to "follow" the progress of the file transfer?
Regards
|
|
|
|
|
You can try if reading the response as a stream enables you to get the response as it arrives. I'm not sure if the entire response is recieved before the GetResponse method returns r not.
Here is an example from MSDN:
WebRequest myWebRequest = WebRequest.Create("http://www.constoso.com");
WebResponse myWebResponse = myWebRequest.GetResponse();
Stream ReceiveStream = myWebResponse.GetResponseStream();
Encoding encode = System.Text.Encoding.GetEncoding("utf-8");
StreamReader readStream = new StreamReader( ReceiveStream, encode );
Console.WriteLine("\nResponse stream received");
Char[] read = new Char[256];
int count = readStream.Read( read, 0, 256 );
Console.WriteLine("HTML...\r\n");
while (count > 0) {
String str = new String(read, 0, count);
Console.Write(str);
count = readStream.Read(read, 0, 256);
}
Console.WriteLine("");
readStream.Close();
myWebResponse.Close();
---
b { font-weight: normal; }
|
|
|
|
|
Thanks! i will try to experiment with that!
|
|
|
|
|
Hi,
Hi,
is there any way, to organize files in a VS .NET project other than the way VS does it? I want to habe a seperate folder for my *.cs files and another one for the project files like *.proj and *.sln. When I create these folders on my hardsisk and move the source and project files accordingly, set the new locations in VS, then VS copies them back into the old directory.
Any solution to this? This was easy in visual studio 6.0 but I don't know how to do in in .NET.
Second question: When i have some local source files and add some external references to my project optione (i.e. source files on a server), vs doesn't seem to recognize them when i want to use their namespace. When I add them via "add - existing item", vs automatically copies them to my project folder, but I want them to be only on the server.
|
|
|
|
|
Solution 1: Create Folder in your projetc and keep your .cs files in that folder. Right lick on project and select "New Folder"
Soultion 2: Create an assembly of external classes and install in GAC. Now, you could access the code without copying to local directory.
Sanjay Sansanwal
www.sansanwal.com
|
|
|
|
|
Hi,
Does anyone know how to copy rows from one datatable to another?
What I want to do is combining the rows from many datatable
into one.
Thanks in advance.
|
|
|
|
|
You should write a program that connect tp database and choice the table to copy by using While NOT EOF to insert to another table
Nothing
|
|
|
|
|
Is there a way to hide the row indicator arrow in a DataGrid?
|
|
|
|
|
U can remove that column in the datagrid itself by playing with the TableStyles...
tableStyleObj.RowHeadersVisible = false;
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
I have a form with a datagrid. I am setting the datasource of the grid and with query that returns 4 columns. How can I control the datagrid column widths so that I can fill the entire datagrid region instead of having a large blank space at the right of the columns due to their widths are less than the datagrid width?
|
|
|
|
|
You will have to redesign the TableStyles for the datagrid and re-apply them... Check for TableStyle related examples
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
I want to create error logger file which will contain every error message, file name, method name and line number this is first
Second I want to categorized this errors, E.x (High, Low ..and so on) so if any one have any idea please help me
i want to know also microsoft error categories
|
|
|
|
|
You could start off with coding all of your functions with try{} catch{} statements. Then, each time an error occours you can write the error to a file.
|
|
|
|
|
rmedo wrote:
I want to create error logger file which will contain every error message, file name, method name and line number this is first
In debug or release mode?
rmedo wrote:
Second I want to categorized this errors, E.x (High, Low ..and so on) so if any one have any idea please help me
i want to know also microsoft error categories
I don't know if Microsoft has "error categories". I'd let it to user of your error logger to decide which thrown exception has High category or something. e.g. myLogger.Log(Exception ex, Category c). I've done something similar, you can take a look here[^].
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|
|
|
Hi ,
I need to insert multiple rows in a database table.
Is there any way out in c# using oracleConnection.
Thanks
Mohit
|
|
|
|
|
I know it is possible to send mail through the CDONTS API - which sends mail through the Outlook Express account configured in the PC.
Similarly can I send the mail using the account configured in the Microsoft Outlook of the PC??? (which connects me through the Exchange Server)
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
S P S wrote:
I know it is possible to send mail through the CDONTS API - which sends mail through the Outlook Express account configured in the PC.
Are you sure? Generally CDONTS is used to send mails using the SMTP server installed on the server.
If you actually can use an account from Outlook Express, you should be able to use an account from Outlook the same way. They are just different mail programs.
---
b { font-weight: normal; }
|
|
|
|
|
hi dudes;
iam building chat application and i want to add voice conferencing !
i need to get audio data instantly from my microfone and converts these data to array of bytes or get it as packets to encode it and then write them to a network stream any body can help me about this topic please iam in bad need for help about this.
If you can help me please refer to me with an article or code about this
Thanks
Miss With The Best And Die Like The Rest
|
|
|
|
|
I was making a metronome program, which was intended to merely draw a line with the top point moving back and forth, but i can not get it to work.
I have tryed a number of methods, which will
1: cause the program to crash (the line also moves to fast or
2: the line merely goes one was
If anyone has any ideas please help.
Thank you, Maxwell.
|
|
|
|
|
Use a timer to keep the pace. That will keep your program from using 100% cpu.
If you want a nice realistic movement, use a sinus function to calculate the position of the pendulum.
---
b { font-weight: normal; }
|
|
|
|
|
thank you for your help Guffa, it works find now.
|
|
|
|