Linerar No Generation

Posted by Raja_89 under ASP.NET on 2/7/2013 | Points: 10 | Views : 640 | Status : [Member] | Replies : 2
Hai


Just guide me to generate an alphanumeric digits in the series std1000 ,std1001..etc in ASP.Net C#.

Regards




Responses

Posted by: Satyapriyanayak on: 2/8/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace alphanumeric
{
public partial class _Default : System.Web.UI.Page
{
string s1 = "std";

protected void Button1_Click(object sender, EventArgs e)
{
for (int i = 1000; i <= 10000; i++)
{
ListBox1.Items.Add(s1 + i);
}
}
}
}


If this post helps you mark it as answer
Thanks

Raja_89, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Satyapriyanayak on: 2/8/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
If this post helps you mark it as answer

Thanks

If this post helps you mark it as answer
Thanks

Raja_89, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response