Click here to Skip to main content
15,898,134 members

Comments by FIROZ KHANIT (Top 16 by date)

FIROZ KHANIT 3-Feb-14 8:17am View    
Dear Sir
thanks for your Reply but how to input serial key.there is no option given for inserting serial key.plz help me
thanks
FIROZ KHANIT 29-Jan-14 13:17pm View    
what you say i can't understand
FIROZ KHANIT 29-Jan-14 3:12am View    
private void RunScript(string Db)
{
string sqlConnectionString = "Data Source=.;Integrated Security=True;Initial Catalog=" + Db + ";";
using (SqlConnection connection = new SqlConnection(sqlConnectionString))
using (SqlCommand command = connection.CreateCommand())
{
string script = File.ReadAllText("D:\\allgiit.sql");
command.CommandText = script.Replace("GO","");
connection.Open();
int affectedRows = command.ExecuteNonQuery();
}
table are Store in database but in stored procedure its gave error

'CREATE/ALTER PROCEDURE' must be the first statement in a query batch'.
FIROZ KHANIT 17-Sep-12 5:23am View    
suppose there are two dropdown list from one dropdownlist i select jan and second dropdown list select march, then theses two value insert into Gridview One lable (gridview label name is "month") like jan -march
FIROZ KHANIT 17-Sep-12 5:23am View    
suppose there are two dropdown list from one dropdownlist i select jan and second dropdown list select march, then theses two value insert into Gridview One lable (gridview label name is "month") like jan -march