Skip to content

Commit 40a67d9

Browse files
committed
Updated Documentation
1 parent 44e90e3 commit 40a67d9

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.vs/C-Sharf Classes/v15/.suo

6 KB
Binary file not shown.
0 Bytes
Binary file not shown.

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,20 @@ private void txtUsername_KeyPress(object sender, KeyPressEventArgs e)
186186
## Config Class
187187

188188
* Database Information (connection string)
189-
* Upload Directories
189+
190+
```c#
191+
/*
192+
* Database Information
193+
*/
194+
public static string dbname = "dbinformation";
195+
public static string dbuser = "root";
196+
public static string dbpassword = "";
197+
```
198+
199+
* Upload Directories & Validations
200+
201+
```c#
202+
public static string upload_path = @"c:\C-Sharf Classes\";
203+
public static string allowedImage = "Image Files|*.jpg;*.jpeg;*.png";
204+
public static string allowedFile = "Excel Files(.xls ,.xlsx)| *.xls ;*.xlsx|PDF Files(.pdf)|*.pdf|Text Files(*.txt)|*.txt|Word Files(.docx ,.doc)|*.docx;*.doc";
205+
```

0 commit comments

Comments
 (0)