Skip to content

Commit bb6b735

Browse files
authored
Update README.md
1 parent 183a2f4 commit bb6b735

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,14 @@ AnDatabase is a Database that provides a simple way to manage data in simple des
4747
```
4848
3. Creating Table Inside mainDatabase
4949
```java
50-
Table loginFormTable = new Table();
51-
loginFormTable.createTable("TableName",mainDatabase);
50+
String[] colName = new String[]{"name","email","password"};
51+
Table loginFormTable = new Table("TableName",mainDatabase,colName);
5252
```
5353

54-
4. Add Columns Inside Table
54+
4. Ok That's It You Have Good To Go With AnDatabase And For Adding Data To Table Or Column Use
5555
```java
56-
String[] colName = new String[]{"id", "name","email","password"};
57-
loginFormTable.setColumns(colName);
58-
```
59-
60-
5. Ok That's It You Have Good To Go With AnDatabase And For Adding Data To Table Or Column Use
61-
```java
62-
String[] rowData = new String[]{"1","UserName","UserEmail@Example.com"};
63-
studentTB.addRow(rowData);
56+
String[] rowData = new String[]{"UserName","UserEmail@Example.com","12345"};
57+
studentTB.insertRow(rowData);
6458
```
6559

6660
# >>> Security Example :

0 commit comments

Comments
 (0)