Vatsal Desai

Vatsal Desai

  • NA
  • 51
  • 10.9k

store array into sql table.

Feb 26 2015 12:56 AM
i want to store string into my sql table name:Sentence and my code is:
 
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e, GridViewRowEventArgs e1)      
{
if (e.CommandName == "click")
{
int _myColumnIndex1 = 0;
string text = e1.Row.Cells[_myColumnIndex1].Text;
String[] sentences = Regex.Split(text, @"(?<=[.!?])\s+(?=\p{Lt})");
}
}

Answers (1)