Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
friends i am creating new id for every book entry...so i want to show the book id to client in message box...how to do?
thank you....
Posted
Comments
Sinisa Hajnal 11-Aug-15 2:21am    
What have you tried? How are you creating IDs? What storage are you using? How are you writing into your storage?
User-11630313 11-Aug-15 2:37am    
i need to show id to client...and the id was created in specific format using date...postgresql
Arasappan 11-Aug-15 2:39am    
string v=lblbookid.Text;
msg.ShowAlert("the book id + v+ your selected");
Sinisa Hajnal 11-Aug-15 6:09am    
Check this link:
http://www.aspsnippets.com/Articles/Show-Alert-Message-in-ASPNet-from-Server-Side-using-C-and-VBNet.aspx

1 solution

string v=lblbookid.Text;
msg.ShowAlert("The book id is + v + your selected");

the above one is u have to write class

instead use this

C#
Response.Write("<script > alert('"the book id is + v + your selected"')</script>");
 
Share this answer
 
v3
Comments
Sinisa Hajnal 11-Aug-15 6:08am    
And what is "msg" object? How does this ShowAlert work? How is the original poster to do anything with this? My vote of 1.
Arasappan 12-Aug-15 0:30am    
Response.Write("<script > alert('"yhe book id is + v + your selected"')</script>");

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900