Click here to Skip to main content
15,892,161 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: bulletedlist control Pin
n_gchaitra3-Sep-07 2:51
n_gchaitra3-Sep-07 2:51 
AnswerRe: bulletedlist control Pin
mihirhp5-Sep-07 18:25
mihirhp5-Sep-07 18:25 
Questionhow can i create .CHM files using .Net Pin
koolprasad200331-Aug-07 20:01
professionalkoolprasad200331-Aug-07 20:01 
AnswerRe: how can i create .CHM files using .Net Pin
Michael Sync31-Aug-07 21:03
Michael Sync31-Aug-07 21:03 
AnswerRe: how can i create .CHM files using .Net Pin
Vasudevan Deepak Kumar1-Sep-07 2:18
Vasudevan Deepak Kumar1-Sep-07 2:18 
QuestionEvent handling in Asp.net(C#) Pin
chnikhil31-Aug-07 19:52
chnikhil31-Aug-07 19:52 
AnswerRe: Event handling in Asp.net(C#) Pin
Vasudevan Deepak Kumar1-Sep-07 2:19
Vasudevan Deepak Kumar1-Sep-07 2:19 
Questionhow to generate sequential number of certain format?? Pin
biswa4731-Aug-07 19:46
biswa4731-Aug-07 19:46 
i have a table in sqlserver2005 named emp.

where the coloumns of the emp table are as follows.
empid char(3),
empname varchar(20),
empaddrs varchar(20),
empDOB dateandtime,
emp_no varchar(10)


i want to genertae emp_no as autogenertaed sequencitial number.
where the format of the auto genertaed number for emp_no will be - "id-yyyy-nnnn"


where 1st 2 places are the no of his emp_id i.e 01 or 02 like that
2nd four palces are the year of DOB i.e 2001,or 20005 like this
next four places are the numbers i.e 0001 ,0002 like this(it should be sequential number).

example of auto generated number are-0120010001,0219990002, 0320000003.and so on..

how will i generate this type of sequential no in asp .net (backend vb.net.)
when ever i save a record for a particular employee after giving the data in the front end of their corresponding textboxes, the emp_no should be generated in the database and stored in the emp_no coloumn of emp table.



(i know only how to generate auto num.by setting its identity to true.but dont know what to write in the formula filed so that i can genrate the above type of auto generated number)

thanks in advance

GeneralRe: how to generate sequential number of certain format?? Pin
mihirhp31-Aug-07 20:18
mihirhp31-Aug-07 20:18 
QuestionRe: how to generate sequential number of certain format?? Pin
biswa4731-Aug-07 23:40
biswa4731-Aug-07 23:40 
Questionprblem on checkboxlist Pin
biswa4731-Aug-07 19:45
biswa4731-Aug-07 19:45 
AnswerRe: prblem on checkboxlist Pin
mihirhp31-Aug-07 21:00
mihirhp31-Aug-07 21:00 
AnswerRe: prblem on checkboxlist Pin
Imran Khan Pathan31-Aug-07 21:04
Imran Khan Pathan31-Aug-07 21:04 
QuestionHow to run an application with windowAuthentication connectionString from IIS? Pin
Kuricheti31-Aug-07 19:39
Kuricheti31-Aug-07 19:39 
AnswerRe: How to run an application with windowAuthentication connectionString from IIS? Pin
Michael Sync31-Aug-07 21:00
Michael Sync31-Aug-07 21:00 
QuestionRe: How to run an application with windowAuthentication connectionString from IIS? [modified] Pin
Kuricheti2-Sep-07 19:38
Kuricheti2-Sep-07 19:38 
AnswerRe: How to run an application with windowAuthentication connectionString from IIS? Pin
Michael Sync2-Sep-07 20:16
Michael Sync2-Sep-07 20:16 
QuestionRe: How to run an application with windowAuthentication connectionString from IIS? Pin
Kuricheti2-Sep-07 20:36
Kuricheti2-Sep-07 20:36 
AnswerRe: How to run an application with windowAuthentication connectionString from IIS? Pin
Michael Sync2-Sep-07 23:13
Michael Sync2-Sep-07 23:13 
QuestionGetting Data From database using webservices Pin
dhulipudi31-Aug-07 17:18
dhulipudi31-Aug-07 17:18 
AnswerRe: Getting Data From database using webservices Pin
N a v a n e e t h31-Aug-07 18:51
N a v a n e e t h31-Aug-07 18:51 
GeneralRe: Getting Data From database using webservices Pin
dhulipudi31-Aug-07 19:13
dhulipudi31-Aug-07 19:13 
GeneralRe: Getting Data From database using webservices Pin
N a v a n e e t h31-Aug-07 19:26
N a v a n e e t h31-Aug-07 19:26 
GeneralRe: Getting Data From database using webservices Pin
dhulipudi31-Aug-07 19:44
dhulipudi31-Aug-07 19:44 
QuestionConnectionstring trouble Pin
kumswa31-Aug-07 14:34
kumswa31-Aug-07 14:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.