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
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...
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(); // From System.Text namespaceusing (StreamReader re = File.OpenText("abc.txt")) // Using makes sure the reader gets disposed correctly
string input = null;
while ((input = re.ReadLine()) != null)
sb.AppendLine(input); // StringBuilder has easy method to add new line and is alot faster than string concat
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")) // Using makes sure the reader gets disposed correctly
result = re.ReadToEnd();