Click here to Skip to main content
15,891,033 members

Videos


Page 5 of 26
1 2 3 4 5 6 7 8 9 10


81. -Regular Expression formula problem-
I hope this give you the general idea for doing the job : string pattern = @"\s]+))?)+\s*|\s*)/?>"; Regex regex = new Regex(pattern, RegexOptions.Multiline); StringBuilder sb = new StringBuilder(); ...
Amir Mahfoozi Updated: 29 Jan 2012
Rating: ( (No votes))
82. Client side application help requested
Does this help you...
Database Development » SQL Server »
Amir Mahfoozi Updated: 29 Jan 2012
Rating: ( (No votes))
83. Null Sort Issues on Datagridview
try this one :Dim sortedList = custList. OrderBy(Function(c) Not c.LastOrderDate.HasValue). ThenBy(Function(c) c.LastOrderDate)DataGridView1.DataSource = sortedList.ToList()Extracted from here...
Programming Languages » Visual Basic »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: ( (No votes))
84. subdomain uploading and its process
As I understood your question you can add sub domains in you web space provider control panel.Contact your web space provider and ask them whether if you can add sub domains or not.It depends on your web hosting provider that if its free or not. May be you should charge them for adding...
.NET » »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: ( (No votes))
85. a problem related to data file handling
So start by defining a struct for each element then make an array of those structs.Then load data from the storage file and fill that array at program startup.After that let user input their desired atomic number.According to the input number search that array and show the details of...
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 4.89/5 ( (2 votes))
86. How can make an array in prolog
Have you read these pages :http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/2_7.html[^]http://www.dobrev.com/help/ver/Define_arrays.html[^]http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/contents.html[^]Use Google to find more resources.
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (1 vote))
87. how do i upload files on database
Here is the code to insert binary data into DB : SqlConnection cn=new SqlConnection("put_conn_str"); String query = @"INSERT INTO ImagesStore (OriginalPath,ImageDarta) Values (@path,@data)"; SqlCommand cmd=new SqlCommand(query,cn); //read file byte...
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (1 vote))
88. In my Existing Database 504 tables
To view objects which are depend on a table :EXEC sp_MSdependencies N'TableName', null, 1315327To view objects on which a table depend on :EXEC sp_MSdependencies N'TableName', null, 1053183Extracted from here...
Database Development » SQL Server » SQL Server 2008
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (1 vote))
89. how to realese memory in desktop application
You should always track opened word and excel applications to close them when your application exits.This is the code to release the word or excel application. This is for word application but change and use it for excel applications : wordApplication.Quit(SaveChanges:...
Desktop Programming » Windows Forms »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (3 votes))
90. honeypots intrusion detection system
Honeypots are deliberately loosely defended computer systems to identify and trap malicious users in computer network.Read more about them...
Forth.NET » »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (1 vote))
91. How to browse directory(folder not individual file) in asp.net web application
Directory: ...
Web Development » ASP.NET »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: ( (No votes))
92. Difference between Sql Server Express and MySQL to be used in vb.net
Have a look at DBMS comparisons from a fair view : http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems[^]And this one which may help you, but it seems one-sided :http://dev.mysql.com/tech-resources/articles/move_from_microsoft_SQL_Server.html[^]Hope it...
Database Development » MySQL »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (2 votes))
93. switch writing language
You can set your application language in your main window constructor or its load event :InputLanguageManager.SetInputLanguage(this, new CultureInfo("en-US") );To see the available list of languages drop a list box in your page and sets its itemsource :listbox1.ItemsSource =...
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 4.73/5 ( (3 votes))
94. How to move the grid view cell from one position to another (at Run Time) using buttons
You can set DisplayIndex of each column :http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.displayindex%28VS.80%29.aspx[^]Also have a look at this page :http://stackoverflow.com/questions/2021739/net-reorder-datagridview-columns-at-runtime[^]Hope it helps.
Programming Languages » Visual Basic »
Amir Mahfoozi Updated: 28 Jan 2012
Rating: 5.00/5 ( (1 vote))
95. how to calculate the required time to insert 1 record in SQL
This approach can give you a good approximation for about 10 million record insertion time:Compute the insertion time for 1000 record and then multiply the result to 10796 and you will have the insertion time for 10796246 records approximately.Change 1000 to a greater value if it took...
Database Development » SQL Server »
Amir Mahfoozi Updated: 27 Jan 2012
Rating: 5.00/5 ( (1 vote))
96. sine series Explanation
Apparently sine of 90 degree is one and not 1.57.[After CPallini's comment]Here is a working one: int i = 0, iterations, sign = -1, currentN = 1, factorial = 1; float power, radian, sum, degree; Console.Write("\nAngle(D) ? "); ...
Amir Mahfoozi Updated: 25 Jan 2012
Rating: 5.00/5 ( (4 votes))
97. asp.net and ado.net questions
Here are some pages which may be useful for you :http://www.4guysfromrolla.com/articles/050405-1.aspx[^]http://www.sitepoint.com/dataset-datareader/[^]http://ramanisandeep.net/2009/09/21/datareader-vs-dataset/[^]Google for DataReader vs DataSet for more results.
ADO.NET » »
Amir Mahfoozi Updated: 25 Jan 2012
Rating: 5.00/5 ( (2 votes))
98. Problem in join between two tables
Here it is :select d.depid, count(*) cnt from tblDep d inner join tblEmp e on d.depid = e.depidgroup by d.depidhaving count(*)>4
Database Development » SQL Server »
Amir Mahfoozi Updated: 25 Jan 2012
Rating: ( (No votes))
99. which Better ? ASP OR PHP
Read these pages...
Amir Mahfoozi Updated: 25 Jan 2012
Rating: 5.00/5 ( (3 votes))
100. How do i get sum of amount group by Day
Here is the solution :select * from (select [DAY],name, amount from Dummy) upt pivot(sum(amount)for name in ([A], [B])) as pPIVOT documentation :http://msdn.microsoft.com/en-us/library/ms177410.aspx[^]Hope it helps.
Database Development » SQL Server »
Amir Mahfoozi Updated: 25 Jan 2012
Rating: ( (No votes))

Page 5 of 26
1 2 3 4 5 6 7 8 9 10