-
Hello,
We can pass the parameters to stored procedure using code as below,
SqlCommand sqlCommand = new SqlCommand("Stroed Procedure Name", sqlConnection);
sqlCommand.CommandType = System.Data.CommandType.StoredProcedure;
sqlCommand.Parameters.Add(sqlParameter);
-
Hello,
How you are getting the values from database using select statement or stored procedure? Depends on using the code you have to change in button click event, pass the date A and date B values and query data from database.
-
Hello Welcome to the Forums,
Can you check once ‘href' is pointing to which location? Is it that location is accessible or not? Whichever specified the ‘href' value should be available your template.xsn otherwise it will give error.
Checking ‘href' location: Open your .xml file in any editor mode.
-
Hello,
Changing one form to another means you have to change the url of ‘href' value in your form. No need to change any name space for this form.
-
Hello,
If your web service connection is secondary you will not get the repeating node to insert new row. If you want to add new nodes then we have can do this from code. Otherwise you have to take the web service connection as main.
While taking the connection it will try to execute first time. You will get the repeating node property when you ...
-
Hello,
If you want to increase the repeating table number when you change the drop down value then you have to write the code in drop down change event.
Where do you want to set incremented repeating number value? For the last repeating node?
Can you give more details on why do you want to increase the repeating table value for changing of ...
-
Hello,
Can you try below the code once
WebServiceAdapter2 test = thisXDocument. DataAdapters["DeleteForecast"];
test.Query();
test.Timeout = 200;
-
Hello,
You have to check ‘newDataFields' node and ‘existingDataFields' node structure is same or not? In these you might have different values but replacing with new child node is should be equal to old child node structure. You have to verify this replacing new child is under the ‘existingDataFields.parentNode' node only. If new ...
-
Hello,
First check the below code once,
try
{
Startday= XDocument.DOM.selectSingleNode("/my:Try_here/my:Leave_table/my:From/@my:Day")
}
catch(Exception ex)
{
Dim str = ex.Message
}
Using above code you will get the ‘Day' node or not.
-
Hello Welcome to the Forums,
Populating dynamically values for drop down you have to add/modify the values for the external data source using code.
For drop down, list box entries should be point to ‘choices' node then you will get all the choices value in your drop down.