Hi,
In C# we have a Random class. This class has a member fucntion [I]next()[/I], this will provide a random int data which is unique..
Random ranobj= new Random();
taskid=ranobj.n ext();
User Profile
Collapse
-
Hi Trivedi,
If u didnt understand please Get back to me.
Regards,
Antony NadanLeave a comment:
-
Hi Toshi Trivedi,
I know what you are trying to do. Even i was wondering when i was a fresher. Use sdf Local database,this can be added to your project file by just a right click and add new item .Define the table you want in your application in the sdf file. And while moving to another system, make sure u copy the entire bin folder, coz the exe uses the dll which are present in bin folder. Hope this ll work.
Regards,...Leave a comment:
-
hi mandeep,
I want to know what sort of technology are you using?.
What I meant is, Are you using ADO.net or a tradition way of SQL statement to fetch the data from the database?
Regards,
Antony NadanLeave a comment:
-
If you have empid as the primary key and if you are updating based on the empid ,, u should not get any sort of error, even if you leave the textbox2 or textbox3 empty.......Leave a comment:
No activity results to display
Show More
Leave a comment: