• Login

Snippets

04
object objFSO; SetobjFSO = Server.CreateObject("Scripting.FileSystemObject"); // Get the folder object associated with the directory object objFolder;...

[Read the rest of this article...]

Posted in: C Sharp - C#
17
Bind values from a custom table to a CheckBoxList bound from a DNN list public void UpdateTrueFalseQuestions() { try ...

[Read the rest of this article...]

28
/// <summary>  /// Returns the first day of the next month. /// </summary> /// <example> /// i.e. If start date is 9/27/2009 ...

[Read the rest of this article...]

Posted in: C Sharp - C#
21
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES (...

[Read the rest of this article...]

10
switch(myNumber)       {          case "1":   // DO SOMETHING ...

[Read the rest of this article...]

Posted in: C Sharp - C#
06
public string get_image(string product_ID) {  string functionReturnValue = null;  HttpWebRequest req = default(HttpWebRequest);  req = ...

[Read the rest of this article...]

HttpWebRequest, Images, GetResponse()
05
ALTER TABLE MyTableName ADD CONSTRAINT DF_MyTableName DEFAULT GETDATE() FOR MyColumnName SQL, Alter Table
Posted in: SQL Scripts
18
select dp2.name as role, dp1.name as owner from sys.database_principals as dp1 inner join sys.database_principals as dp2 on dp1.principal_id = dp2.own...

[Read the rest of this article...]

SQL Roles
07
GO to OUTLOOK 1) Navigate to File >> Options >> Advanced >> scroll down to the send/receive heading >> click on the send/rec...

[Read the rest of this article...]

23
String = "MyWord,AnotherWord,TheEnd" String = Regex.Replace(String, "(?<=,)(?!\\s)", " "); Value of the string is now . . . . . String = "MyW...

[Read the rest of this article...]

Regex
Posted in: C Sharp - C#
Page 12 of 32First   Previous   7  8  9  10  11  [12]  13  14  15  16  Next   Last