I am using grid view to fetch data from two tables.
It has got name, quantity, required quantity and lot number as few columns. Each name has got few different lot numbers and so the same name appears more than once with different lot numbers.
Now I would like to remove the required quantity from existing quantity. Need to re-arrange the old lot number first and then go for new one.
can someone please suggest me how to do it?
Related
I want to combine 1 and 2, but I don't know how.
I created a model like this.
①CalendarMaster【field→Index,Date,CalenderHoliday,CompanyHoliday】
②AttendanceMaster【field→Index,EmployeeId,Date,GoingTime,LeavingTime】
I want to combine the date of the CalendarMaster and the date of the AttendanceMaster as a key.
I want to know the type of model and where to write the SQL query script.
If you join the tables into one,
I want to display [Date,CalenderHoliday,CompanyHoliday,GoingTime,LeavingTime] in one table.
I looked at various sites and tried relations, but it didn't work, so please help someone.
I have been worried for another week.
Waiting for advice.
We have a website which is running on DNN 7.1 with SQL server. We implemented full text search to show search results. We need to search several tables and show the results to the user. Right now the implementation is user enters search word(s) and clicks search, the code behind creates several threads to search different tables, and merge the data. Currently we are using contains predicate, issue with this is, there is no ranking and sometimes after the merge the results on the first page are not the best matches. I thought that I can use containstable and order the results by ranking but I read ranking doesn't have any meaning by itself, it merely tells which one best matches in the current resultset. But in my scenario I have multiple resultsets, how will I know which are best matches across multiple resultsets. Or am I going about this wrong way? What is a good way to handle this scenario? We need to improve the response time along with better results. Any help is greatly appreciated.
this is how we implemented full text searching across multiple tables:
1) create a new table to store the primary keys of the other tables in each column, another column to store the string concatenated values of all the search fields from each table, and another column to store the checksum value of the concatenated values.
2) implement the FTI on this new table, and create a job that regularly syncrhonizes/updates the concatenated search values only if the binary_checksum value is different
3) use the contains predicate on this new table and based on the results, join back to their corresponding tables based on the primary keys returned.
I am trying to modify an existing infopath form that contains repeating table container.User enters the details in the table and form is used by another program for processing.
The current requirement is for user should be able to copy data from somewhere and directly paste into table. The user may copy data containing multiple rows and paste it.This source could be anywhere and also the user can still enter data manually row by row so a data connection is not feasible.
But the data gets truncated with only first row getting entered in form as there is only one row present in the form. I found out this was the behavior after googling. Is there a work around for this. Like overwriting paste function using code?
Thanks for any help.
I cannot comment so I will have to leave this as an answer please do not down vote since I am trying to help you out.
Not sure this is possible but try to create a field that allows the user to enter a number of rows. That way they could take a look at the number of rows in their excel spreadsheet and see that it's 32 (or whatever number). Then you could take that number of rows and have the form create a repeating table with the number of rows specified. That way they could paste in the number of rows they need to paste.
This would not be ideal of course but attempting something like this might be easier than overwriting a paste operation.
This probably has a simple answer, but I've been looking all over and can't find anything to suit my needs.
I've been using gridviews to display data, but new customer requirements call for the user to be able to select individual columns, rows, or cells. Does anyone know of a good option?
Thanks.
EDIT:
Essentially, I'm displaying several rows of data, each row comprised of multiple columns. With standard gridviews you can't really select all the data in one column without selecting data from the other columns. I need a way for the user to select one column worth of data so that they can copy the data out.
If you're looking for commercial solution, check out Infragistics NetAdvantage for ASP.NET. Example of grid in action: http://www.infragistics.com/products/aspnet/sample/data-grid/selection-client-events
I have to give a functionality on one of my pages is like:
I have data which represents data of a row from a table, and table has many columns.
This data has to be edited, and sent back to the server.
I am showing data in a datagrid, which obviously doesnt look good as we always have one row and that too a large row, so user has to use scroll to look for some values.
I want suggestions for this, like what should i use to make it look better and more user friendly.
I could have hard coded things but considering, if tomorrow table schema or xml respnse change it will break.
Any suggestions will be nice.
If I have clearly understood your problem, you have too much information in a row and you would like too be able to see all of your row data in the meantime.
How about creating dynamically, on a row double click by example, a form popup that would display vertically your columns data ?