Installing SMS Starter Kit

Apr 8, 2008 at 11:52 AM
Has anyone insalled the kit? I need help on how to setup the database bit.
Oct 31, 2008 at 5:30 AM
do you have the "bulksms" database. If anyone have, please do send me a copy to my email vedhamanikandanm@gmail.com. thanks in advance.
May 8, 2010 at 12:51 PM

Hey,

I created my database schema using the Linq.

You just need to add some startup code and call the CreateDatabase method as below: 

         protected void Application_Start(object sender, EventArgs e)
        {
            try
            {
                var dataContext = bulksms.Bulksms.CreateDataContext();
                if (!dataContext.DatabaseExists())
                {
                    dataContext.CreateDatabase();
                }
            }
            catch (Exception ex)
            {
                
            }
        }
<font size="2">

 

</font>